| Electronic Components Datasheet Search |
|
ADUC848BCP8-5 Datasheet(PDF) 23 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADUC848BCP8-5 Datasheet(HTML) 23 Page - Analog Devices |
|
23 / 108 page ![]() ADuC845/ADuC847/ADuC848 Rev. A | Page 23 of 108 11 10 01 00 07H 0FH 17H 1FH 2FH 7FH 00H 08H 10H 18H 20H RESET VALUE OF STACK POINTER 30H FOUR BANKS OF EIGHT REGISTERS R0 TO R7 BIT-ADDRESSABLE (BIT ADDRESSES) GENERAL-PURPOSE AREA BANKS SELECTED VIA BITS IN PSW Figure 8. Lower 128 Bytes of Internal Data Memory Internal XRAM The ADuC845, ADuC847, and ADuC848 contain 2 kbytes of on-chip extended data memory. This memory, although on- chip, is accessed via the MOVX instruction. The 2 kbytes of internal XRAM are mapped into the bottom 2 kbytes of the external address space if the CFG84x.0 (Table 7) bit is set; otherwise, access to the external data memory occurs just like a standard 8051. Even with the CFG84x.0 bit set, access to the external (off chip), XRAM occurs once the 24-bit DPTR is greater than 0007FFH. EXTERNAL DATA MEMORY SPACE (24-BIT ADDRESS SPACE) 000000H FFFFFFH CFG845/7/8.0 = 0 EXTERNAL DATA MEMORY SPACE (24-BIT ADDRESS SPACE) 000000H FFFFFFH CFG845/7/8.0 = 1 0007FFH 000800H 2 kBYTES ON-CHIP XRAM Figure 9. Internal and External XRAM When enabled and when accessing the internal XRAM, the P0 and P2 port pin operations, as well as the RD and WR strobes, do not operate as a standard 8051 MOVX instruction. This allows the user to use these port pins as standard I/O. The internal XRAM can be configured as part of the extended 11-bit stack pointer. By default, the stack operates exactly like an 8052 in that it rolls over from FFH to 00H in the general-purpose RAM. On the ADuC845, ADuC847, and ADuC848, however, it is possible (by setting CFG845.7/ADuC847.7/ADuC848.7) to enable the 11-bit extended stack pointer. In this case, the stack rolls over from FFH in RAM to 0100H in XRAM. The 11-bit stack pointer is visible in the SPH and SP SFRs. The SP SFR is located at 81H as with a standard 8052. The SPH SFR is located at B7H. The 3 LSBs of the SPH SFR contain the 3 extra bits necessary to extend the 8-bit stack pointer in the SP SFR into an 11-bit stack pointer. UPPER 1792 BYTES OF ON-CHIP XRAM (DATA + STACK FOR EXSP = 1, DATA ONLY FOR EXSP = 0) 256 BYTES OF ON-CHIP DATA RAM (DATA + STACK) LOWER 256 BYTES OF ON-CHIP XRAM (DATA ONLY) 00H FFH 00H 07FFH CFG845/7/8.7 = 0 100H CFG845/7/8.7 = 1 Figure 10. Extended Stack Pointer Operation External Data Memory (External XRAM) There is no support for external program memory access to the parts. However, just like a standard 8051 compatible core, the ADuC845/ADuC847/ADuC848 can access external data memory using a MOVX instruction. The MOVX instruction automatically outputs the various control strobes required to access the data memory. The parts, however, can access up to 16 Mbytes of external data memory. This is an enhancement of the 64 kbytes of external data memory space available on a standard 8051 compatible core. See the Hardware Design Considerations section for details. When accessing external RAM, the EWAIT register might need to be programmed to give extra machine cycles to the MOVX operation. This is to account for differing external RAM access speeds. EWAIT SFR SFR Address: 9FH Power-On Default: 00H Bit Addressable: No This special function register (SFR), when programmed, dictates the number of wait states for the MOVX instruction. The value can vary between 0H and 7H. The MOVX instruction increases by one machine cycle (4 + n, where n = EWAIT number in decimal) for every increase in the EWAIT value. |
|
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 |