docs(rmt): add a note about binding channels to the same GPIO

Added a note about RX Channel and TX Channel initialization order when
bound RX and TX to the same gpio.

Closes https://github.com/espressif/esp-idf/issues/11768
This commit is contained in:
Chen Jichang
2023-06-30 16:54:25 +08:00
committed by chenjichang
parent 8b1efb68fd
commit d2dcef277c
2 changed files with 8 additions and 0 deletions

View File

@@ -141,6 +141,10 @@ Once the :cpp:type:`rmt_rx_channel_config_t` structure is populated with mandato
};
ESP_ERROR_CHECK(rmt_new_rx_channel(&rx_chan_config, &rx_chan));
.. note::
Due to a software limitation in the GPIO driver, when both TX and RX channels are bound to the same GPIO, ensure the RX Channel is initialized before the TX Channel. If the TX Channel was set up first, then during the RX Channel setup, the previous RMT TX Channel signal will be overridden by the GPIO control signal.
Uninstall RMT Channel
~~~~~~~~~~~~~~~~~~~~~