English
Language : 

AT91SAM7S32 Datasheet, PDF (320/446 Pages) ATMEL Corporation – AT91 ARM THUMB BASED MICROCONTROLLERS
Loop Mode
Interrupt
Figure 142. Transmit Frame Format in Continuous Mode
Start
TD
Data
Data
From SSC_THR
From SSC_THR
DATLEN
DATLEN
Start: 1. TXEMPTY set to 1
2. Write into the SSC_THR
Default
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 143. Receive Frame Format in Continuous Mode
Start = Enable Receiver
RD
Data
Data
To SSC_RHR
To SSC_RHR
DATLEN
DATLEN
Note: 1. STTDLY is set to 0.
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.
Most bits in SSC_SR have a corresponding bit in interrupt management registers.
The SSC Controller 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), which respectively enable and disable the corresponding interrupt
by setting and clearing the corresponding bit in SSC_IMR (Interrupt Mask Register), which
controls the generation of interrupts by asserting the SSC interrupt line connected to the AIC.
320 AT91SAM7S32 Preliminary
6071A–ATARM–28-Oct-04