5 posts / 0 new
Last post
DrNick1
Offline
Last seen:4 years 3 months ago
加入:2014-07-01 11:55
beacon demo stops

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:
MT_dialog
Offline
Last seen:2 weeks 2 days ago
工作人员
加入:2015-06-08 11:34
Hi DrNick1

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

DrNick1
Offline
Last seen:4 years 3 months ago
加入:2014-07-01 11:55
Using the smart snippets

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?

MT_dialog
Offline
Last seen:2 weeks 2 days ago
工作人员
加入:2015-06-08 11:34
Hi DrNick1,

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

DrNick1
Offline
Last seen:4 years 3 months ago
加入:2014-07-01 11:55
Further to this, 3.40.2 works

进一步,3.40.2工作很好,transmits continuously!

Topic locked