29.1.2.1 Enabling the Receiver
The EUSART receiver is enabled for asynchronous operation by configuring the following three control bits:
- CREN =
1
(enables the receiver circuitry of the EUSART) - SYNC =
0
(configures the EUSART for asynchronous operation) - SPEN =
1
(enables the EUSART)
All other EUSART control bits are assumed to be in their default state.
The user must set the RXxPPS register to select the RXx/DTx I/O pin and set the corresponding TRIS bit to configure the pin as an input.
Important: If the RX/DT function is on an analog pin, the
corresponding ANSEL bit must be cleared for the receiver to function.