欢迎访问ic37.com |
会员登录 免费注册
发布采购

COP8AME9EMW8 参数 Datasheet PDF下载

COP8AME9EMW8图片预览
型号: COP8AME9EMW8
PDF下载: 下载PDF文件 查看货源
内容描述: 8位CMOS闪存微控制器,具有8K内存,双通道运算放大器,虚拟EEROM ,温度传感器, 10位A / D和掉电复位 [8-Bit CMOS Flash Microcontroller with 8k Memory, Dual Op Amps, Virtual EEROM, Temperature Sensor,10-Bit A/D and Brownout Reset]
分类和应用: 闪存传感器温度传感器微控制器和处理器外围集成电路运算放大器光电二极管时钟
文件页数/大小: 83 页 / 908 K
品牌: NSC [ National Semiconductor ]
 浏览型号COP8AME9EMW8的Datasheet PDF文件第13页浏览型号COP8AME9EMW8的Datasheet PDF文件第14页浏览型号COP8AME9EMW8的Datasheet PDF文件第15页浏览型号COP8AME9EMW8的Datasheet PDF文件第16页浏览型号COP8AME9EMW8的Datasheet PDF文件第18页浏览型号COP8AME9EMW8的Datasheet PDF文件第19页浏览型号COP8AME9EMW8的Datasheet PDF文件第20页浏览型号COP8AME9EMW8的Datasheet PDF文件第21页  
If a Return instruction is executed when the SP contains 6F  
(hex), instruction execution will continue from Program  
Memory location 1FFF (hex). If location 1FFF is accessed by  
an instruction fetch, the Flash Memory will return a value of  
00. This is the opcode for the INTR instruction and will cause  
a Software Trap.  
10.0 Functional Description  
(Continued)  
10.2 PROGRAM MEMORY  
The program memory consists of 8192 bytes of Flash  
Memory. These bytes may hold program instructions or con-  
stant data (data tables for the LAID instruction, jump vectors  
for the JID instruction, and interrupt vectors for the VIS  
instruction). The program memory is addressed by the 15-bit  
program counter (PC). All interrupts in the device vector to  
program memory location 00FF Hex. The contents of the  
program memory read 00 Hex in the erased state. Program  
execution starts at location 0 after RESET.  
For the purpose of erasing and rewriting the Flash Memory,  
it is organized in pages of 64 bytes.  
Refer to Table 1 for program memory size and available  
address ranges.  
TABLE 1. Available Memory Address Ranges  
Maximum  
RAM  
Address  
(HEX)  
Program  
Memory  
Size (Flash)  
Flash Memory  
Page Size  
(Bytes)  
Option Register Data Memory  
Segments  
Available  
Device  
Address (Hex)  
Size (RAM)  
COP8AME9  
8192  
64  
1FFF  
512  
0-3  
037F  
10.3 DATA MEMORY  
0000 to 007F) from XX00 to XX7F, where XX represents the  
8 bits from the S register. Thus the 128-byte data segment  
extensions are located from addresses 0100 to 017F for  
data segment 1, 0200 to 027F for data segment 2, etc., up to  
FF00 to FF7F for data segment 255. The base address  
range from 0000 to 007F represents data segment 0. Refer  
to Table 1 to determine available RAM segments for this  
device.  
The data memory address space includes the on-chip RAM  
and data registers, the I/O registers (Configuration, Data and  
Pin), the control registers, the MICROWIRE/PLUS SIO shift  
register, and the various registers, and counters associated  
with the timers and the USART (with the exception of the  
IDLE timer). Data memory is addressed directly by the in-  
struction or indirectly by the B, X and SP pointers.  
Figure 6 illustrates how the S register data memory exten-  
sion is used in extending the lower half of the base address  
range (00 to 7F hex) into 256 data segments of 128 bytes  
each, with a total addressing range of 32 kbytes from XX00  
to XX7F. This organization allows a total of 256 data seg-  
ments of 128 bytes each with an additional upper base  
segment of 128 bytes. Furthermore, all addressing modes  
are available for all data segments. The S register must be  
changed under program control to move from one data  
segment (128 bytes) to another. However, the upper base  
segment (containing the 16 memory registers, I/O registers,  
control registers, etc.) is always available regardless of the  
contents of the S register, since the upper base segment  
(address range 0080 to 00FF) is independent of data seg-  
ment extension.  
The data memory consists of 512 bytes of RAM. Sixteen  
bytes of RAM are mapped as “registers” at addresses 0F0 to  
0FF Hex. These registers can be loaded immediately, and  
also decremented and tested with the DRSZ (decrement  
register and skip if zero) instruction. The memory pointer  
registers X, SP, B and S are memory mapped into this space  
at address locations 0FC to 0FF Hex respectively, with the  
other registers being available for general usage.  
The instruction set permits any bit in memory to be set, reset  
or tested. All I/O and registers (except A and PC) are  
memory mapped; therefore, I/O bits and register bits can be  
directly and individually set, reset and tested. The accumu-  
lator (A) bits can also be directly and individually tested.  
Note: RAM contents are undefined upon power-up.  
The instructions that utilize the stack pointer (SP) always  
reference the stack as part of the base segment (Segment  
0), regardless of the contents of the S register. The S register  
is not changed by these instructions. Consequently, the  
stack (used with subroutine linkage and interrupts) is always  
located in the base segment. The stack pointer will be initial-  
ized to point at data memory location 006F as a result of  
reset.  
10.4 DATA MEMORY SEGMENT RAM EXTENSION  
Data memory address 0FF is used as a memory mapped  
location for the Data Segment Address Register (S).  
The data store memory is either addressed directly by a  
single byte address within the instruction, or indirectly rela-  
tive to the reference of the B, X, or SP pointers (each  
contains a single-byte address). This single-byte address  
allows an addressing range of 256 locations from 00 to FF  
hex. The upper bit of this single-byte address divides the  
data store memory into two separate sections as outlined  
previously. With the exception of the RAM register memory  
from address locations 00F0 to 00FF, all RAM memory is  
memory mapped with the upper bit of the single-byte ad-  
dress being equal to zero. This allows the upper bit of the  
single-byte address to determine whether or not the base  
address range (from 0000 to 00FF) is extended. If this upper  
bit equals one (representing address range 0080 to 00FF),  
then address extension does not take place. Alternatively, if  
this upper bit equals zero, then the data segment extension  
register S is used to extend the base address range (from  
The 128 bytes of RAM contained in the base segment are  
split between the lower and upper base segments. The first  
112 bytes of RAM are resident from address 0000 to 006F in  
the lower base segment, while the remaining 16 bytes of  
RAM represent the 16 data memory registers located at  
addresses 00F0 to 00FF of the upper base segment. No  
RAM is located at the upper sixteen addresses (0070 to  
007F) of the lower base segment.  
Additional RAM beyond these initial 128 bytes, however, will  
always be memory mapped in groups of 128 bytes (or less)  
at the data segment address extensions (XX00 to XX7F) of  
the lower base segment.  
17  
www.national.com  
 复制成功!