News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE0720 MEMS sensor

Started by sonic, July 16, 2018, 03:11:27 PM

Previous topic - Next topic

sonic

Hello,

I am wondering how can I use MEMS sensor (ST Microelectronics LSM303DTR)? Which is not installed, But We can install it in available space.

Is there any reference design or some documents about it that I can use? I am using TE0703-05 Carrier card, and Vivado 2017.4

Appreciate the help!

Best Regards

JH

Hi,
sorr,y we haven't a reference design for MEMs sensor available.

Only our default Reference Design for basic periphery:

br
John

sonic

Yeah, I looked at those linked but wasn't found any reference design in any vivado versions.

Can you please give me some direction, how can I get sensor information in SDK?

Thanks!

JH

Hi,
maybe it's an misunderstanding.
Quotesorry, we haven't a reference design for MEMs sensor available.
So this means, there is no example for MEMs sensor available at the moment.

But it's I2C connection only. And it seems petalinux also support some drivers for MEMs:

So use default reference design from the 2018.2 project and generate all file by yourself.
I this is running you can check petalinux config menues for correct drivers and maybe add this to device tree.

br
John


sonic

Sorry, I forgot to mention, I am not using peta-linux, using it as the bare-metal application.

JH

Hi,
so you must use I2C driver from Xilinx sdk and write your one code.
Maybe this helps:
Sorry, that's all what I can help at the moment.brJohn

sonic

Thanks, That information helps!

Appreciate it!