Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
461
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
Figure 26-22. TDF Mode = 0: TDF wait states between read and write accesses on the same chip select
26.12 External Wait
Any access can be extended by an external device using the NWAIT input signal of the SMC. The EXNW_MODE 
field of the SMC_MODE register on the corresponding chip select must be set to either to “10” (frozen mode) or 
“11” (ready mode). When the EXNW_MODE is set to “00” (disabled), the NWAIT signal is simply ignored on the 
corresponding chip select. The NWAIT signal delays the read or write operation in regards to the read or write 
controlling signal, depending on the read and write modes of the corresponding chip select.
26.12.1 Restriction 
When one of the EXNW_MODE is enabled, it is mandatory to program at least one hold cycle for the 
read/write controlling signal. For that reason, the NWAIT signal cannot be used in Page Mode 
(“Asynchronous Page Mode” on page 469)
, or in Slow Clock Mode (“Slow Clock Mode” on page 467).
The NWAIT signal is assumed to be a response of the external device to the read/write request of the SMC. Then 
NWAIT is examined by the SMC only in the pulse state of the read or write controlling signal. The assertion of the 
NWAIT signal outside the expected period has no impact on SMC behavior.
TDF_CYCLES  = 5
TDF_CYCLES = 5
TDF_MODE = 0 
(optimization disabled)
A[23:0]
read1 cycle
Read to Write
Wait State
MCK
read1 controlling signal
(NRD)
write2 controlling signal
(NWE)
D[7:0]
read1 hold = 1
write2 cycle
write2 setup = 1
4 TDF WAIT STATES