Part Number: CC2540
I made a custom board with cc2540. This board has several peripherals and external 32khz + 32Mhz crystals.
I modified the SimpleBLEPeripheral examples from the BLE 1.4.1.
I added my code into performPeriodicTask() function which is called every 500ms.
In this function, I read some adc value.
But sometimes I can't find this device anymore with mobile app such as BLEScanner.
So I added some code to print adc value in this function but the board stops irregularly printing adc value and gets undiscoverable.
I can't find the reason why it stops. Does anybody know the reason or a solution?
Thanks,
Young-Geun Lim