Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Data Sheet

Product codes
AT91SAM9N12-EK
Page of 1104
923
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
43.7.6.1 Compare Functions
Length of the comparison patterns (Compare 0, Compare 1) and thus the number of bits they are compared to is defined
by FSLEN, but with a maximum value of 16 bits. Comparison is always done by comparing the last bits received with the
comparison pattern. Compare 0 can be one start event of the Receiver. In this case, the receiver compares at each new
sample the last bits received at the Compare 0 pattern contained in the Compare 0 Register (SSC_RC0R). When this
start event is selected, the user can program the Receiver to start a new data transfer either by writing a new Compare 0,
or by receiving continuously until Compare 1 occurs. This selection is done with the bit (STOP) in SSC_RCMR.
43.7.7 Data 
Format
The data framing format of both the transmitter and the receiver are programmable through the Transmitter Frame Mode
Register (SSC_TFMR) and the Receiver Frame Mode Register (SSC_RFMR). In either case, the user can independently
select:
the event that starts the data transfer (START)
the delay in number of bit periods between the start event and the first data bit (STTDLY)
the length of the data (DATLEN)
the number of data to be transferred for each start event (DATNB).
the length of synchronization transferred for each start event (FSLEN)
the bit sense: most or lowest significant bit first (MSBF)
Additionally, the transmitter can be used to transfer synchronization and select the level driven on the TD pin while not in
data transfer operation. This is done respectively by the Frame Sync Data Enable (FSDEN) and by the Data Default
Value (DATDEF) bits in SSC_TFMR.
Table 43-4. Data Frame Registers
Transmitter
Receiver
Field
Length
Comment
SSC_TFMR
SSC_RFMR
DATLEN
Up to 32
Size of word
SSC_TFMR
SSC_RFMR
DATNB
Up to 16
Number of words transmitted in frame
SSC_TFMR
SSC_RFMR
MSBF
Most significant bit first
SSC_TFMR
SSC_RFMR
FSLEN
Up to 16
Size of Synchro data register
SSC_TFMR
DATDEF
0 or 1
Data default value ended 
SSC_TFMR
FSDEN
Enable send SSC_TSHR
SSC_TCMR
SSC_RCMR
PERIOD
Up to 512
Frame size
SSC_TCMR
SSC_RCMR
STTDLY
Up to 255
Size of transmit start delay