BLE + ESB concurrent issue with no active BLE connection

Dear Nordic Engineer,

Hello!I am planning to develop a 2.4G, BLE and USB mouse. Both the dongle and the mouse device will use the NRF52840. I want to use BLE and ESB simultaneously. After searching the official posts, I found this tutorial (https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/running-micro-esb-concurrently-with-ble)   , and after integrating it into my project, it can run normally. The interaction logic between the two devices is as follows: when the mouse is in 2.4G working mode, the dongle sends mouse data to the computer at a fixed frequency. At this time, the dongle uses 2.4G to request the mouse device for data. After receiving the request, the mouse device collects sensor data and replies to the dongle. After receiving the reply, the dongle sends the mouse data to the computer via USB.

However, I encountered a problem. The ESB cannot work stably. At the beginning of the mouse's operation, it can normally receive requests from the dongle and reply to the dongle. But after a while, it cannot trigger void esb_timeslot_data_handler(void * p_data, uint16_t length) to obtain data. Even though my dongle is constantly sending request data to the mouse, the mouse just cannot receive the data. However, if I turn off esb_timeslot_send_str on the mouse side, that is, the mouse does not reply to the dongle, then the mouse can continuously receive data normally. Could you please tell me what's going on?

I have looked up some similar problems that others have encountered (https://devzone.nordicsemi.com/f/nordic-q-a/40227/ble-esb-concurrent-issue-with-no-active-ble-connection). Please help me and give me some solutions. Thank you very much!

Parents Reply Children
No Data
Related