AnsweredAssumed Answered

LPC11u68 I2C Command-Read

Question asked by Richard Soennichsen on Jul 4, 2019
Latest reply on Jul 7, 2019 by Alice_Yang

I am using the i2c_11u6x.c libray in IAR.  There is a cmd_read function there, to send one byte and read back n bytes from a slave.  I have a device that needs a two byte command sent before a repeated start and reading back n bytes.

 

I have been trying to incorporate the two byte command functionality into the library but, because of the way it is structured, I am having difficulties.  Has anyone modified this library or know of a way to implement this?

 

Thank you

 

Rich

Outcomes