전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN2647 데이터시트(PDF) 18 Page - STMicroelectronics

부품명 AN2647
상세설명  Using the STR91xFA external memory interface
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2647 데이터시트(HTML) 18 Page - STMicroelectronics

Back Button AN2647 Datasheet HTML 14Page - STMicroelectronics AN2647 Datasheet HTML 15Page - STMicroelectronics AN2647 Datasheet HTML 16Page - STMicroelectronics AN2647 Datasheet HTML 17Page - STMicroelectronics AN2647 Datasheet HTML 18Page - STMicroelectronics AN2647 Datasheet HTML 19Page - STMicroelectronics AN2647 Datasheet HTML 20Page - STMicroelectronics AN2647 Datasheet HTML 21Page - STMicroelectronics AN2647 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 34 page
background image
Interfacing with asynchronous memory
AN2647
18/34
1.4
Executing code from external SRAM vs. internal Flash
The EMI bus is designed for supporting external data storage. However, the CPU can also
fetch and execute instruction codes from external memory; the performance would be lower
when compared to execution from internal Flash. Please note the Prefetch Queue and
Branch Cache are dedicated for internal Flash memory and are not available for external
code fetch.
There is a four-word buffer on the AHB bus to facilitate the external code fetch. The buffer is
flushed whenever there is a non-sequential fetch, this results in a series of burst fetch
requests to the EMI bus to fill up the buffer. Using memory that has burst mode or page
mode would enhance the CPU performance.
The ARM instructions are 32-bits, to fetch an instruction the EMI in general generates 1
burst mode read request, of length 4, when the EMI bus is 8-bit wide and 2 read requests for
16-bit bus. Table 6 below lists the number of BCLK clocks needed to fetch an instruction
sequentially from external memory and internal Flash. The 8-bit non-multiplexed EMI bus is
configured for page mode or fast SRAM access, which takes one BCLK clock to read a byte.
The 16-bit multiplexed bus is configured for the shortest possible read cycle and takes 3
BCLK clocks to read a halfword. As shown in the table, the CPU takes more time to fetch an
instruction from external memory and results in lower performance.
SCU_CLKCNTR 18:17
EMIRatio
00
BCLK=HCLK
(96 MHz)
01
BCLK=HCLK
(96 MHz)
SCU_SRC0
8
EMI_ALE_LNGT
0
ALE length=1
tBCLK
0Don’t care
7
EMI_ALE_POLR
1
ALE polarity-active
high
0Don’t care
6
EMI_MULTIPLEXED
0
Multiplexed mode
1
Non-Multiplexed mode
Table 5.
EMI Bus configuration examples for asynchronous memory devices
Configuration
register
Register bit
Multiplexed 16-bit bus
Non-Multiplexed 8-bit bus
Bit
Name
Bit
value
Function
Bit
value
Function
Table 6.
Number of BCLK clocks required to fetch a sequential instruction
Program code
Read bus cycle
length
#of bus cycle per
instruction
#of BCLK
between cycles
#of BCLK per
instruction fetch
External memory 8-
bits non-mux bus
(page mode)
1 BCLK Clock
4
2
(1BCLK*4)+2=6
External memory 16-
bit mux bus (SRAM)
3 BCLK Clock
2
2
(3BCLK+2)*2=10
Internal Flash
memory 32-bit bus
1 BCLK Clock
1
0
1



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 32 33 34


데이터시트 다운로드

Go To PDF Page


링크 URL



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