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
  • Have you tried to to simply keep the BLE advertising continuously ? Simply set APP_ADV_TIMEOUT_IN_SECONDS = 0 and advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE; should allow the device to advertise in BLE without timeout.

    5 minutes timeout doesn't ring any bell for me. It could be smth else. Please make sure you check that the device reset or not. You can detect it simply by printing out something on UART when you starting up or blink LED.

    Please try to debug and find what exactly cause the timeslot to be skipped, check if it's just simply the NRF_EVT_RADIO_BLOCKED or NRF_EVT_RADIO_CANCELED or anything else.

Reply
  • Have you tried to to simply keep the BLE advertising continuously ? Simply set APP_ADV_TIMEOUT_IN_SECONDS = 0 and advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE; should allow the device to advertise in BLE without timeout.

    5 minutes timeout doesn't ring any bell for me. It could be smth else. Please make sure you check that the device reset or not. You can detect it simply by printing out something on UART when you starting up or blink LED.

    Please try to debug and find what exactly cause the timeslot to be skipped, check if it's just simply the NRF_EVT_RADIO_BLOCKED or NRF_EVT_RADIO_CANCELED or anything else.

Children
No Data
Related