I have some questions at the moment:
I am planning to use the IAR Embedded Workbench for 8051 with the TI CC2540 Microcontroller. Are there any other IDEs I can use for this? Also once the code is compiled and a HEX file generated using IAR can I use the TI SmartRF Flash Programmer?
For my actual question, at the moment, I am looking into how to interface with other device modules through SPI. The CC2540 acts as the SPI master and communicates to the other devices. The CC2540 is supposed to relay the information either via Bluetooth (smartphone) or USB (PC) and acts as a slave device.
When I was looking at the BLE Software Stack and Tools for sample codes, I noticed that the USB and Bluetooth slave functionalities are never used together. I have the CC2541 mini dev kit and would like to know if you can point me to sample codes that makes use of the interfaces I am planning to use.
Thanks!