LPC1769 - Working I2C Example.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1769 - Working I2C Example.

2,131 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pawelsz_1992 on Sat Mar 12 01:29:20 MST 2016
Hello.

I try use LM75 I2C Temperature sensor on LPC Xpresso 1769 board. I wanna read temperature and save to variable, bud i cant find working example. I tried to use I2C example from this: https://www.lpcware.com/content/nxpfile/mcb1700-sample-code-bundle-lpc1769-peripherals-using-lpcxpre... but program no built. Maybe somebodys have working example or idea how do this?
Labels (1)
0 Kudos
5 Replies

812 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos

812 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pawelsz_1992 on Sat Mar 19 15:51:41 MST 2016
Yes. I think problem is in my program. Maybe somebodys have working example for I2C where i can change device adress? Now i am trying to run example from therehttps://www.lpcware.com/content/nxpfile/mcb1700-sample-code-bundle-lpc1769-peripherals-using-lpcxpre..., but is problem whith built this. 
0 Kudos

812 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sat Mar 12 05:52:40 MST 2016

Quote: pawelsz_1992
I can built this, but this dont working correctly.



:quest:

So did you check your hardware? Did you scope your I2C lines? 
0 Kudos

812 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pawelsz_1992 on Sat Mar 12 02:52:08 MST 2016
Thank you.
Maybe is example for something another, when in main function i can change adress device. i found this: http://www.brc-electronics.nl/librarys/108-interfacing/i-c/lm75 but i cant find working includes for this project.  I can built this, but this dont working correctly.

0 Kudos

812 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sat Mar 12 01:49:16 MST 2016

Quote: pawelsz_1992
Hello.

I try use LM75 I2C Temperature sensor on LPC Xpresso 1769 board. I wanna read temperature and save to variable, bud i cant find working example.



Isn't the LPCOpen I2C example including LM75 code  :quest:
0 Kudos