This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR6843: I2C Read/Write Example

Part Number: IWR6843
Other Parts Discussed in Thread: LM73

HI!

I need an example for reading and writing to the I2C using the I2C.h library.

I guess I'm supposed to put the address here (not sure what the I2C_Params do):

I2C_open(0xF42A5, 0);

And this is the actual communication?:

I2C_transfer(I2C_Handle handle, I2C_Transaction *transaction); // transferFxn?

Closing I2C with this?:

I2C_close(0xF42A5); // closeFxn

Can anyone write an example for writing and reading a byte from a I2C registry?

Thanks in advance