AT32UC3L064_1 ATMEL [ATMEL Corporation], AT32UC3L064_1 Datasheet - Page 453

no-image

AT32UC3L064_1

Manufacturer Part Number
AT32UC3L064_1
Description
AVR32 32-bit Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
21.7.3.1
Figure 21-5. Master Mode Block Diagram
32099A–AVR32–06/09
Master mode block diagram
CLK_SPI
In master mode, if the received data is not read fast enough compared to the transfer rhythm
imposed by the write accesses in the TDR, some overrun errors may occur, even if the FIFO is
enabled. To insure a perfect data integrity of received data (especially at high data rate), the
mode Wait Data Read Before Transfer can be enabled in the MR register (MR.WDRBT). When
this mode is activated, no transfer starts while received data remains unread in the RDR. When
data is written to the TDR and if unread received data is stored in the RDR, the transfer is
paused until the RDR is read. In this mode no overrun error can occur. Please note that if this
mode is enabled, it is useless to activate the FIFO in reception.
ure 21-6 on page 454
Figure 21-5 on page
NPCS0
MISO
MR
TDR
PCS
PCS
MSTR
CSR0..3
CSR0..3
PS
LSB
Baud Rate Generator
453shows a block diagram of the SPI when operating in master mode.
0
1
shows a flow chart describing how transfers are handled.
NCPHA
CPOL
BITS
SCBR
PCSDEC
CSR0..3
Clock
SPI
Shift Register
CSNAAT
CSAAT
TDR
RXFIFOEN
Peripheral
Current
RXFIFOEN
MODFDIS
TD
0
1
0
1
MSB
RDR
4 – Character FIFO
RDR
4 – Character FIFO
TDRE
MODF
PCS
RD
NPCS3
NPCS2
NPCS1
NPCS0
MOSI
SPCK
OVRES
RDRF
AT32UC3L
Fig-
453

Related parts for AT32UC3L064_1