Datasheet
SAM9G20
DS60001516A-page 506 2017 Microchip Technology Inc.
Figure 32-14: Transmit Frame Format in Continuous Mode
Note 1: STTDLY is set to 0. In this example, SSC_THR is loaded twice. FSDEN value has no effect on the transmission. SyncData
cannot be output in continuous mode.
Figure 32-15: Receive Frame Format in Continuous Mode
Note 1: STTDLY is set to 0.
32.6.8 Loop Mode
The receiver can be programmed to receive transmissions from the transmitter. This is done by setting the Loop Mode (LOOP) bit in
SSC_RFMR. In this case, RD is connected to TD, RF is connected to TF and RK is connected to TK.
32.6.9 Interrupt
Most bits in SSC_SR have a corresponding bit in interrupt management registers.
The SSC can be programmed to generate an interrupt when it detects an event. The interrupt is controlled by writing SSC_IER (Interrupt
Enable Register) and SSC_IDR (Interrupt Disable Register) These registers enable and disable, respectively, the corresponding interrupt
by setting and clearing the corresponding bit in SSC_IMR (Interrupt Mask Register), which controls the generation of interrupts by assert-
ing the SSC interrupt line connected to the AIC.
DATLEN
Data
DATLEN
Data
Default
Start
From SSC_THR From SSC_THR
TD
St
art: 1. TXEMPTY set to 1
2. Write into the SSC_THR
Data
DATLEN
Data
DATLEN
Start = Enable Receiver
To SSC_RHR
To SSC_RHR
RD