[riot-notifications] [RIOT-OS/RIOT] cc2538_rf: remove RX Busy detection in request_set_trx_state (#16821)

José Alamos notifications at github.com
Wed Sep 29 11:00:35 CEST 2021


@jia200x commented on this pull request.



> @@ -226,8 +255,11 @@ static int _read(ieee802154_dev_t *dev, void *buf, size_t size, ieee802154_rx_in
     }
 
 end:
-    /* Enable RX Chain */
-    RFCORE_XREG_FRMCTRL0 &= ~CC2538_FRMCTRL0_RX_MODE_DIS;
+    /* Enable RX Chain only if the state is still RX_ON */
+    if (cc2538_state == CC2538_STATE_READY
+            || cc2538_state == CC2538_STATE_TX_ACK) {

I rewrote this logic to be more specific 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16821#discussion_r718303045
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210929/ae20dd56/attachment.htm>


More information about the notifications mailing list