Texas Instruments TMS320DM646X DMSOC manual Asynchronous n Configuration Registers A1CR-A4CR

Page 52

Registers

www.ti.com

4.3Asynchronous n Configuration Registers (A1CR-A4CR)

The asynchronous configuration register (ACFGn) is used to configure the shaping of the address and control signals during an access to asynchronous memory. It is also used to program the width of asynchronous interface and to select from various modes of operation. This register can be written prior to any transfer, and any asynchronous transfer following the write will use the new configuration. The ACFGn is shown in Figure 22 and described in Table 35. There are four ACFGns. Each chip select space has a dedicated ACFGn. This allows each chip select space to be programmed independently to interface to different asynchronous memory types.

Figure 22. Asynchronous n Configuration Register (ACFGn)

31

 

30

29

 

 

 

 

26

25

 

24

 

SS

 

EW(A)

 

 

W_SETUP

 

 

 

W_STROBE(B)

 

R/W-0

R/W-0

 

 

R/W-Fh

 

 

 

 

R/W-3Fh

 

23

 

 

 

 

 

20

 

19

 

17

 

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

W_STROBE(B)

 

 

 

 

W_HOLD

 

 

R_SETUP

 

 

 

 

R/W-3Fh

 

 

 

 

R/W-7h

 

 

R/W-Fh

15

 

13

 

12

 

7

6

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R_SETUP

 

 

 

R_STROBE(B)

 

 

 

 

R_HOLD

TA

 

ASIZE

 

R/W-Fh

 

 

 

R/W-3Fh

 

 

 

 

R/W-7h

R/W-3h

 

R/W-0

 

LEGEND: R/W = Read/Write; -n= value after reset

A.The EW bit must be cleared to 0 when operating in NAND Flash mode.

B.The W_STROBE and R_STROBE bits must not be cleared to 0 when operating in Extended Wait mode.

Table 35. Asynchronous n Configuration Register (ACFGn) Field Descriptions

Bit

Field

Value

Description

 

 

 

 

31

SS

 

Select Strobe bit. This bit defines whether the asynchronous interface operates in Normal mode or

 

 

 

Select Strobe mode. See Section 2.5 for details on the two modes of operation.

 

 

0

Normal mode is enabled.

 

 

1

Select Strobe mode is enabled.

 

 

 

 

30

EW

 

Extend Wait enable bit. This bit enables extended wait cycles. See Section 2.5.8 on extended wait

 

 

 

cycles for details. This bit must be cleared to 0, if the EMIF on your device does not have a

 

 

 

EM_WAIT pin.

 

 

0

Extended wait cycles are disabled.

 

 

1

Extended wait cycles are enabled.

 

 

 

 

29-26

W_SETUP

0-Fh

Write setup width in EMIF clock cycles, minus 1 cycle. See Section 2.5.3 for details.

 

 

 

 

25-20

W_STROBE

0-3Fh

Write strobe width in EMIF clock cycles, minus 1 cycle. See Section 2.5.3 for details.

 

 

 

 

19-17

W_HOLD

0-7h

Write hold width in EMIF clock cycles, minus 1 cycle. See Section 2.5.3 for details.

 

 

 

 

16-13

R_SETUP

0-Fh

Read setup width in EMIF clock cycles, minus 1 cycle. See Section 2.5.3 for details.

 

 

 

 

12-7

R_STROBE

0-3Fh

Read strobe width in EMIF clock cycles, minus 1 cycle. See Section 2.5.3 for details.

 

 

 

 

6-4

R_HOLD

0-7h

Read hold width in EMIF clock cycles, minus 1 cycle. See Section 2.5.3 for details.

 

 

 

 

3-2

TA

0-3h

Minimum Turn-Around time. This field defines the minimum number of EMIF clock cycles between

 

 

 

the end of one asynchronous access and the start of another, minus 1 cycle. This delay is not

 

 

 

incurred by a read followed by a read or a write followed by a write to the same CS space. See

 

 

 

Section 2.5.3 for details.

 

 

 

 

1-0

ASIZE

0-3h

Asynchronous data bus width. This bit defines the width of the asynchronous device's data bus.

 

 

0

8-bit data bus

 

 

1h

16-bit data bus

 

 

2h-3h

Reserved

 

 

 

 

52

Asynchronous External Memory Interface (EMIF)

SPRUEQ7C –February 2010

 

 

Submit Documentation Feedback

Copyright © 2010, Texas Instruments Incorporated

Image 52
Contents Users Guide Submit Documentation Feedback Revision History Appendix aList of Figures List of Tables Read This First Related Documentation From Texas Instruments Features Purpose of the PeripheralClock Control Functional Block DiagramEmif Requests Signal Descriptions Emif PinsPin Multiplexing Asynchronous Controller and InterfaceInterfacing to Asynchronous Memory Emif Asynchronous InterfaceConfiguring the Emif for Asynchronous Accesses Programmable Asynchronous ParametersDescription of the Emif Interrupt Mask Set Register Eimsr Description of the Emif Interrupt Mast Clear Register EimcrRead and Write Operations in Normal Mode Asynchronous Read Operations Normal ModeAsynchronous Read Operation in Normal Mode Time Interval Pin Activity in WE Strobe ModeTiming Waveform of an Asynchronous Read Cycle in Normal Mode Asynchronous Write Operations Normal Mode Asynchronous Write Operation in Normal ModeAddress Read and Write Operations in Select Strobe Mode Asynchronous Read Operations Select Strobe ModeAsynchronous Read Operation in Select Strobe Mode Time Interval Pin Activity in Select Strobe ModeEMD Data Asynchronous Write Operations Select Strobe Mode Asynchronous Write Operation in Select Strobe ModeEMD Nand Flash Mode Configuring for Nand Flash ModeConfiguration For Nand Flash Description of the Nand Flash Control Register NandfcrConnecting to Nand Flash Driving CLE and ALENand Read and Program Operations Nand Data Read and Write via DMAECC Generation ECC Value for 8-Bit Nand FlashInterfacing to a Non-CE Dont Care Nand Flash Nand Flash Status Register NandfsrInterfacing to a TI DSP HPI Reset and Initialization Considerations Extended Wait Mode and the Emwait PinData Bus Parking Interrupt Support Emif InterruptInterrupt Events Interrupt Monitor and Control Bit FieldsPower Management Interrupt MultiplexingProgram Execution Emulation ConsiderationsConnecting to Asram Interfacing to Asynchronous Sram AsramAsram Output Timing Characteristics Meeting AC Timing Requirements for AsramEmif Input Timing Requirements Asram Input Timing Requirement for a ReadTiming Waveform of an Asram Read Asram Input Timing Requirements for a WriteTiming Waveform of an Asram Write Taking Into Account PCB Delays Asram Timing Requirements With PCB DelaysParameter Description Read Access Write AccessTiming Waveform of an Asram Read with PCB Delays Timing Waveform of an Asram Write with PCB Delays Example Using TC5516100FT-12 Measured PCB Delays for TC5516100FT-12 ExampleEmif Timing Requirements for TC5516100FT-12 Example Asram Timing Requirements for TC5516100FT-12 Example27 12 5 Rsetup Rstrobe w Configuring A2CR for TC5516100FT-12 Example Interfacing to Nand FlashMargin Requirements Recommended MarginsEmif Read Timing Requirements Meeting AC Timing Requirements for Nand FlashNand Flash Read Timing Requirements Timing Waveform of a Nand Flash Read Nand Flash Write Timing Requirements Timing Waveform of a Nand Flash Command Write Timing Waveform of a Nand Flash Data Write Emif Timing Requirements for HY27UA081G1M Example Example Using Hynix HY27UA081G1MNand Flash Timing Requirements for HY27UA081G1M Example Rstrobe w max 1 w Configuring A1CR for HY27UA081G1M Example Configuring Nandfcr for HY27UA081G1M ExampleParameter Setting Nand Flash mode for chip selectExternal Memory Interface Emif Registers Offset Acronym Register DescriptionRevision Code and Status Register Rcsr Field Descriptions Revision Code and Status Register RcsrBit Field Value Description Asynchronous Wait Cycle Configuration Register Awccr WP3 WP2 WP1 WP0CS5WAIT CS4WAIT CS3WAIT CS2WAIT WP3EMWAIT2 pin is used Asynchronous n Configuration Registers A1CR-A4CR Emif Interrupt Raw Register Eirr Emif Interrupt Raw Register Eirr Field DescriptionsWR3 WR2 WR1 WR0 WR3Emif Interrupt Mask Register Eimr Emif Interrupt Mask Register Eimr Field DescriptionsWRM3 WRM2 WRM1 WRM0 WRM3AT bit in the Emif interrupt raw register Eirr Emif Interrupt Mask Set Register Eimsr Emif Interrupt Mask Set Register Eimsr Field DescriptionsWRMSET3 WRMSET2 WRMSET1 WRMSET0 WRMSET3Bit in Eimcr Emif Interrupt Mask Clear Register Eimcr Emif Interrupt Mask Clear Register Eimcr Field DescriptionsWRMCLR3 WRMCLR2 WRMCLR1 WRMCLR0 WRMCLR3Written to the Atmset bit in Eimsr Nand Flash Control Register Nandfcr Nand Flash Control Register Nandfcr Field DescriptionsNand Flash Status Register Nandfsr Nand Flash n ECC Registers NANDF1ECC-NANDF4ECCNand Flash Status Register Nandfsr Field Descriptions WaitstNand Flash n ECC Register NANDECCn Field Descriptions P8O P4O P2O P1OP8E P4E P2E P1E P8ODocument Revision History Additions/Modifications/DeletionsDSP Products ApplicationsRfid