数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2784 数据表(PDF) 23 Page - STMicroelectronics

部件名 AN2784
功能描述  Using the high-density STM32F10xxx FSMC peripheral to drive external memories
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2784 数据表(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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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