News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Is Rs232 Hserial can be inverted

Started by Yves, Sep 16, 2022, 04:38 PM

Previous topic - Next topic

Yves

Hello Is Hserial can be inverted?

Yves
Yves

trastikata

#1
You have to set or clear RXDTP and TXCK bits in BAUDCONx register to select the data polarity mode and the transmit idle state.

tumbleweed

Some devices support programmable polarity and some don't.
Check the datasheet for your device (and the name/location of the bit if it does)