Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Hoja De Datos

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 568
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
31.7.5.1 Frame Sync Data
Frame Sync Data transmits or receives a specific tag during the Frame Sync signal.
During the Frame Sync signal, the Receiver can sample the RD line and store the data in the Receive Sync Holding
Register and the transmitter can transfer Transmit Sync Holding Register in the Shifter Register. The data length to be
sampled/shifted out during the Frame Sync signal is programmed by the FSLEN field in SSC_RFMR/SSC_TFMR and
has a maximum value of 16.
Concerning the Receive Frame Sync Data operation, if the Frame Sync Length is equal to or lower than the delay
between the start event and the actual data reception, the data sampling operation is performed in the Receive Sync
Holding Register through the Receive Shift Register.
The Transmit Frame Sync Operation is performed by the transmitter only if the bit Frame Sync Data Enable (FSDEN) in
SSC_TFMR is set. If the Frame Sync length is equal to or lower than the delay between the start event and the actual
data transmission, the normal transmission has priority and the data contained in the Transmit Sync Holding Register is
transferred in the Transmit Register, then shifted out.
31.7.5.2 Frame Sync Edge Detection
The Frame Sync Edge detection is programmed by the FSEDGE field in SSC_RFMR/SSC_TFMR. This sets the
corresponding flags RXSYN/TXSYN in the SSC Status Register (SSC_SR) on frame synchro edge detection (signals
RF/TF).
31.7.6 Receive Compare Modes
Figure 31-12.Receive Compare Modes 
31.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.
31.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)
CMP0
CMP3
CMP2
CMP1
Ignored
B0
B2
B1
Start
RK
RD
(Input)
FSLEN
Up to 16 Bits
(4 in This Example)
STDLY
DATLEN