Other Parts Discussed in Thread: CC2650, SYSCONFIG
Hi,
I have a setup of 2 CC1352-P2 boards which are connected by i2c (a total of four wires: Pin 21 for i2c SCL, Pin 5 for i2c SDA, and two extra: GND and 3.3v).
Following this thread: "RTOS/CC1352P: i2c slave mode" (and the code snippet in its related threads) I tried to create 2 CCS projects:
- First board acts as the master
- Second board acts as the slave
The master tries to send the slave (address 0x74) two bytes ['h', 'e'] and the slave upon receiving them sets its two LEDs (green and red).
Attached are the 2 CCS projects with the code I used.
Unfortunately it doesn't work (i.e. the slave never receives the 2 bytes message) and I'm not sure why, please advise.
Thanks,
Ofir