SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 686

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
Figure 32-7.
32.7.3.3
32.7.3.4
686
686
(from master)
(from slave)
TXEMPTY
NPCS0
SPCK
TDRE
SAM3X/A
SAM3X/A
MOSI
RDRF
MISO
SPI_TDR
Clock Generation
Transfer Delays
Write in
Status Register Flags Behavior
Figure 32-7
Transmission Register Empty (TXEMPTY) status flags behavior within the SPI_SR (Status Reg-
ister) during an 8-bit data transfer in fixed mode and no Peripheral Data Controller involved.
The SPI Baud rate clock is generated by dividing the Master Clock (MCK), by a value between 1
and 255.
This allows a maximum operating baud rate at up to Master Clock and a minimum operating
baud rate of MCK divided by 255.
Programming the SCBR field at 0 is forbidden. Triggering a transfer while SCBR is at 0 can lead
to unpredictable results.
At reset, SCBR is 0 and the user has to program it at a valid value before performing the first
transfer.
The divisor can be defined independently for each chip select, as it has to be programmed in the
SCBR field of the Chip Select Registers. This allows the SPI to automatically adapt the baud
rate for each interfaced peripheral without reprogramming.
Figure 32-8
select. Three delays can be programmed to modify the transfer waveforms:
MSB
• The delay between chip selects, programmable only once for all the chip selects by writing
1
MSB
the DLYBCS field in the Mode Register. Allows insertion of a delay between release of one
chip select and before assertion of a new one.
shows Transmit Data Register Empty (TDRE), Receive Data Register (RDRF) and
shows a chip select transfer change and consecutive transfers on the same chip
2
6
6
3
5
5
4
4
4
5
3
3
6
6
2
2
7
1
1
shift register empty
8
LSB
LSB
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
RDR read

Related parts for SAM3X8E