29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Flexible static memory controller (FSMC)<br />

RM0008<br />

19.6.2 NAND Flash / PC Card supported memories <strong>and</strong> transactions<br />

Table 117 below shows the supported devices, access modes <strong>and</strong> transactions.<br />

Transactions not allowed (or not supported) by the NAND Flash / PC Card controller appear<br />

in gray.<br />

Table 117.<br />

Supported memories <strong>and</strong> transactions<br />

Device Mode R/W<br />

AHB<br />

data size<br />

Memory<br />

data size<br />

Allowed/<br />

not allowed<br />

Comments<br />

Asynchronous R 8 8 Y<br />

Asynchronous W 8 8 Y<br />

NAND 8-bit<br />

Asynchronous R 16 8 Y Split into 2 FSMC accesses<br />

Asynchronous W 16 8 Y Split into 2 FSMC accesses<br />

Asynchronous R 32 8 Y Split into 4 FSMC accesses<br />

Asynchronous W 32 8 Y Split into 4 FSMC accesses<br />

Asynchronous R 8 16 Y<br />

Asynchronous W 8 16 N<br />

NAND 16-bit<br />

Asynchronous R 16 16 Y<br />

Asynchronous W 16 16 Y<br />

Asynchronous R 32 16 Y Split into 2 FSMC accesses<br />

Asynchronous W 32 16 Y Split into 2 FSMC accesses<br />

19.6.3 Timing diagrams for NAND, ATA <strong>and</strong> PC Card<br />

Each PC Card/CompactFlash <strong>and</strong> NAND Flash memory bank is managed through a set of<br />

registers:<br />

● Control register: FSMC_PCRx<br />

● Interrupt status register: FSMC_SRx<br />

● ECC register: FSMC_ECCRx<br />

● Timing register for Common memory space: FSMC_PMEMx<br />

● Timing register for Attribute memory space: FSMC_PATTx<br />

● Timing register for I/O space: FSMC_PIOx<br />

Each timing configuration register contains three parameters used to define number of<br />

HCLK cycles for the three phases of any PC Card/CompactFlash or NAND Flash access,<br />

plus one parameter that defines the timing for starting driving the databus in the case of a<br />

write. Figure 175 shows the timing parameter definitions for common memory accesses,<br />

knowing that Attribute <strong>and</strong> I/O (only for PC Card) memory space access timings are similar.<br />

444/995 Doc ID 13902 Rev 9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!