поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN1076 датащи(PDF) 14 Page - STMicroelectronics

номер детали AN1076
подробное описание детали  ST9 EXTERNAL MEMORY INTERFACE CONFIGURATION
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1076 датащи(HTML) 14 Page - STMicroelectronics

Back Button 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 AN1076 Datasheet HTML 13Page - STMicroelectronics AN1076 Datasheet HTML 14Page - STMicroelectronics AN1076 Datasheet HTML 15Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 14 / 15 page
background image
14/15
ST9 EXTERNAL MEMORY INTERFACE CONFIGURATION
5 SOFTWARE EXAMPLE
The code below shows a software example of a Large Memory Model interface (x150, x250
microcontrollers) with an external memory located in segment 24 of memory (and pointed to
by DPR3).
spp
#21
ld
R245, #082h
;EMR1 register: Normal mode & high-speed buffers
ld
R246, #050h;
;EMR2 register: zero wait states & (Bit 4)=1
spp
#0
ld
R252, #40h
; WCR: zero wait states
ld
R235, #20h
; MODER: No prescaler division & No High Impedance
spp
#3
ld
R250,#000h
;P6.5 in Alternate function
ld
R249,#0FFh
;
Push-Pull
ld
R248,#0FFh
;
(RW pin)
spp
#2
ld
R242,#000h
;Port 0 in Alternate function
ld
R241,#0FFh
;
Push-Pull
ld
R240,#0FFh
;
(Address LSB/Data multiplexed)
ld
R246,#000h
;Port 1 in Alternate function
ld
R245,#0FFh
;
Push-Pull
ld
R244,#0FFh
;
(Address MSB)
spp
#43
ld
R254,#000h
;Port 9 in Alternate function
ld
R253,#0FFh
;
Push-Pull
ld
R252,#0FFh
spp
#21
ld
R240, #0x00
;DPR0 register (Segment 0 for internal flash)
ld
R241, #0x01
;DPR1 register (Segment 0 for internal flash)
ld
R242, #0x80
;DPR2 register (Segment 20 for Internal RAM
ld
R243, #0x96
;DPR3 register (Segment 24 for External RAM)
sdm
; set data memory
ld
0xC000,#0xAA
;examples of data transfers
ld
0xC001,#0xAA
;
in external memory
ld
0xC002,#0xAA
;



Html Pages

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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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