I2C Initialization check

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

I2C Initialization check

486 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bharathpoonja on Wed May 06 02:29:51 MST 2015
Hello,

I am using LPC 1778 I2C0 for communication with adc. I am facing some problems while communicating and not able to find out the exact part where the code is failing. Is there a way to check that the I2C initialization sequence is proper, so that i can proceed with i2c read and write operations. The initialization sequence i am following is according to the user manual for 1778.

Regards
Labels (1)
0 Kudos
1 Reply

472 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Wed May 06 07:12:37 MST 2015
Hi bharathpoonja,
Can you start from LPCopen example projects. Please see below link.
http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages

Are you using custom board? Can you double check pull-up resistors on i2c pins?

0 Kudos