I'm trying to run the beacon demo program 3.40.6 in Keil 5
Everything seems to work ok - compiles, can enter debug mode, and then it can run.
However, my sniffer shows that it then only sends 20 messages (which are received ok) and them it stops. No more messages are received and I have to unplug the board to get control back. I guess this means its going to sleep and never waking up?
Any idea how I can check whats going on? I havn't altered the code in any way. Is there a setting that says send 20 messages and then stop?
Device:
Hi DrNick1
No the default ref design does not stop advertising. Is the device advertising at all, have you tried a ordinary phone or any other ble device to see if the device is actually advertising?
Which dk you are using ? If your dk is a pro or a expert you can use smart snippets to see if your device is active or not. If you are using the basic dk you can see where the device halts using the debugger.
Thanks MT_dialog
Using the smart snippets power profiler I can see that it sends out 20 messages and then stops. These 20 messages are received ok.
I started again with a fresh download of the 3.40.6 in a separate directory and now it sends out 48 messages before stopping (verified by the power profiler).
I'm using the expert dk.
Any more ideas?
Hi DrNick1,
Please try to go to the da14580_config and undefine the CFG_CALIBRATED_AT_FAB,
then go right below and define this CFG_USE_DEFAULT_XTAL16M_TRIM_VALUE_IF_NOT_CALIBRATED.
Thanks MT_dialog
Further to this, 3.40.2 works fine, transmits continuously!