baggior / SmartHome_GATEWAY

Gateway Module
MIT License
1 stars 0 forks source link

UART2 problem #4

Open baggior opened 6 years ago

baggior commented 6 years ago

only the first message is correctly sent via UART2 the others are garbled

bug of esp idf uart drivers and then in the arduino framework https://github.com/espressif/arduino-esp32/issues/991

workaround on idf not in arduino framework https://github.com/espressif/esp-idf/commit/4052803e161ba06d1cae8d36bc66dde15b3fc8c7

JacoFourie commented 6 years ago

Hi. I am using all 3 UARTs. One for debug and 1 for comms with a motor controller and the other one I want to use to communicate with a VSD. 2 work 100% but on UART1 I will see data not show correctly at random. It will not send all the data all the time on that UART. So UART0 and UART2 works 100% but UART1 that is mapped to pin 4 and 15 will drop data.