34.6.4.5 Synchronization

Due to asynchronicity between the main clock domain and the peripheral clock domains, some SERCOM registers need to be synchronized when written ("Write-Synchronized") or read ("Read-Synchronized").

The following bits are synchronized when written:

  • Software Reset bit in the CTRLA register (CTRLA.SWRST)
  • Enable bit in the CTRLA register (CTRLA.ENABLE)
  • Receiver Enable bit in the CTRLB register (CTRLB.RXEN)
  • Transmitter Enable bit in the Control B register (CTRLB.TXEN)
  • LENGTH

The following bit is synchronized when read:

  • RXERRCNT
Note: CTRLB.RXEN is write-synchronized somewhat differently. See the Register Summary for CTRLB details.

Required write synchronization is denoted by the "Write-Synchronized" property in the register description. If a write-synchronized register is written while a synchronization is ongoing, a Bus Error exception will be generated.