Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN1076 Datasheet(PDF) 5 Page - STMicroelectronics

Part # AN1076
Description  ST9 EXTERNAL MEMORY INTERFACE CONFIGURATION
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1076 Datasheet(HTML) 5 Page - STMicroelectronics

  AN1076 Datasheet HTML 1Page - STMicroelectronics AN1076 Datasheet HTML 2Page - STMicroelectronics AN1076 Datasheet HTML 3Page - STMicroelectronics AN1076 Datasheet HTML 4Page - STMicroelectronics AN1076 Datasheet HTML 5Page - STMicroelectronics AN1076 Datasheet HTML 6Page - STMicroelectronics AN1076 Datasheet HTML 7Page - STMicroelectronics AN1076 Datasheet HTML 8Page - STMicroelectronics AN1076 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 15 page
background image
5/15
ST9 EXTERNAL MEMORY INTERFACE CONFIGURATION
2.1 PORT CONFIGURATION
The different ports used to interface with the external memory must be configured as Alternate
Function Output Push-Pull. This concerns Ports 0,1 and Port9
This configuration is done by writing the following values in the three I/O port configuration
registers:
– PxC2 = 00h
– PxC1 = FFh
– PxC0 = FFh
(where x is the number of the corresponding I/O port).
After Reset, if your microcontroller is a Romless version, this configuration will be the default
one. In this case, the microcontroller must directly address external memory just after the
Reset, as there is no internal memory.
For other microcontroller versions (not Romless), the Reset configuration for the I/O ports is
usually ‘Bidirectional Open-Drain Weak Pull-up’ (refer to your device datasheet for special I/O
Ports Reset configuration). In this case, you have to initialize the three I/O port configuration
registers by software as shown above, before being able to address external memory.
Note: By default, the memory control signals (/AS, /DS, /RW) don’t need any configuration,
because they are not mapped on I/O port pins. So these signals are output as soon as
the microcontroller starts accessing external memory.
However, in some microcontrollers (like the ST90158), you have to configure some of
these external memory interface signals. For example, to configure the RWn signal for
the ST90158 microcontroller, you must select ‘Alternate Function Push-Pull’ for the
P6.5 pin.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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