Page 4 of 4
Re: Need help regarding UART1 and UART2 communication for ESP32
Posted: Fri Dec 02, 2016 10:12 pm
by rudi ;-)
Hi,
I think UART driver is released into ESP32-idf stack. So, does anyone has verified that code with UART0, UART1 and UART2 interfaces?
Please provide me sample code to verify that code in polling as well as in ISR mode.
Ritesh,
yes and they run quickly nice.
not sure, that you have read the things,
but there are
samples in the esp-idf too.
best wishes
rudi

Re: Need help regarding UART1 and UART2 communication for ESP32
Posted: Sat Dec 03, 2016 5:38 am
by Ritesh
Hi,
Thanks for Reply. That code i have checked when UART driver is released but well tested from my side.
Let me check again in details and will let you know if need any help from your side.
Re: Need help regarding UART1 and UART2 communication for ESP32
Posted: Mon Sep 11, 2017 2:11 pm
by jakkra
Ritesh, you can look into HardwareSerial.cpp as well and see what happens when you start arduino Serial

it's pretty straight forward.
hi Me-no-dev,
ok - UART runs in IDF environment
btw:
can we trigger this?
or do we must create a task for lookup?
txs!
best wishes
rudi
( FYI )
on 115200 -is ur uart bitbang?- there is the first byte 0xFF then comes data
on 9600 the data are fine, but i will check all again
FYI_small_thing.png
Do you know if there is a fix or workaround on the initial 0xFF received when baud rate is 115200? i'm having this problem, and I realy would like to get rid of it.
Re: Need help regarding UART1 and UART2 communication for ESP32
Posted: Tue Sep 12, 2017 3:36 am
by Ritesh
Ritesh, you can look into HardwareSerial.cpp as well and see what happens when you start arduino Serial

it's pretty straight forward.
hi Me-no-dev,
ok - UART runs in IDF environment
btw:
can we trigger this?
or do we must create a task for lookup?
txs!
best wishes
rudi
( FYI )
on 115200 -is ur uart bitbang?- there is the first byte 0xFF then comes data
on 9600 the data are fine, but i will check all again
FYI_small_thing.png
Do you know if there is a fix or workaround on the initial 0xFF received when baud rate is 115200? i'm having this problem, and I realy would like to get rid of it.
Hi,
Please let me know which ESP32-IDF RTOS SDK version are you using?