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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第172页浏览型号MC9S12P64CFT的Datasheet PDF文件第173页浏览型号MC9S12P64CFT的Datasheet PDF文件第174页浏览型号MC9S12P64CFT的Datasheet PDF文件第175页浏览型号MC9S12P64CFT的Datasheet PDF文件第177页浏览型号MC9S12P64CFT的Datasheet PDF文件第178页浏览型号MC9S12P64CFT的Datasheet PDF文件第179页浏览型号MC9S12P64CFT的Datasheet PDF文件第180页  
S12S Debug Module (S12SDBGV2)  
SZ bits allow the size of access (word or byte) to be considered in the compare. Only comparators A and  
B feature SZE and SZ.  
The TAG bit in each comparator control register is used to determine the match condition. By setting TAG,  
the comparator qualifies a match with the output of opcode tracking logic and a state sequencer transition  
occurs when the tagged instruction reaches the CPU execution stage. Whilst tagging the RW, RWE, SZE,  
and SZ bits and the comparator data registers are ignored; the comparator address register must be loaded  
with the exact opcode address.  
If the TAG bit is clear (forced type match) a comparator match is generated when the selected address  
appears on the system address bus. If the selected address is an opcode address, the match is generated  
when the opcode is fetched from the memory, which precedes the instruction execution by an indefinite  
number of cycles due to instruction pipelining. For a comparator match of an opcode at an odd address  
when TAG = 0, the corresponding even address must be contained in the comparator register. Thus for an  
opcode at odd address (n), the comparator register must contain address (n–1).  
Once a successful comparator match has occurred, the condition that caused the original match is not  
verified again on subsequent matches. Thus if a particular data value is verified at a given address, this  
address may not still contain that data value when a subsequent match occurs.  
Match[0, 1, 2] map directly to Comparators [A, B, C] respectively, except in range modes (see 6.3.2.4).  
Comparator channel priority rules are described in the priority section (6.4.3.4).  
6.4.2.1  
Single Address Comparator Match  
With range comparisons disabled, the match condition is an exact equivalence of address bus with the  
value stored in the comparator address registers. Further qualification of the type of access (R/W,  
word/byte) and databus contents is possible, depending on comparator channel.  
6.4.2.1.1  
Comparator C  
Comparator C offers only address and direction (R/W) comparison. The exact address is compared, thus  
with the comparator address register loaded with address (n) a word access of address (n–1) also accesses  
(n) but does not cause a match.  
Table 6-32. Comparator C Access Considerations  
Condition For Valid Match  
Comp C Address RWE  
RW  
Examples  
LDAA ADDR[n]  
Read and write accesses of ADDR[n]  
ADDR[n](1)  
0
X
STAA #$BYTE ADDR[n]  
STAA #$BYTE ADDR[n]  
LDAA #$BYTE ADDR[n]  
Write accesses of ADDR[n]  
Read accesses of ADDR[n]  
ADDR[n]  
ADDR[n]  
1
1
0
1
1. A word access of ADDR[n-1] also accesses ADDR[n] but does not generate a match.  
The comparator address register must contain the exact address from the code.  
6.4.2.1.2  
Comparator B  
Comparator B offers address, direction (R/W) and access size (word/byte) comparison. If the SZE bit is  
set the access size (word or byte) is compared with the SZ bit value such that only the specified size of  
S12P-Family Reference Manual, Rev. 1.13  
176  
Freescale Semiconductor  
 复制成功!