English
Language : 

AT32AP7002_1 Datasheet, PDF (355/896 Pages) ATMEL Corporation – AVR32 32-bit Microcontroller
AT32AP7002
23.7.6
Receive Compare Modes
Figure 23-12. Receive Compare Modes
RX_CLOCK
RX_DATA
(Input)
CMP0 CMP1 CMP2 CMP3
Start
Ignored
B0
B1
B2
FSLEN
Up to 16 Bits
(4 in This Example)
STTDLY
DATLEN
23.7.6.1
Compare Functions
Compare 0 can be one start event of the Receiver. In this case, the receiver compares at each
new sample the last FSLEN bits received at the FSLEN lower bit of the data contained in the
Compare 0 Register (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 continu-
ously until Compare 1 occurs. This selection is done with the bit (STOP) in RCMR.
23.7.7
Data Format
The data framing format of both the transmitter and the receiver are programmable through the
Transmitter Frame Mode Register (TFMR) and the Receiver Frame Mode Register (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 TX_DATA 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 TFMR.
32054F–AVR32–09/09
355