We can know the state of radio by checking NRF_RADIO->state register value, but is there any way that we can be "informed of" the state transitions of this register instead of polling it?
I tried to use GPIOTE+PPI to get the radio events but there is no proper event that can be used to exactly identify whether it's currently in TX (TXEN) or Rx (RXEN) state, the best we can know is to get it from TXREADY, RXREADY, DISABLED events.
TXREADY means it has ramped up in TX mode and get ready fo TX, it could be idle for a while before transferring a packet. Same as RXREADY.
Is there better suggestion on this?
I also used the light_switch example project of zigbee and GPIOTE+PPI to check the radio status, most of the time the radio are not in the disabled state, is it correct?