2 read mode – Rainbow Electronics AT91CAP9S250A User Manual

Page 178

Advertising
background image

178

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

Figure 22-9. No Setup, No Hold On NRD and NCS Read Signals

22.8.1.5

Null Pulse

Programming null pulse is not permitted. Pulse must be at least set to 1. A null value leads to
unpredictable behavior.

22.8.2

Read Mode

As NCS and NRD waveforms are defined independently of one other, the SMC needs to know
when the read data is available on the data bus. The SMC does not compare NCS and NRD tim-
ings to know which signal rises first. The READ_MODE parameter in the SMC_MODE register
of the corresponding chip select indicates which signal of NRD and NCS controls the read
operation.

22.8.2.1

Read is Controlled by NRD (READ_MODE = 1):

Figure 22-10

shows the waveforms of a read operation of a typical asynchronous RAM. The

read data is available t

PACC

after the falling edge of NRD, and turns to ‘Z’ after the rising edge of

NRD. In this case, the READ_MODE must be set to 1 (read is controlled by NRD), to indicate
that data is available with the rising edge of NRD. The SMC samples the read data internally on
the rising edge of Master Clock that generates the rising edge of NRD, whatever the pro-
grammed waveform of NCS may be.

MCK

NRD_PULSE

NCS_RD_PULSE

NRD_CYCLE

NRD_PULSE

NRD_PULSE

NCS_RD_PULSE

NCS_RD_PULSE

NRD_CYCLE

NRD_CYCLE

A[25:2]

NBS0,NBS1,
NBS2,NBS3,
A0, A1

NCS

NRD

D[31:0]

Advertising