Hello,
I cannot get the i2c demos in SDK 2.5.0 working for the LPC8N04 (OM40002) demo board.
I have confirmed that I can successfully flash other applications and modify both the polling and interrupt demos with printf statements that indicate they fail to establish an i2c connection via pins 1, 3 and 7 (GND) on P4. I have also tested with 2, 4 and 8 on P3.
Are these demos working for NXP engineers?
Here is my set up:
Any ideas? See attached for what I understand to be P4 1, 3, 5 and 7, circled in red with pin headers soldered on. I have tried this across 4x different OM40002 boards, no luck.
解決済! 解決策の投稿を見る。
Did you add 1k pull-ups to the SDA and SCL lines? There's no mention of this in the example code but pull-ups are usually necessary for I2C.
Hi,
Like Paul mentioned, there's some issue in the LPC8N04DEV board design, there's no external pull-up on the I2C pins.
Have a nice day!
Regards
Sol
Did you add 1k pull-ups to the SDA and SCL lines? There's no mention of this in the example code but pull-ups are usually necessary for I2C.