This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MCB2900 I2C problem

Has anyone tried the I2C example bundled with the MCB2900 demo board? I'm trying it now and it keeps failing with "I2C0 WRITE FAIL" coming up on the LCD.

The file 'abstract.txt' in the code bundle that came with the board says that I2C is set up in loopback mode. The LPC29xx user manual doesn't say that I2C has a loopback mode so I assumed I had to manually solder I2C0 SCL and SDA to I2C1 with pullup resistors.

With or without these external connections between I2C0 and I2C1, I see nothing on the I2C0 output (P1.10 or P1.11) when a write is started.

Any help would be appreciated.

  • I just realised that the MCB2900 board I'm using seems to have the old LPC2919 rather than the LPC2919/01. There's no /01 marked on the LPC package so I assume it's the old version. According to the LPC29xx user manual (pg. 5), I2C isn't available on the LPC2919. D'oh.