MC68HC08KH12 Data Sheet
Page
Advance Information MC68HC708KH12
List of Sections
Page
Table of Contents
Random-Access Memory RAM
System Integration Module SIM
Clock Generator Module CGM
Universal Serial Bus Module USB
Monitor ROM MON
O Ports
Computer Operating Properly COP
Keyboard Interrupt Module KBI
Break Module Break
Mechanical Specifications
Page
Title
List of Figures
HDP1CR-HDP4CR
Title
Title
Title
List of Tables
Title
General Description
Contents
Introduction
Features
Page
1shows the structure of the MC68HC708KH12
MCU Block Diagram
MCU Block Diagram
2Shows the 64-pin QFP assignments
Pin Assignments
Power Supply Bypassing
SIM
Module KBI and . Timer Interface Module TIM.
Page
Memory Map
Memory Map
I/O Section
Control, Status, and Data Registers
Toie
Control, Status, and Data Registers
Pllie
Keyff
Rxdie
$FF8D $FFFF
1is a list of vector locations
Monitor ROM
Vector Addresses
Page
Functional Description
Random-Access Memory RAM
This section describes the 384 bytes of RAM
Page
Read-Only Memory ROM
Page
Configuration Register Config
= COP module disabled = COP module enabled
Configuration Register Config
Central Processor Unit CPU
CPU Registers
CPU Registers
Index Register HX
Stack Pointer SP
Program Counter PC
Condition Code Register CCR
Page
Arithmetic/Logic Unit ALU
Page
System Integration Module SIM
Introduction
SIM Block Diagram
SIM I/O Register Summary
Signal Name Conventions
1shows the internal signal names used in this section
SIM Bus Clock Control and Generation
Reset and System Initialization
PIN Bit Set Timing
External Reset Timing
Power-On Reset
COP reset is asynchronous to the bus clock
Computer Operating Properly COP Reset
POR Recovery
Illegal Address Reset
Illegal Opcode Reset
Universal Serial Bus Reset
SIM Counter
Exception Control
Interrupt Processing
Hardware Interrupts
Interrupt Entry
11.Interrupt Recognition Example
Interrupt Sources
SWI Instruction
12. Interrupt Status Register 1 INT1
Interrupt Status Register
14. Interrupt Status Register 2 INT2
13. Interrupt Status Register 2 INT2
Low-Power Modes
15. Wait Mode Entry Timing
16. Wait Recovery from Interrupt or Break
18. Stop Mode Entry Timing
SIM Registers
SIM Registers
21. Reset Status Register RSR
22. Break Flag Control Register Bfcr
Page
Clock Generator Module CGM
Introduction
1shows the structure of the CGM
CGM Block Diagram
Page
FRDV = fRCLK/R
Page
3MHz, or 1.5MHz respectively
Choose P = 0, 1, 2, or 3 for a bus frequency of 12MHz, 6MHz
CGM Numeric Example
Page
CGM External Connections
I/O Signals
Cgmvsel
CGM Registers
101
CGM I/O Register Summary
102
PLL Control Register Pctl
103
104
PRE10 Programming
105
PLL Multiplier Select Registers Pmshpmsl
Programming the PLL. RDS70 cannot be written when
Initializes the register to $01 for a default divide value
RDS30 Reference Divider Select Bits
Reference division factor R. See 8.4.3 PLL Circuits
Special Modes
Interrupts
107
108
Acquisition/Lock Time Specifications
109
110
111
112
113
Universal Serial Bus Module USB
114
115
Overview
116
I/O Register Description of the HUB function
117
HUB Control Register Summary
118
Setup
119
HUB Data Register Summary
120
USB HUB Root Port Control Register Hrpcr
121
USB HUB Downstream Port Control Registers
122
123
USB SIE Timing Interrupt Register Sietir
124
125
USB SIE Timing Status Register Sietsr
126
127
USB HUB Address Register Haddr
128
USB HUB Interrupt Register 0 HIR0
129
USB HUB Control Register 0 HCR0
130
131
USB HUB Control Register 1 HCR1
132
10. USB HUB Status Register HSR
133
134
I/O Register Description of the Embedded Device Function
135
Embedded Device Control Register Summary
136
Embedded Device Data Register Summary
DE1D0
137
13. USB Embedded Device Interrupt Register 0 DIR0
12. USB Embedded Device Address Register Daddr
139
140
14. USB Embedded Device Interrupt Register 1 DIR1
141
15. USB Embedded Device Control Register 0 DCR0
142
143
16. USB Embedded Device Control Register 1 DCR1
144
17. USB Embedded Device Status Register DSR
145
146
18. USB Embedded Device Control Register 2 DCR2
147
19. USB Embedded Device Endpoint 0 Data Register UE0D0-UE0D7
148
20. USB Embedded Device Endpoint 0 Data Register UE0D0-UE0D7
149
Monitor ROM MON
150
151
Monitor Mode Circuit
152
Mode Selection
153
Mode Differences
Sample Monitor Waveforms
Monitor Data Format
155
Break Transaction
Write Write Memory Command
Read Read Memory Command
156
Iwrite Indexed Write Command
Iread Indexed Read Command
157
RUN Run User Program Command
Readsp Read Stack Pointer Command
158
159
Monitor Baud Rate Selection
160
161
Timer Interface Module TIM
162
163
TIM Block Diagram
164
TIM I/O Register Summary
165
166
Unbuffered Output Compare
Buffered Output Compare
Registers of the linked pair alternately control the output
167
168
Unbuffered PWM Signal Generation
169
Buffered PWM Signal Generation
TIM status control register TSC, clear the TIM stop bit
PWM Initialization
170
171
Wait Mode
TIM During Break Interrupts
11.8 I/O Signals
172
173
11.9 I/O Registers
Minimum Tclk pulse width, Tclklmin or TCLKHMIN, is
Maximum Tclk frequency is
174
Resets the TIM counter Prescales the TIM counter clock
175
Prescaler Selection
176
TIM Counter Registers Tcnthtcntl
177
TIM Counter Modulo Registers Tmodhtmodl
178
TIM Channel Status and Control Registers TSC0TSC1
179
See Table
180
Mode, Edge, and Level Selection
181
CHxMAX Latency
182
TIM Channel Registers TCH0H/LTCH1H/L
183
O Ports
184
I/O Port Register Summary
$0007 $0008 $0009 $000A $000B $001C $001D
185
186
Port a
3shows the port a I/O logic
Data Direction Register a Ddra
Port a Pin Functions
Port B
188
6shows the port B I/O logic
Data Direction Register B Ddrb
Port B Pin Functions
Port C
190
191
Data Direction Register C Ddrc
Port C Pin Functions
Port D
192
193
10. Port D Data Register PTD
12shows the port D I/O logic
11. Data Direction Register D Ddrd
Port D Pin Functions
Port E
195
196
KBI
15shows the port E I/O logic
14. Data Direction Register E Ddre
198
Port E Pin Functions
PTE0-PTE1 / PTE2-PTE3
199
200
17. Optical Interface Voltage References
201
18. Port E Optical Coupling Interface
202
Port F
3shows the port F I/O logic
20. Data Direction Register F Ddrf
Port F Pin Functions
Port Options
204
205
206
207
Computer Operating Properly COP
1shows the structure of the COP module
COP Block Diagram COP I/O Port Register Summary
209
13.4 I/O Signals
210
211
Monitor Mode
COP Control Register Copctl
COP does not generate CPU interrupt requests
212
COP Module During Break Mode
IRQ module provides a non-maskable interrupt input
External Interrupt IRQ
213
214
215
IRQ Module Block Diagram IRQ I/O Port Register Summary
216
IRQ Status and Control Register Iscr
IRQ Module During Break Interrupts
217
218
219
Keyboard Interrupt Module KBI
220
221
KBI I/O Register Summary
222
Port-D Keyboard Interrupt Block Diagram
223
224
225
Port-D Keyboard Status and Control Register
226
Port-D Keyboard Interrupt Enable Register
227
228
Port-E Keyboard Interrupt Block Diagram
229
$FFED
230
231
Port-E Keyboard Status and Control Register
232
Port-E Keyboard Interrupt Enable Register
233
234
Port-F Keyboard Interrupt Block Diagram
235
236
237
Port-F Keyboard Status and Control Register
238
Port-F Keyboard Interrupt Enable Register
239
Stop Mode
Port-F Pull-up Enable Register
Keyboard Module During Break Interrupts
240
241
Break Module Break
242
243
Break Module Block Diagram Break I/O Register Summary
244
Break Module Registers
245
Break Status and Control Register Brkscr
246
Break Address Registers Brkh and Brkl
247
Preliminary Electrical Specifications
248
Absolute Maximum Ratings
Functional Operating Range
Thermal Characteristics
249
250
DC Electrical Characteristics
Control Timing
Oscillator Characteristics
251
252
USB DC Electrical Characteristics
253
USB Low Speed Source Electrical Characteristics
254
USB High Speed Source Electrical Characteristics
255
HUB Repeater Electrical Characteristics
TImer Interface Module Characteristics
USB Signaling Levels
256
257
Clock Generation Module Characteristics
258
Acquisition/Lock Time Specifications
259
Mechanical Specifications
260
Plastic Quad Flat Pack QFP
Page
How to Reach Us