LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

connect ls330dl to lpc2468 with i2c

hi all !

 

I want to connect to lsm330dl lpc2468 by i2c. datasheet for lsm330dl http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/DM00034579.pdf

lpc2468 has 3 i2c. how to choose the 0.1 or 2?

this my vi. where I could make a mistake?

thank you

 

 

0 Kudos
Message 1 of 5
(5,624 Views)

Hi Sergiv,

 

I think that most of your answers can be found in this post: How to implement an I2C Bus with Labview embedded

 

In that post, Kevin lets us know that our VIs are hardcoded to use port 0 for the lpc2468.  Can you test writing to port 0 and see if you are outputting a signal?

 

Also, if you want to learn more you check out this article:  Where Can I Get More Information on the LabVIEW ARM Module's I2C VIs?

 

I hope this helps.

 

Justin

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 2 of 5
(5,609 Views)
Thanks for your reply. I've seen you specify a theme, but the solution is not found, unfortunately. oscilloscope is not, so I can not see the signal at the output. Why use only 0 port? My scheme in the application. Thanks for your help.
0 Kudos
Message 3 of 5
(5,606 Views)

Hi Sergiv.  I don't know the exact reason that design decision was made.  Are you running into issues using port 0?

Justin Parker
National Instruments
Product Support Engineer
0 Kudos
Message 4 of 5
(5,594 Views)
Hi, Justin_P. Yes, I use port 0
0 Kudos
Message 5 of 5
(5,592 Views)