This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unstable timeslot with esb and ble concurrently

Hi,

I've just got the example running with one DK as ble peripheral and ESB at the same time uing the timeslot API and one DK as only ESB receiver. I can communicate fine between all elements (ble master is a laptop). But if I just keep the timeslot DK running with BLE in advertising mode restarting each 10 seconds (blinking LED) and check the start and end of the timeslot for the ESB stuff with a GPIO toggle I can see sporadic (each 5 minutes) a crash of the timeslot (stays HIGH for 10 seconds). What could be the reason since nothing is sending or receiving either on ESB or BLE.

If I hit the pause button of GDB in eclipse I pause at

Thread #1 57005 (Suspended : Signal : SIGTRAP:Trace/breakpoint trap) 0x12402 0x12400

But then without a reset it returns to normal operation. Any idea?

Parents
  • When you set APP_ADV_TIMEOUT_IN_SECONDS = 0 you need to set advdata.flags = *_GENERAL_DISC_MODE; instead of *_LIMITED_DISC_MODE or you will receive invalid parameter as the LIMTED mode can't be use with infinite advertising.

    Please try to test with the esb timeslot ble example and send me the project if you can reproduce the issue with minimum modification from the example.

Reply
  • When you set APP_ADV_TIMEOUT_IN_SECONDS = 0 you need to set advdata.flags = *_GENERAL_DISC_MODE; instead of *_LIMITED_DISC_MODE or you will receive invalid parameter as the LIMTED mode can't be use with infinite advertising.

    Please try to test with the esb timeslot ble example and send me the project if you can reproduce the issue with minimum modification from the example.

Children
No Data
Related