Other Parts Discussed in Thread: CC2541, CC2540, CC2541DK-MINI, CC2541S
Hi,
I have been reading the available posts on CC2541 and I2C usage and although there is very useful information available on the forum related to this topic, there are a few points that I am still unsure about.
Let me first try to explain what I am aiming to achieve o give the bigger picture.
I would like to use a few CC2541 based development kits (mini or otherwise) and connect them to one another via the I2C bus as slaves. There will be another MCU ( a non-TI part on an independent standalone platform) that will also be connected to the same I2C bus as the only master. This master will poll the CC2541 slaves at regular intervals to query some information.
I would also like to connect to the CC2541 slaves for debugging and breakpointing purposes. As I understand, the debugging tool (CC Debugger) also uses the I2C bus on CC2541 since it does not have a USB port (unlike the CC2540 part). Ideally, I would like to be able to debug the slaves while the master polls them regularly but I think this will cause arbitration and collision problems on the I2C bus. Therefore, I will have to compromise and use the I2C bus EITHER for polling and information exchange between the CC2541 slaves and the master MCU OR for debugging a CC2541 slave devices. This compromise (thankfully) is not an issue in my application and I can live with it.
Based on the above scene, following are my questions:
1 - Does the CC2541 Mini development kit (i.e. CC2541DK-MINI) route the I2C pins to an accessible header at all so that I can interconnect multiple mini CC2541s via the I2C and the master MCU I mentioned above?
2 - Another alternative is to buy CC2541EMK and a few SmartRF05EB.boards to plug the CC2541 Evaluation Modules (CC2541EM) into. I presume I can use the CC Debugger in this set up still for debugging purposes. Does the SmartRF05EB provide easy access to the I2C pins of the CC2541 so that I can wire multiple slaves and a master together to share the same I2C bus?
3 - Given the objectives I have described above, which development platform do you think I should go for? Obviously the cheaper option is generally preferred but I will need to develop my own application and show that it is working as needed at the end of the day, which is priceless!
3 - Are there any potential limitation/problems with the I2C connectivity I am trying to achieve here? Do you think it is achievable or do you see potential problems with the set up I have in mind?
4 - What is the maximum speed I can push the I2C on a CC2541 device? Is 400 kbps easily achievable?
Your feedback will be greatly appreciated on the above.
Regards...

