Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the
Freescale logo aretrademarksof Freescale Semiconductor, Inc. All other product or service
names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
TM
Freescale
HCS12 微控制
器
MC9S12DG128
2008 年 8 月
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo aretrademarksof Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Slide 2
电子信息 2 班
王利荣
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo aretrademarksof Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Slide 3
使用 HCS12 的第一步
1) HCS12 技术概述
2) Operating Modes 工作模式
3) Resource Mapping 资源映射
4) External Bus Interface 外部总线接口
5) Port Integration Module 端口集成模块
6) Background Debug Mode 背景调试模
块
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo aretrademarksof Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Slide 4
工作模式
MODA
MODB
MODC/BKGD
RESET
HCS12
Mode Register
Special Single Chip
Emulation Exp Narrow
Special Test
Emulation Exp Wide
Normal Single Chip
Normal Exp Narrow
Peripheral
Normal Exp Wide
$_0B
Mode Pins are sampled and latched
on rising edge of Reset .
CLOCK
/RESET
MODA
MODB
MODC
Sample Latch
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo aretrademarksof Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Slide 5
Modes of Operation
MODC MODB MODA MODE ADDR DATA BDM
Special Expanded Narrow Allowed
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0 0
0 0
816
16
16
16
16 16
16
16
8
--- --- ---
Allowed
Allowed
Allowed
Allowed
Allowed
ActiveSpecial Single Chip
Special Test
Emulation Expanded Wide
Normal Single Chip
Expanded Narrow
Peripheral Mode
Expanded Wide
MODA and MODB have active pulldowns during reset.
MODC has the pull-up on the pin enabled after reset.
Mode Pins are sampled and latched on rising edge of Reset