Architecture

www.ti.com

2.5.4.2Asynchronous Write Operations (Normal Mode)

An asynchronous write is performed when any of the requesters mentioned in Section 2.2 request a write to asynchronous memory. In the event that the write request cannot be serviced by a single access cycle to the external device, multiple access cycles will be performed by the EMIF until the entire request is fulfilled. The details of an asynchronous write operation in Normal mode are described in Table 8 and an example timing diagram of a basic write operation is shown in Figure 5.

NOTE: During the entirety of an asynchronous write operation, the EM_OE pin is driven high.

 

Table 8. Asynchronous Write Operation in Normal Mode

 

 

Time Interval

Pin Activity in WE Strobe Mode

 

 

Turnaround

Once the EMIF receives a write request, the EMIF waits for the programmed number of turn-around cycles

period

before proceeding to the setup period of the operation. The number of wait cycles is taken directly from the TA

 

field of the asynchronous configuration register (ACFGn). There are two exceptions to this rule:

If the current write operation was directly proceeded by another write operation to the same CS space, no turnaround cycles are inserted.

If the current write operation was not directly proceeded by a write operation to the same CS space and the TA field has been cleared to 0, one turnaround cycle will be inserted.

After the EMIF has waited for the turnaround cycles to complete, it proceeds to the setup period of the operation.

Start of setup

At the beginning of the setup period:

period

• The setup, strobe, and hold values are set according to the W_SETUP, W_STROBE, and W_HOLD values

 

 

 

in ACFGn.

 

• The address pins EM_A and EM_BA and the data pins EM_D become valid.

 

 

 

pin falls to indicate a write (if not already low from a previous operation).

 

• The EM_RW

 

 

falls to enable the external device (if not already low from a previous operation).

 

EM_CS

Start of strobe

At the beginning of the strobe period of a write operation:

period

 

 

 

 

 

 

 

• EM_WE falls

 

Start of hold

At the beginning of the hold period

period

 

 

 

 

 

 

 

• EM_WE rises

 

End of hold

At the end of the hold period:

period

• The address pins EM_A and EM_BA become invalid

 

 

• The data pins become invalid

 

 

 

 

 

pin rises (if no more operations are required to complete the current request)

 

• The EM_RW

 

 

 

rises (if no more operations are required to complete the current request)

 

EM_CS

 

The EMIF may be required to issue additional write operations to a device with a small data bus width in order to

 

complete an entire word access. In this case, the EMIF immediately re-enters the setup period to begin another

 

operation without incurring the turnaround cycle delay. The setup, strobe, and hold values are not updated in this

 

case. If the entire word access has been completed, the EMIF returns to its previous state unless another

 

asynchronous request has been submitted. If this is the case, the EMIF instead enters directly into the

 

turnaround period for the pending read or write operation.

 

 

 

 

 

 

 

 

16 Asynchronous External Memory Interface (EMIF)

SPRUEQ7C –February 2010

 

Submit Documentation Feedback

Copyright © 2010, Texas Instruments Incorporated

Page 16
Image 16
Texas Instruments TMS320DM646X DMSOC manual Asynchronous Write Operations Normal Mode