Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

AN2784 Datasheet(PDF) 23 Page - STMicroelectronics

No. de pieza AN2784
Descripción Electrónicos  Using the high-density STM32F10xxx FSMC peripheral to drive external memories
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2784 Datasheet(HTML) 23 Page - STMicroelectronics

Back Button AN2784 Datasheet HTML 19Page - STMicroelectronics AN2784 Datasheet HTML 20Page - STMicroelectronics AN2784 Datasheet HTML 21Page - STMicroelectronics AN2784 Datasheet HTML 22Page - STMicroelectronics AN2784 Datasheet HTML 23Page - STMicroelectronics AN2784 Datasheet HTML 24Page - STMicroelectronics AN2784 Datasheet HTML 25Page - STMicroelectronics AN2784 Datasheet HTML 26Page - STMicroelectronics AN2784 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 31 page
background image
AN2784
Interfacing with an 8-bit NAND Flash memory
Doc ID 14779 Rev 4
23/31
Bank2 is selected to support the NAND Flash device. Based on these data, the FSMC is
configured as follows:
Bank2 is enabled: PCR2_PBKEN bit set to ‘1’
Memory type is NAND Flash: PCR2_PTYP is set to ‘1’ to select the NAND Flash
memory type.
Databus width is 8 bit: PCR2_PWID is set to ‘00’ to select 8-bit width.
ECC page size is 512 bytes: PCR2_ECCPS is set to ‘001’ to set the ECC computation
page size to 512 bytes.
ECC hardware calculation on/off as needed: PCR2_ECCEN is set or reset accordingly.
Wait feature may or not be enabled depending on the user’s application:
PCR2_PWAITEN is set or reset as needed.
The Ready/Busy memory signal can be connected to the FSMC_NWAIT pin, and in this
case the Wait feature must be used to manage the NAND Flash operations.
When using the NAND Flash memory with the wait feature enabled, the controller waits for
the NAND Flash to be ready to become active before starting a new access. While waiting,
the controller maintains the NCE signal active (low).
Generally, the Ready/Busy signal is an open-drain output. To connect this signal to the
STM32F10xxx microcontroller, the corresponding pin must be configured as input pull-up.
The Ready/Busy signal can be used as an interrupt source for the FSMC and, in this case,
the CPU can perform other tasks during NAND Flash operations.
Three FSMC configurations make it possible to use this signal as an interrupt. For that
purpose, the IREN, IFEN or ILEN bits in the SR2 register are used to select the rising edge,
the falling edge or the high level of the NAND Flash Ready/Busy signal.
4.2
Timing computation
Besides configuring the different features that are to be used with the NAND Flash memory,
the user has to initialize the controller to meet the memory timings.
As described in Section 4.1, the FSMC is able to program four different timings for the
common space and the attribute space independently: Setup time, Wait time, Hold time
and Databus HiZ time.
These parameters are computed according to the NAND Flash memory characteristics and
the STM32F10xxx HCLK clock.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com