IEEE 802.15.4 Transceiver TX/RX

JMonaghan_OPEX
Posts: 3
Joined: Tue Jan 14, 2025 6:33 pm

IEEE 802.15.4 Transceiver TX/RX

Postby JMonaghan_OPEX » Fri Jan 24, 2025 4:38 pm

My ESP32 code calls esp_ieee802154_receive() and esp_ieee802154_set_rx_when_idle() prior to while(1) in main. In the while loop, esp_ieee802154_transmit() is called when a message needs to be sent to another device. That other device sends a response 802.15.4 message about 1 millisecond later and the ESP32 is not receiving the message. If the other device sends the response 802.15.4 message about 4 milliseconds later, the ESP32 does receive the message. The esp_ieee802154_receive_done() function is what I am using for verifying that a message was received.

Is there a way for the ESP32 to switch from tx mode to rx mode quickly enough to receive messages that arrive less than 1ms after a message is transmitted? If so what steps are needed to do this?

Who is online

Users browsing this forum: No registered users and 109 guests