12
6255B–ATARM–26-Jun-09
Application Note
To fit these requirements the values to program in SMC are:
• NRD_SETUP = NWE_SETUP = 1
• NRD_CYCLE = NWE_CYCLE = 5
• NRD_PULSE = NWE_PULSE = 3
• Data Float Time = 2
Therefore all the timings are realized:
• NWE_HOLD = NRD_CYCLE - NRD_PULSE - NRD_SETUP = 1
• NRD_CYCLE - NRD_PULSE = 2
• NWE NWE_PULSE = 4
gives SMC register configurations, other fields keep the reset values.
Table 6-5.
SMC NCS3 Configuration
Description
Settings
Register/field
Value
NWE and NRD Setup
1 cycle
SMC_SETUP[3]
0x01010101
NRD and NWE Pulse length
3 cycles
SMC_PULSE[3]
0x03030303
NRD and NWE Cycle length
5 cycles
SMC_CYCLE[3]
0x05050505
Chip Select Control
SMC_CTRL[3]
0x00020003
Read Mode
NRD
READ_MODE
0x1
Write Mode
NWE
WRITE_MODE
0x2
NWAIT action
disable
EXNW_MODE
0
Databus Width
8 (bits)
DBW
0
Data Float Time
2 (cycles)
TDF_CYCLES
2