Other Parts Discussed in Thread: CC2540, CC2530
I'm currently designing a project using the CC2540 BLE system on a chip. I still have not received the mini dev kit from TI, but I have several question. First a little project overview. The project is going to use a Android based tablet which will transmit via BLE protocal (from USB provided with the mini DEV kit since standard Bluetooth will not communicate with BLE) files. The file being transmitted is a loader file used to load code in system.
1. What is the proceedure to send data from the slave device, which is the embedded device. I think I just write the data to the RFD pointer defined in the CC2540.h header file? I also heard that only 20 bytes of data can be transferred at at time, is this correct?
2. Is it possible to get all the files that come with the mini dev kit? I should get the kit sometime next week, but I'm not sure since our purchasing is really slow.
3. I'm currently using the IAR Embedded workbench to develop the code. I'm also having problems starting Timer 1. I have enabled all the correct masked and set time 1 to free running mode. Then I enable interrupts just before I get into the main. I also have setup the interrupt vector with the correct address 0x4B interrupt 9. I have looked at all the examples and I'm doing the same thing. I'm also running in simulator mode since my hardware is still not finished, so maybe the IAR tool does not support timer related aspects in the simulator mode.
Thanks for your help
Mike