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.
RMT UART using New "driver/rmt_tx.h" and "driver/rmt_rx.h" driver
-
- Posts: 2
- Joined: Mon Mar 20, 2023 12:16 pm
RMT UART using New "driver/rmt_tx.h" and "driver/rmt_rx.h" driver
- Attachments
-
- In this Image I have send data 0xAA at 9600 baud rate with 1 start bit and 1 stop bit.
- Screenshot from 2023-03-20 17-58-19.png (13.58 KiB) Viewed 1707 times
-
- Posts: 1709
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: RMT UART using New "driver/rmt_tx.h" and "driver/rmt_rx.h" driver
Try setting the invert_out flag in rmt_tx_channel_config_t (and then also invert your encoding, of course).
-
- Posts: 2
- Joined: Mon Mar 20, 2023 12:16 pm
Re: RMT UART using New "driver/rmt_tx.h" and "driver/rmt_rx.h" driver
Thanks for the replay.MicroController wrote: Try setting the invert_out flag in rmt_tx_channel_config_t (and then also invert your encoding, of course).
This is what I was looking for.
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot], ignisuti, MicroController and 86 guests