Search found 7 matches
- Mon Jul 05, 2021 1:33 pm
- Forum: Hardware
- Topic: UART rarely reads wrong data
- Replies: 5
- Views: 5293
Re: UART rarely reads wrong data
Problem fixed. Bluetooth Modem Sleep was the problem. Zero errors in several days, when I disabled it.
- Fri Jun 25, 2021 6:25 am
- Forum: Hardware
- Topic: UART rarely reads wrong data
- Replies: 5
- Views: 5293
Re: UART rarely reads wrong data
Hardware: ESP32 Rev3 ESP-IDF: git tag v4.2 The example code that im using is a mix of "bluetooth/nimble/bleprph" and "peripherals/uart/uart_echo_rs485", which is in attachment. You can change the pins in the IDF menuconfig. There are no logs in the example code, because im using my own JTAG-Logging....
- Mon Jun 14, 2021 9:30 am
- Forum: Hardware
- Topic: UART rarely reads wrong data
- Replies: 5
- Views: 5293
Re: UART rarely reads wrong data
That is only happening with WLAN or with Bluetooth. With WLAN there are 1 or 2 errors in a hour and with Bluetooth every 1-2 minutes.
If both WLAN and Bluetooth is turned off, it is running several days without any errors.
Why? And can I prevent this errors, with Bluetooth and WLAN turned on?
If both WLAN and Bluetooth is turned off, it is running several days without any errors.
Why? And can I prevent this errors, with Bluetooth and WLAN turned on?
- Thu Apr 22, 2021 2:31 pm
- Forum: Hardware
- Topic: UART rarely reads wrong data
- Replies: 5
- Views: 5293
UART rarely reads wrong data
Hi, I'm using the UART with DMA by accessing the registers directly without using the driver from the sdk. Currently Im testing a RS485 communication at a baudrate of 230400. And there im getting 1 or 2 crc errors in a hour. On the oscilloscope it is all fine. No reason why the ESP32 should read som...
- Fri Mar 12, 2021 10:26 am
- Forum: ESP-IDF
- Topic: RMT idle threshold accuracy
- Replies: 0
- Views: 1869
RMT idle threshold accuracy
Hi, I want to use the RMT peripheral to detect that nothing change on a bus. I configured RMT so, that it should trigger an interrupt, if the input pin doesnt change for 1,75 ms. Im using that peripheral in combination with UART receive timeout. The RMT receiver is always enabled and I'm enabling th...
- Wed Feb 17, 2021 1:41 pm
- Forum: ESP-IDF
- Topic: UART DMA Change Idle Time
- Replies: 2
- Views: 2688
Re: UART DMA Change Idle Time
Problem solved - Never searched in UART struct for something related to this (UART.idle_conf.rx_idle_thrhd).
- Thu Feb 11, 2021 12:27 pm
- Forum: ESP-IDF
- Topic: UART DMA Change Idle Time
- Replies: 2
- Views: 2688
UART DMA Change Idle Time
Hey, I tried to use UART DMA on lowest level (using only registers, because of performance reasons), which also works. But I cannot change the idle time of the UART DMA. It seems that the idle time is fixed to 185 bytes. I have activated this idle time by setting UHCI.uart_idle_eof_en, but did not f...