Content originally posted in LPCWare by Marius on Wed May 18 15:12:30 MST 2011
Quote: cmcquaid
Marius,
I have tried to implement I2C monitor mode on an LPC1768, 1769 and 1114. In each case I see the same behavior. My setup has the microcontroller attached to an I2C bus on which there is an I2C protocol emulator (Totalphase Aardvark) and an eeprom. When the emulator writes to the eeprom, the data is captured correctly but when reading from the eeprom, the data sent by the slave is not seen correctly although interrupts occur in the proper places.
A colleague has also made an independent attempt to implement a monitor, but with the same results. I have also tried Leji's code above to no avail.
I can supply you with code to monitor the bus and write to the uart, so long as you don't care about slave reads.
I would be extremely interested in hearing of a successful monitor implementation.
Thx. for the reply. I implemented a I2C bus sniffer and I have the same issue : read access data phase is corrupt. I was wondering if my code is wrong but this confirms LPC1343 I2C monitor function doesn't work as expected.
I asked the NXP FAE but I have got no answer.
Has anyone tried the I2C monitor mode on other LPCs successfully?