-->
Page 1 of 1

UART with parity?

PostPosted: Tue Nov 04, 2014 9:12 am
by clinkme
Anyhow has the experience using UART0 with parity?

I need to change parity for every byte sent to contact with
my RS-485 device.The device uses well known RS-485 protocol
when first (address) byte should be sent with parity '1',
and all other bytes in the packet - with parity '0'.

Thanks,

Re: UART with parity?

PostPosted: Fri Jan 09, 2015 5:19 am
by iwalker
Hi All

Has anybody been able to get this functionality working ?

TIA
Ian

Re: UART with parity?

PostPosted: Fri Jan 09, 2015 12:55 pm
by clinkme
At least UART0 supports changing the port setting "semi on the fly"
(you should wait, while the sending byte was actually been sent).
The rest may be implemented with MIP library http://www.lothosoft.ch/thomas/libmip.