nrf802154/hal: fix unwanted emissions at the end of ACK frame

This commit turns off the transceiver immediately after sending an ACK
frame in order to avoid unwanted emissions (see ERRATA ID 204).
When the radio stays in TX_ON without an explicit transition, the radio
keeps sending a spurious signal for some milliseconds.
This commit is contained in:
Jose Alamos 2021-01-14 11:06:11 +01:00
parent 3c56cdf0c0
commit 698df63cfb
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9

View File

@ -548,6 +548,11 @@ void isr_radio(void)
break;
case STATE_ACK:
_state = STATE_IDLE;
/* We disable the radio to avoid unwanted emmissions (see ERRATA
* ID 204, "Switching between TX and RX causes unwanted emissions")
*/
_disable();
DEBUG("[nrf52840] TX ACK done.")
_set_ifs_timer(false);
break;