Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

STC12LE5616AD Datasheet(PDF) 57 Page - STCmicro Technology Co,.Ltd

Part # STC12LE5616AD
Description  Enhanced 8051 Central Processing Unit ,1T per machine cycle, faster 8~12 times than the rate of a standard 8051.
PDF  377 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STC [STCmicro Technology Co,.Ltd]
Direct Link  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC12LE5616AD Datasheet(HTML) 57 Page - STCmicro Technology Co,.Ltd

Back Button STC12LE5616AD Datasheet HTML 53Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 54Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 55Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 56Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 57Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 58Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 59Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 60Page - STCmicro Technology Co,.Ltd STC12LE5616AD Datasheet HTML 61Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 377 page
background image
Chapter 3. Memory Organization
The STC12C5620AD series MCU has separate address space for Program Memory and Data Memory. The
logical separation of program and data memory allows the data memory to be accessed by 8-bit addresses, which
can be quickly stored and manipulated by the CPU.
Program memory (ROM) can only be read, not written to. In the STC12C5620AD series, all the program memory
are on-chip Flash memory, and without the capability of accessing external program memory because of no Ex-
ternal Access Enable (/EA) and Program Store Enable (/PSEN) signals designed.
Data memory occupies a separate address space from program memory. In the 12C5A60S2 series, there are 256
bytes internal scratch-pad RAM and 512 bytes of on-chip expanded RAM(XRAM). The high 128 bytes of 256
bytes internal scrach-pad RAM seemingly overlap with SFRs in address.
Actually, they are distinguished by
different addressing way. Similarly, STC12C5620AD series also have no the capability of accessing external
data memory because of no the bus that access external data memory.
3.1 Program Memory
Program memory is the memory which stores the program codes for the CPU to execute. There is 4/8/12/16/20/2
4/28/30K-bytes of flash memory embedded for program and data storage. The design allows users to configure it
as like there are three individual partition banks inside. They are called AP(application program) region, IAP (In-
Application-Program) region and ISP (In-System-Program) boot region. AP region is the space that user program
is resided. IAP(In-Application-Program) region is the nonvolatile data storage space that may be used to save
important parameters by AP program. In other words, the IAP capability of STC12C5620AD provides the user to
read/write the user-defined on-chip data flash region to save the needing in use of external EEPROM device. ISP
boot region is the space that allows a specific program we calls “ISP program” is resided. Inside the ISP region,
the user can also enable read/write access to a small memory space to store parameters for specific purposes.
Generally, the purpose of ISP program is to fulfill AP program upgrade without the need to remove the device
from system. STC12C5620AD hardware catches the configuration information since power-up duration and
performs out-of-space hardware-protection depending on pre-determined criteria. The criteria is AP region can
be accessed by ISP program only, IAP region can be accessed by ISP program and AP program, and ISP region
is prohibited access from AP program and ISP program itself. But if the “ISP data flash is enabled”, ISP program
can read/write this space. When wrong settings on ISP-IAP SFRs are done, The “out-of-space” happens and
STC12C5620AD follows the criteria above, ignore the trigger command.
After reset, the CPU begins execution from the location 0000H of Program Memory, where should be the starting
of the user’s application code. To service the interrupts, the interrupt service locations (called interrupt vectors)
should be located in the program memory. Each interrupt is assigned a fixed location in the program memory. The
interrupt causes the CPU to jump to that location, where it commences execution of the service routine. External
Interrupt 0, for example, is assigned to location 0003H. If External Interrupt 0 is going to be used, its service
routine must begin at location 0003H. If the interrupt is not going to be used, its service location is available as
general purpose program memory.
The interrupt service locations are spaced at an interval of 8 bytes: 0003H for External Interrupt 0, 000BH for
Timer 0, 0013H for External Interrupt 1, 001BH for Timer 1, etc. If an interrupt service routine is short enough (as
is often the case in control applications), it can reside entirely within that 8-byte interval. Longer service routines
can use a jump instruction to skip over subsequent interrupt locations, if other interrupts are in use.
57



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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


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