Hello,
i bought the MiniDK for my Thesis. I have already programmed my Atmega8 and now i have to transfer the program to the CC2540. My problem is that i don't know how to start.
I have already read the guides and debugged the SimpleBLEPeripherial.
What i know is that during the initialization OSAL has to register my app as a task. After the initialization OSAL is waiting for events which trigger the tasks.
What i need is a procedure how to change the SimpleBLEPheripherial so that my program works.
If you give me an example for the following program i will surely understand what to do further.
The program is very simple.
For the KeyFob:
The ADC has to be started every 4ms (256Hz).
The converted values (10bit or larger) have to be sent with an baudrate of 57000 to the dongle, that all should be done continously without requests.
The dongle is installed properly as a serial port, so that the data can be processed by a software.
Keyfob and dongle should know each other so that by pressing a key a link should be established and the data should be sent
Thats all.
Thx
Andi