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

71M6531D 参数 Datasheet PDF下载

71M6531D图片预览
型号: 71M6531D
PDF下载: 下载PDF文件 查看货源
内容描述: 电能计量IC [Energy Meter IC]
分类和应用:
文件页数/大小: 115 页 / 2363 K
品牌: TERIDIAN [ TERIDIAN SEMICONDUCTOR CORPORATION ]
 浏览型号71M6531D的Datasheet PDF文件第20页浏览型号71M6531D的Datasheet PDF文件第21页浏览型号71M6531D的Datasheet PDF文件第22页浏览型号71M6531D的Datasheet PDF文件第23页浏览型号71M6531D的Datasheet PDF文件第25页浏览型号71M6531D的Datasheet PDF文件第26页浏览型号71M6531D的Datasheet PDF文件第27页浏览型号71M6531D的Datasheet PDF文件第28页  
Data Sheet 71M6531D/F-71M6532D/F  
FDS 6531/6532 005  
Stack Pointer (SP):  
The stack pointer is a 1-byte register initialized to 0x07 after reset. This register is incremented before  
PUSH and CALL instructions, causing the stack to begin at location 0x08.  
Data Pointer:  
The data pointer (DPTR) is 2 bytes wide. The lower part is DPL and the highest is DPH. It can be loaded  
as two registers (e.g. MOV DPL,#data8). It is generally used to access external code or data space (e.g.  
MOVC A,@A+DPTR or MOVX A,@DPTR respectively).  
Program Counter:  
The program counter (PC) is 2 bytes wide and initialized to 0x0000 after reset. This register is incre-  
mented when fetching operation code or when operating on data from program memory.  
Port Registers:  
The I/O ports are controlled by Special Function Registers P0, P1 and P2. The contents of the SFR can  
be observed on corresponding pins on the chip. Writing a 1 to any of the ports (see Table 12) causes the  
corresponding pin to be at high level (V3P3). Writing a 0 causes the corresponding pin to be held at a  
low level (GND). The data direction registers DIR0, DIR1 and DIR2 define individual pins as input or out-  
put pins (see Sections 1.5.7 Digital I/O – 71M6531D/F or 1.5.8 Digital I/O – 71M6532D/F).  
Table 12: Port Registers  
SFR Ad-  
dress  
0x80  
Register  
R/W  
Description  
P0  
R/W Register for port 0 read and write operations.  
DIR0  
0xA2  
R/W Data direction register for port 0. Setting a bit to 1 means that the corres-  
ponding pin is an output.  
P1  
0x90  
0x91  
0xA0  
0xA1  
R/W Register for port 1 read and write operations.  
R/W Data direction register for port 1.  
DIR1  
P2  
R/W Register for port 2 read and write operations.  
R/W Data direction register for port 2.  
DIR2  
All DIO ports on the chip are bi-directional. Each of them consists of a Latch (SFR P0 to P2), an output  
driver and an input buffer, therefore the MPU can output or read data through any of these ports. Even if  
a DIO pin is configured as an output, the state of the pin can still be read by the MPU, for example when  
counting pulses issued via DIO pins that are under CE control.  
The technique of reading the status of or generating interrupts based on DIO pins configured as  
outputs can be used to implement pulse counting.  
Clock Stretching (CKCON)  
The three low order bits of the CKCON register define the stretch memory cycles that could be used for  
MOVX instructions when accessing slow external peripherals. The practical value of this register is to  
guarantee access to XRAM between CE, MPU, and SPI. The default setting of CKCON (001) should not  
be changed.  
Table 13 shows how the signals of the External Memory Interface change when stretch values are set  
from 0 to 7. The widths of the signals are counted in MPU clock cycles. The post-reset state of the  
CKCON register (001), which is shown in bold in the table, performs the MOVX instructions with a stretch  
value equal to 1.  
24  
© 2005-2009 TERIDIAN Semiconductor Corporation  
v1.2