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
Yes, you are right. And i can't answer your questions :D
Actually, and no offense meant, I was replying to kazola, who has been a great help and shows lots of patience.
Hi, I've been outside for a few weeks and I've lost the meaning of the thread. Why we do not all verify this one and starts a new one with the remaining doubts?
I think the thread title does no longer represents its content.
Thanks!
Please click the Verify Answer button on a post if it answers your question! :)
By the time i made the program, its not that difficult as i thought. The only thing you need is time.
:)
Nice to hear this. Verify the thread to keep the forum cleaner then. Bye!
I took the Heartrate example, i only had to change the heartrate.c:
Interrupt Timer3: Starting ADC and sending Notification, but not at the same cycle.
HAL_ISR_FUNCTION( Timer1ADCInterrupt, T3_VECTOR ) { if(Timer1ADCIntFlag==0){ ++NotifyHilf; Timer1ADCIntFlag=1; // 250Hz Abtastung und Filterung und Mittelwert Bildung adc_wert = HalAdcRead(HAL_ADC_CHANNEL_0,HAL_ADC_RESOLUTION_10); // bandpass_out=bandpass(adc_wert); // mittelwert_out=mittelwert_berechnen(abs(bandpass_out)); } else{ //heartRateMeasNotify();// if(PortHilf==1)// {P1=1;PortHilf=0;}// else// {P1=0;PortHilf=1;} Timer1ADCIntFlag=0; } if(NotifyHilf==100) {NotifyHilf=0; heartRateMeasNotify(); } }
Best friend is "Find in Files" CTRL+SHIFT+F
Hi Drave,
I am new to bluegiga BLE112, i am struggling to configure this module. when i went through bluegiga website I got some info about ble112 but I am unable to configure this module and i did nnot understand about BGscript.
Can you please give explanation about BGscript and how to configure and programe BLE112 module please
Thank you
Regards
Satya