Other Parts Discussed in Thread: CC3220SF, CC3200
Hi,
I'm using a CC3220SF-LAUNCHXL to interact with a device over I2C. The flow is the following: The CC3220SF (master) sends a message to the slave (our device) and it answers to the master with another message.
To write to the slave I use the I2C_transfer function and it works fine (I used a I2C sniffer to confirm). The problem is that I don't success to receive the answer from our device using the I2C_transer (Because the device sends the message as master and then the CC3220 must work as slave).
So I have the following questions:
- Is there any full sample code showing how to configure the CC3220 to be I2C Slave?
- I connect the I2C slave (our device) to the CC3220 to J15 (SCL) and J16 (SDA). Is it ok also when C3220 is the slave?
Thanks
Ariel