How to use radio in MPSL timeslots

Hello,

Using NCS 1.6.1, I would like to use the radio from within a timeslot as suggested in the documentation. However, the MPSL/timeslot sample is quite sparce and only shows how to setup a timeslot, not how to use the radio from within it and I have failed in my attempts.

Is it safe to call for instance nrf_802154_init() and nrf_802154_transmit_raw() when the MPSL_TIMESLOT_SIGNAL_START arrives and until the timeslot ends? Could you please share a code/snippet showing how to properly use 802.15.4 communication from within a timeslot?

Regards, devtester

Related