Other Parts Discussed in Thread: CC1310, ENERGIA
Hello! Thank you in advance for your help
I've two CC1310 Launchpads and i would like to connect them via I2C.Therefore, one would act as Master and other as Slave.
I tried this idea in Energia but my code is not working. If you have time, look at the document that is attached to the end of this message. There I tried to explain better my idea.
Some questions and considerations:
a) I think that maybe my connection problem may be related to the central header block. Do you think this statement makes sense? If yes, which jumper i must pull off?
b)I tried this idea in CCS but I also failed. Is there any Master/Slave I2C example in ccs?
c) In fact, my ultimate goal would be to connect a CC1310 Launchpad to a Raspberry Pi (but I tought connecting two CC1310 boards would be easier to start ). The idea is to reproduce this example, but using the CC1310 as slave (instead of the Arduino);
d) There is a amazing code line in Raspbeery (i2cdetect -y 1) that allow us to see all the devices connected to the I2C Bus. Unfortunatelly, i can't find the CC1310 address (after i send my code to him)
This address is defined in the following line of my code:
Wire.begin(9); // Start the I2C Bus as Slave on address 9
Thank you again for all your help!
Best Regards,
Danilo,