| Electronic Components Datasheet Search |
|
AN2556 Datasheet(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2556 Datasheet(HTML) 7 Page - STMicroelectronics |
|
7 / 35 page ![]() AN2556 Modified features 7/35 Software impacts If the optional 32 kHz is not used, but the RTC is used, bit OFF32 of the RTCCON register should be set. Prior to setting the OFF32 bit in RTCCON register, the RTC must be enabled by setting RTCEN, bit 4 of XPERCON, and XPEN, bit 2 of SYSCON. 1.2 XRAM The XRAM of the ST10F269Zx and ST10F273Z4 devices is not the same size. Each configuration is detailed below. The ST10F269Zx has 10 Kbytes of extension RAM whereas the ST10F273Z4 has 34 Kbytes. The XRAM of the ST10F269Zx is divided into two ranges, namely, XRAM1 with 2 Kbytes and XRAM2 with 8 Kbytes: ● The XRAM1 address range is 00’E000h - 00’E7FFh if enabled. ● The XRAM2 address range is 00’C000h - 00’DFFFh if enabled. The XRAM of the ST10F273Z4 is divided into two ranges, namely, XRAM1 with 2 Kbytes (compatible with the ST10F269Zx) and XRAM2 with 32 Kbytes (which has a user reprogrammable address range): ● The XRAM1 address range is 00’E000h - 00’E7FFh if enabled (XPEN set - bit 2 of SYSCON register - AND XRAM1EN set - bit 2 of XPERCON register). ● The XRAM2 address range is 0F’0000h - 0F’7FFFh, by default (compatible with ST10F273Z4 superset) if enabled (XPEN set - bit 2 of SYSCON register - AND XRAM2EN set - bit 3 of XPERCON register). 1.2.1 Hardware impacts None. 1.2.2 Software impacts There is no change when enabling the XRAM blocks: The XPERCON register is still used to enable them via the XRAM1EN and XRAM2EN bits and the XPEN bit of SYSCON. In the ST10 F273Z4 the memory mapping of the application is impacted by the difference in XRAM size and by the location of XRAM2 in segment 15. In the ST10F269Zx the whole XRAM is in page 3 of segment 0. Variables and PEC transfers For architectural reasons, the PEC destination and source pointers must be in segment 0. Therefore all RAM variables and arrays that will be PEC addressed must be located within either the DPRAM (00’F600h - 00’FDFFh) or the XRAM1 (00’E000h - 00’E7FFh). About Toolchain memory model A change in the Toolchain configuration is needed to take into account the new location of XRAM2. In the ST10F269Zx, all the XRAM is in page 3 which is then automatically addressed using DPP3 that points to page 3 (in order to access the DPRAM and the SFR/ESFR). In the ST10F273Z4, it is necessary to dedicate a DPP to access some of the XRAM2. |
|
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 |
| 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 |