数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2021 数据表(PDF) 29 Page - STMicroelectronics

部件名 AN2021
功能描述  The ST10F272B and ST10F272E are members of the STMicroelectronics
PDF  39 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2021 数据表(HTML) 29 Page - STMicroelectronics

Back Button AN2021 Datasheet HTML 25Page - STMicroelectronics AN2021 Datasheet HTML 26Page - STMicroelectronics AN2021 Datasheet HTML 27Page - STMicroelectronics AN2021 Datasheet HTML 28Page - STMicroelectronics AN2021 Datasheet HTML 29Page - STMicroelectronics AN2021 Datasheet HTML 30Page - STMicroelectronics AN2021 Datasheet HTML 31Page - STMicroelectronics AN2021 Datasheet HTML 32Page - STMicroelectronics AN2021 Datasheet HTML 33Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 39 page
background image
AN2021
New registers
29/39
4.1.2
Software impact for the ST10F272B
On ST10F272B, this register must be programmed by the user before accessing XRAM2 so
that:
RGSZ defines an 8 Kbyte window size. RGSZ = 0101b
RGSAD defines bits 8 to 19 of the window start address aligned to an 8 Kbyte
boundary (the least significant bits of the field are not relevant).
By programming XADRS3 to 0C05h, the XRAM2 will be 8 Kbytes, mapped from 00’C000h
to 00’DFFFh, exactly as in the ST10F269.
Note:
XADRS3 cannot be changed after executing the EINIT instruction.
4.1.3
Software impact for the ST10F272E
On ST10F272E, this register must be programmed by the user before accessing XRAM2 so
that:
RGSZ defines a 16 Kbyte window size. RGSZ = 0110b
RGSAD defines bits 8 to 19 of the window start address aligned to a 16-Kbyte
boundary (the least significant bits of the field are not relevant).
In the ST10F272E, the XRAM2 cannot be located within page 3 of segment 0. The user can
either:
map the XRAM2 from anywhere above address 09’0000h
map the XRAM2 in the 16-Kbyte page available in segment 0 in the 00’8000h -
00’BFFFh range.
The desired value should be written in XADRS3 register before enabling XRAM2 in the
SYSCON and XPERCON registers.
Note:
XADRS3 cannot be changed after executing the EINIT instruction.
Example
To map the 16-Kbyte XRAM2 onto page 60 (starting address 0F’0000h, compatible
with the ST10F276E), then XADRS3 must be initialized with the value F006h.
To map the 16-Kbyte XRAM2 onto page 2 (starting address 00’8000h), then XADRS3
must be initialized with the value 0806h.
Variables and PEC transfers
For architecture reasons, the PEC destination and source pointers must be in the segment
0. Therefore, all RAM variables and arrays that are PEC-addressed must be located in RAM
memory available in segment 0 (DPRAM + XRAM1, and XRAM2 if remapped onto page 2).
About Toolchain memory model
A change in the Toolchain configuration is needed to take into account the XRAM2’s new
location. In the ST10F269, all the XRAM is in page 3 and it is then automatically addressed
using DPP3 that points to page 3 (in order to access the DPRAM and the SFR/ESFR). For
the ST10F272, it is necessary to dedicate a DPP to access some of XRAM2.



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 35 36 37 38 39


数据表 下载

Go To PDF Page


链接网址



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