Page 1 of 1

RMT UART using New "driver/rmt_tx.h" and "driver/rmt_rx.h" driver

Posted: Mon Mar 20, 2023 12:29 pm
by Sachin.Sanghani
Hi,

I am using the ESP32S3 with latest IDF version( 5.0 ). I found that in the latest IDF version RMT driver got updated.

I made code change and I was able to generate UART frame using new RMT driver. But when I check the waveform on the analyzer, I found the default status of the GPIO is LOW. I want to change the default status of the GPIO to be HIGH.
Any suggestion/Thoughts will be helpful.
Thanks.

Re: RMT UART using New "driver/rmt_tx.h" and "driver/rmt_rx.h" driver

Posted: Tue Mar 21, 2023 1:44 am
by MicroController
Try setting the invert_out flag in rmt_tx_channel_config_t (and then also invert your encoding, of course).

Re: RMT UART using New "driver/rmt_tx.h" and "driver/rmt_rx.h" driver

Posted: Tue Mar 21, 2023 11:33 am
by Sachin.Sanghani
MicroController wrote: Try setting the invert_out flag in rmt_tx_channel_config_t (and then also invert your encoding, of course).
Thanks for the replay.
This is what I was looking for.