Cirrus-logic AN266 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Matériel Cirrus-logic AN266. Cirrus Logic AN266 User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 4
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
1
Copyright © Cirrus Logic, Inc. 2005
(All Rights Reserved)
http://www.cirrus.com
AN266
How to Connect NAND Flash Memory to an EP93xx
1. Introduction
This document describes two different methods that can be used to connect NAND FLASH to an EP93xx
device. The first approach takes advantage of the data bus and uses fewer GPIO pins. The second ap-
praoch uses GPIO exclusively.
2. Implementation Using GPIO Interrupt (for EP93xx)
Please refer to the partial schematic below. GPIOx, GPIOy, and GPIOz may be any GPIO pins from the
EP93xx device. Not all of the devices in the EP93xx family have all of their GPIO port pins bonded out.
Refer to the datasheet for the specific device you are using. It is suggested that all the GPIO pins con-
nected to the NAND device belong to the same port for efficient code. However, this is not a requirement.
There is no GPIO signal connected to pin 7 of the NAND device in the figure below. It is not required be-
cause the ready status can be read from a bit in the Status register. If the design uses pin 7, make sure
that the GPIO line used has interrupt capability. Referring to the EP93xx User's Guide, GPIO section, you
will notice Ports A, B, and F have interrupt capability. Note that Port A and B have interrupt capability but
it is implemented as a single interrupt signal called GPIOINTR. All pins on Port F are available to the sys-
tem interrupt controller as GPIO[7:0]INTR.
The example below connects an EP93xx to the SAMSUNG K9F2G08U0M.
Figure 1. Example of Implementation Using Minimal GPIO
D1
/NAND_RE
GPIOy D0
/WE
D5
GPIOx
1
2
3
/RE
D7
D4
/CSx
/NAND_WE
1
2
3
D3
PWR_3V3
D2
GPIOz
U2
K9F2G08
29
30
31
32
41
42
43
44
19
18
17
16
9
8
7
12
37
13
36
38
D0
D1
D2
D3
D4
D5
D6
D7
WP
WE
ALE
CLE
CE
RE
R/B
PWR_3V3
PWR_3V3
GND
GND
PRE
D6
FEB ‘05
AN266REV1
Vue de la page 0
1 2 3 4

Résumé du contenu

Page 1 - 1. Introduction

1Copyright © Cirrus Logic, Inc. 2005(All Rights Reserved)http://www.cirrus.comAN266How to Connect NAND Flash Memory to an EP93xx1. IntroductionThis do

Page 2 - K9F2G08U0M

AN2662 AN266REV13. Implementation Using GPIO (for EP931x)Alternatively, the general purpose I/O (GPIO) pins can be used to provide an easy way to cont

Page 3 - AN266REV1 3

AN266AN266REV1 33.1 “Read Flash ID” Sample CodeULONG ulMakerCode;ULONG ulDeviceCode;ULONG ulIDData;*GPIO_PBDDR = 0x5E; //// Write Read ID Command//*GP

Page 4 - Release Date Changes

AN2664 AN266REV1Table 1. Revision History Release Date ChangesREV1 Febuary 2005 Initial ReleaseContacting Cirrus Logic SupportFor a complete listing o

Commentaires sur ces manuels

Pas de commentaire