Content originally posted in LPCWare by NXP_Paul on Wed Oct 29 07:08:16 MST 2014
The attached sequences are standard I2C communications, so these should not cause any issues.
What do you mean that your code is failing on simple WHO_AM_I tests? I am not sure I understand what you are trying to accomplish. I assume you are trying to read back a specific register, and receive a specific response, but please confirm.
What is the result returned by the I2C functions (is there a NACK, or other error conditions)?
Paul