Re: 18F47K42 UART interrupt keep on triggering
Posted: Sat Dec 26, 2020 12:56 pm
As you have found, you have a bit to invert the TX pin, but not the RX pin.
Most PIC16F USART peripherals are like that.
Some PIC18F parts have a very similar USART, using bit 4 of BAUDCON to invert TX, and bit 5 to invert RX.
The bits are named CKTXP and DTRXP in those devices.
Most PIC16F USART peripherals are like that.
Some PIC18F parts have a very similar USART, using bit 4 of BAUDCON to invert TX, and bit 5 to invert RX.
The bits are named CKTXP and DTRXP in those devices.