Content originally posted in LPCWare by vikhyathk on Mon Oct 19 22:10:51 MST 2015
I am facing a problem with i2C transmission using LPC3250. I m using processor to interface FPGA with device id 0xA0. So the first data I put into '0x400a8000' (I2C2_TX) register is '0x1A0' and I see in the oscilloscope that start condition is generated and acknowledgement is present.
But Whenever I send a data byte later with LSB bit '1', the same data is being resent with LSB bit made '0'.
Example: If I put "11011001' into the register '0x400a8000' (I2C2_TX) Data found in scope is ["11011001" 'Ack bit' "11011000"'Ack bit']..
'Ack bit' is '0'.
Can anybody help me to solve the issue.