English
Language : 

SPEAR1340 Datasheet, PDF (157/200 Pages) STMicroelectronics – Dual-core Cortex A9 HMI embedded MPU
SPEAr1340
Timing characteristics
5.6
5.6.1
FSMC timing characteristics
This section describes the timing characteristics of the flexible static memory controller. The
FSMC can interface NAND Flash, NOR and SRAM. All the possible scenarios are described
below.
The timing characterization is performed assuming an output load capacitance of 10 pF on
all outputs.
NAND Flash configuration timing characteristics
Figure 21. NAND Flash configuration timing waveform
FSMC_CExn
FSMC_ALE_AD17
FSMC_CLE_AD16
FSMC_WEn
tHCLK - tALE
tHCLK - tCLE
tSET + tW
tWAIT
tHOLD + tW
FSMC_IO (ouT)
FSMC_REn
tHIZ + tD
tSET + tR
DATAOUT
tHCLK - tD
TWAIT
tHOLD + tR
FSMC_IO (in)
tMEM
DATAIN
tMEM
TALE, TCLE, TW, TR and TD are fixed values: they depend only on the internal timings of
SPEAr.
TSET, THOLD, TWAIT and THIZ are programmable timings defined by FSMC registers. They
can be calculated as:
TSET = (Set + 1) * THCLK (min value for Set is 0)
TWAIT = (Wait + 1) * THCLK (min value for Wait is 1)
THOLD = (Hold + 1) * THCLK (min value for Hold is 1)
THIZ = Hiz * THCLK (min value for Hiz is 0)
THCLK = 6 ns (period of the AHB clock, the FSMC input clock)
TMEM is the output delay of the NAND Flash.
When writing a data, since the NAND Flash strobes it on the rising edge of FSMC_WEn, the
user should choose the correct values of Set, Wait, Hold and Hiz in order to satisfy the
following constraints:
TSET + TW + TWAIT - THIZ - TD ≥ TSETUP (NAND_FLASH)
THOLD + TW - THCLK + TD ≥ THOLD (NAND_FLASH)
Doc ID 023063 Rev 4
157/200