Serial with Mark/Space Parity

iwalker
Posts: 1
Joined: Sun Nov 15, 2015 4:13 am

Serial with Mark/Space Parity

Postby iwalker » Mon Jan 02, 2017 9:12 am

Hi There

I need to talk to a device that requires 9 bit serial where the 9th bit has to be set high to let the device know it is being addressed.
On Arduino I managed this by manipulating the relevant serial control registers.
Is this possible with the ESP32 and where can I find details on the serial control registers for this chip ?

Thanks

WiFive
Posts: 504
Joined: Tue Dec 01, 2015 7:35 am

Re: Serial with Mark/Space Parity

Postby WiFive » Mon Jan 02, 2017 9:33 am

https://github.com/espressif/esp-idf/bl ... ver/uart.h

Try using 2 stop bits for mark parity.

Who is online

Users browsing this forum: No registered users and 1 guest