Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1076 Datasheet(PDF) 8 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) 8 Page - STMicroelectronics

Back Button 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 AN1076 Datasheet HTML 10Page - STMicroelectronics AN1076 Datasheet HTML 11Page - STMicroelectronics AN1076 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 15 page
background image
8/15
ST9 EXTERNAL MEMORY INTERFACE CONFIGURATION
2.4 TIMING CONFIGURATION
All the different signals of the external memory interface are driven by the CPU clock
(CPUCLK). The CPU clock is the result of the Internal clock (INTCLK) divided by a prescaler.
Please refer to the RCCU (Reset and Clock Control Unit) chapter of the ST9 datasheet for fur-
ther details on the clock.
If your external memory is too slow to follow the ST9 frequency, you can slow down the ex-
ternal memory interface signals in different ways:
– Reducing only the CPUCLK frequency (through the MODER register).
– Adding wait states on the ASn and DSn signals (through EMR2 and WCR registers).
– Adding wait cycles through the WAITn external pin.
s
MODER register:
The three bits PRS0, PRS1, PRS2 load the prescaler division factor for the internal clock
(INTCLK which feeds the peripherals). The resulting signal is the CPU clock which drives
the external memory interface signals. You can divide the frequency by a factor from 1 to 8,
but this slow down will also affect all the code execution, as the CPU clock feeds the core.
s
EMR2 register:
This register contains the control bits used to add wait states on the Address Strobe ASn
signal. Two bits (LAS[1:0]) contains the number of clock cycles to add to the CPULCK to
stretch ASn during external lower memory block accesses, whereas two other bits
(UAS[1:0]) have the same action for external upper memory block accesses. You can add
from 0 to 3 wait states to the ASn signal.
Refer to Figure 1 to see the effect of these wait states on the various signals.
s
WCR register:
This register contains the control bits used to add wait states on the Data Strobe DSn signal.
Three bits (LDS[2:0]) are used for the lower memory block accesses and three other bits
(UDS[2:0]) are used for the upper memory block accesses. You can add from 0 to 7 wait
states to the DSn signal.
Refer to Figure 1 to see the effect of these wait states on the various signals.
s
WAITn external pin:
You can also add wait states using the WAITn external pin which indicates to the ST9 that
the external memory requires more time to complete the memory access cycle. This function
is enabled if the EWEN bit of the EIVR register is set.
This pin is sampled on each rising edge of the internal clock: if WAITn is active (active low),
one clock cycle is added to the memory cycle. On the following rising edge of the clock,
WAITn is sampled again to continue or finish the memory cycle stretching. If WAITn is sam-
pled active during phase T1 then ASn is stretched, while if WAITn is sampled active during
phase T2 then DSn is stretched.



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