Hello
If I an exemple like ble_thread_dyn_mtd_coap_cli and that I configure the mode in MULTIPROTOCOL_802154_MODE_FAST_SWITCHING_TIMES: do you have any idea how long it takes to switch from BLE to 802.15.4 ?
Thank you
Hello
If I an exemple like ble_thread_dyn_mtd_coap_cli and that I configure the mode in MULTIPROTOCOL_802154_MODE_FAST_SWITCHING_TIMES: do you have any idea how long it takes to switch from BLE to 802.15.4 ?
Thank you
Hi,
In MULTIPROTOCOL_802154_MODE_FAST_SWITCHING_TIMES there is a busy loop that tries to start 802.15.4 timeslot as soon as possible. If the scheduler cannot provide a slot for 802.15.4 within NRF_RAAL_TIMESLOT_DEFAULT_TIMEOUT (defined in multiprotocol_802154_config.c as 2500 us) the scheduler notifies 802.15.4 about the problem and 802.15.4 will try again in a busy loop to schedule timeslot no later than 2500us. This busy loop consumes up to 100% of CPU for hundres of microseconds.
While in MULTIPROTOCOL_802154_MODE_LOW_CPU_UTILIZATION 802.15.4 schedules its operations with relaxed requirements, causing longer switching between BLE and 802.15.4, but it does not require this busy loop.
Best regards,
Marjeris