Freescale Semiconductor MC68HC08KH12 manual Mode Selection, 152

Models: MC68HC08KH12

1 262
Download 262 pages 21.58 Kb
Page 152
Image 152

10.4.1 Entering Monitor Mode

Table 10-1shows the pin conditions for entering monitor mode.

Table 10-1. Mode Selection

 

Pin

 

 

 

 

 

 

 

 

PP

PinPC0

PinPC1

PinPA0

PinPC3

Mode

CGMOUT

Bus

 

IRQ1/V

 

Frequency

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VDD + VHI

1

0

1

1

Monitor

CGMXCLK ÷ 2

CGMOUT ÷ 2

VDD + VHI

1

0

1

0

Monitor

CGMXCLK

CGMOUT ÷ 2

If PTC3 is low upon monitor mode entry, CGMOUT is equal to the crystal frequency. The bus frequency in this case is a divide-by-two of the input clock. If PTC3 is high upon monitor mode entry, the bus frequency will be a divide-by-four of the input clock.

NOTE: Holding the PTC3 pin low when entering monitor mode causes a bypass of a divide-by-two stage at the oscillator. The CGMOUT frequency is equal to the CGMXCLK frequency, and the OSC1 input directly generates internal bus clocks. In this case, the OSC1 signal must have a 50% duty cycle at maximum bus frequency.

Enter monitor mode with the pin configuration shown above by pulling RST low and then high. The rising edge of RST latches monitor mode. Once monitor mode is latched, the values on the specified pins can change.

Once out of reset, the MCU monitor mode firmware then sends a break signal (10 consecutive logic zeros) to the host computer, indicating that it is ready to receive a command. The break signal also provides a timing reference to allow the host to determine the necessary baud rate.

Monitor mode uses different vectors for reset, SWI, and break interrupt. The alternate vectors are in the $FE page instead of the $FF page and allow code execution from the internal monitor firmware instead of user code.

Advance Information

MC68HC(7)08KH12 Rev. 1.1

 

 

152

Freescale Semiconductor

Page 152
Image 152
Freescale Semiconductor MC68HC08KH12 manual Mode Selection, 152

MC68HC08KH12 specifications

The Freescale Semiconductor MC68HC08KH12 is a versatile microcontroller that has gained popularity in various embedded systems applications. Part of the HC08 family, this microcontroller combines a robust architecture with comprehensive on-chip features, making it suitable for a wide range of applications ranging from industrial control to consumer electronics.

One of the main features of the MC68HC08KH12 is its 8-bit architecture, which provides an optimal balance between performance and power efficiency. It operates at clock speeds of up to 2 MHz, allowing for efficient execution of instructions while maintaining low power consumption. The microcontroller is designed to operate over a voltage range of 2.7 to 5.5 volts, making it adaptable to various system requirements.

The MC68HC08KH12 is equipped with 1 Kbyte of RAM and 12 Kbytes of ROM, which allows for substantial program and data storage. The on-chip memory helps reduce the need for external components, simplifying the design of embedded systems and enhancing reliability. With a wide range of I/O options, including 26 general-purpose I/O pins, the microcontroller provides flexibility in interfacing with sensors, actuators, and other devices.

In terms of technologies, the MC68HC08KH12 features an advanced instruction set that enhances programming efficiency. It supports basic arithmetic operations, bit manipulation, and control transfer instructions, making it suitable for a variety of computational tasks. The integrated timers, analog-to-digital converters, and serial communication interfaces, including UART, provide the necessary tools for real-time control and data exchange with peripheral devices.

Another characteristic of the MC68HC08KH12 is its low power mode capabilities, which allow it to enter a sleep state during periods of inactivity. This feature is essential in battery-powered applications, where minimizing power consumption is crucial for extending operational life.

Overall, the Freescale Semiconductor MC68HC08KH12 stands out as a reliable microcontroller that combines performance, flexibility, and power efficiency. Its extensive features and technologies enable engineers to design robust embedded systems that meet the demands of modern applications. As a result, the MC68HC08KH12 remains a valuable choice for developers seeking a highly functional yet cost-effective microcontroller solution.