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
Hello Richard Soennichsen ,
Recommend you can have a look at the demo under LPCopen:
LPCOpen Software for LPC11XX | NXP
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------