29.3.1 Synchronous Master Mode

The following bits are used to configure the EUSART for synchronous master operation:

  • SYNC = 1 (configures the EUSART for synchronous operation)
  • CSRC = 1 (configures the EUSART as the master)
  • SREN = 0 (for transmit); SREN = 1 (recommended setting to receive 1 byte)
  • CREN = 0 (for transmit); CREN = 1 (to receive continuously)
  • SPEN = 1 (enables the EUSART)
Important: Clearing the SREN and CREN bits of the RCxSTA register ensures that the device is in the Transmit mode, otherwise the device will be configured to receive.