7 posts / 0 new
Last post
sbourahla
Offline
Last seen:5 years 6 months ago
Expert
加入:2015-02-25 09:51
SmartTag Ref designs

Hello,

I try to make an application based on SmartTag example. I try to make it work on the DA14580 Basic Kit, but when I launch the debug, the application stay in loop or after a few seconds I can see the Bluetooth access point (and the LED stay green) but I can't connect to it with my smartphone application.

I verify with the ref designs, it will work with the Basic Kit, I just change the LED and BUTTON PIN.

Have you any idea about how i can fix it ?

BR,

RvA
Offline
Last seen:6 days 7 hours ago
Staff
加入:2014-02-07 14:10
Hi sbourahla,

Hi sbourahla,

So when the debugger is not running you can connect? Did you check if the smarttag example has the sleep modes disabled when you use the debugger?

Best regards,

RvA

sbourahla
Offline
Last seen:5 years 6 months ago
Expert
加入:2015-02-25 09:51
Hi RvA,

Hi RvA,

I disabled the CFG_EXT_SLEEP define in the da14580_config.h file but I have the same problem when I launch the debugger, i can't see the LED blinking for advertising and I am not able to connect over Bluetooth.

BR,

sbourahla

RvA
Offline
Last seen:6 days 7 hours ago
Staff
加入:2014-02-07 14:10
Hi sbourahla,

Hi sbourahla,

In the file da14580_config.h you should undefine both extended and deep sleep:

/*Sleep modes*/ #undef CFG_EXT_SLEEP #undef CFG_DEEP_SLEEP

Best regards, RvA

sbourahla
Offline
Last seen:5 years 6 months ago
Expert
加入:2015-02-25 09:51
Hi RvA,

Hi RvA,

Thank you for your help, I try this but it doesn't work. I see a flag "DEVELOPMENT_DEBUG ", do you think it's will be help ?

Best Regards,

sbourahla

RvA
Offline
Last seen:6 days 7 hours ago
Staff
加入:2014-02-07 14:10
Hi sbourahla,

Hisbourahla,

I just did a test with the Basic evaluation kit and the proximity project under SDK 3.0.8.0. making the #undef statements worked with that configuration. Can you give more details on your exact configuration?

Best regards, RvA

sbourahla
Offline
Last seen:5 years 6 months ago
Expert
加入:2015-02-25 09:51
Hi RvA,

Hi RvA,

Yes the example on the SDK work great in debug mode. But Only with the SmartTag Ref Design example I can't debug the application, I don't understand how to fix this issue. May be the SmartTag application use the SPI Memory for some reasons but in debug mode (UART mode jumper for this) it can't access to it due to the configuration ...

Best Regards,