Freescale Semiconductor M68HC08, MC68HC908QT2 manual System Testing, LED and Push Button Test Code

Page 26

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

System Testing

6.4 LED and Push Button Test Code

Test code is embedded in the ASB520 control program. This test code will test the switches, LED drive circuitry and visible LED, D2. The infrared led, D1, is illuminated, but you can’t see it. To run the test program, follow the next 12 steps:

1.Connect a jumper lead between pins 2 and 6 on connector J1.

2.Install shorting jumpers on jumper blocks JP1–JP4

3.Install 3-AA Alkaline batteries into the battery holder mounted on the bottom of the PC board. Note battery polarity on the battery holder. When the last battery is installed, you will see the red LED, D2, flash five times.

4.Depress the POWER switch, SW1. The red LED will flash once, delay for approximately 2 seconds, flash again and continue that sequence until the button is released. You will note the POWER button is SW1; thus one blink. (This is the sequence for the remainder of the switches.)

5.Depress the PAUSE switch, SW2. The red LED will flash twice, delay for approximately 2 seconds, flash twice again and continue that sequence until the button is released.

6.Depress the PLAY switch, SW3. The red LED will flash three times, delay for approximately 2 seconds, flash three times again and continue that sequence until the button is released.

7.Depress the REVERSE switch, SW4. The red LED will flash four times, delay for approximately 2 seconds, flash four times again and continue that sequence until the button is released.

8.Depress the STOP switch, SW5. The red LED will flash five times, delay for approximately 2 seconds, flash five times again and continue that sequence until the button is released.

9.Depress the FORWARD switch, SW6. The red LED will flash six times, delay for approximately 2 seconds, flash six times again and continue that sequence until the button is released.

10.Remove one battery. It doesn’t matter which one.

11.Remove the jumper lead from connector J1.

12.Replace the battery. (The system is now in user mode.)

All hardware except for the infrared diode, D1, has been tested at this point.

DRM045

Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board

 

 

 

26

System Testing

MOTOROLA

For More Information On This Product,

Go to: www.freescale.com

Image 26
Contents M68HC08 Freescale Semiconductor, IncFreescale Semiconductor, Inc Reference Design Revision History Table of Contents Table of Contents About this Manual Introduction and SetupIntroduction Setup Guide MON08 connectorIntroduction and Setup Setup Guide Freescale Semiconductor, Inc LEDs Operational DescriptionPush Buttons JP1 JP2 JP3 Header and Jumpers Blocks Microcontroller Current Monitor Jumper Block 16-Pin Connector J1 Pin DescriptionPin Description Schematic and Parts List SchematicSemiconductor, Inc Parts List Reference PC Board Parts ListFreescale Semiconductor, Inc Infrared and Visible LED Drive Circuit Design ConsiderationsGrounding Switch Circuitry Design ConsiderationsSwitch Input A/D Values Freescale Semiconductor, Inc Flash Programming System TestingHardware/Software Testing Summary System Testing LED and Push Button Test CodeDVD Player Control Test Freescale Semiconductor, Inc Freescale Semiconductor, Inc HOW to Reach US
Related manuals
Manual 72 pages 22.12 Kb

MC68HC908QT2, M68HC08 specifications

Freescale Semiconductor, known for its innovative solutions in the field of embedded systems, developed the M68HC08 microcontroller family, which includes the MC68HC908QT2. This 8-bit microcontroller is engineered to meet the demands of diverse applications, including automotive, industrial, and consumer electronics.

The MC68HC908QT2 is designed around Freescale’s M68HC08 core, which is renowned for its efficient and reliable performance. This microcontroller integrates a powerful instruction set, enabling developers to create high-performance applications with relatively low power consumption. The device operates at a clock frequency of up to 3 MHz, which is adequate for various control tasks.

One of the key features of the MC68HC908QT2 is its memory architecture. It includes a 2 KB Flash memory for program storage, representing a significant advantage for developers requiring non-volatile memory. Additionally, it encompasses 128 bytes of EEPROM memory, allowing for data retention even after power loss. The microcontroller also has 256 bytes of RAM for efficient data manipulation during operation.

In terms of input/output capabilities, the MC68HC908QT2 supports a variety of interfacing options. The microcontroller features up to 20 general-purpose I/O pins for flexibility in connecting with peripheral devices. Additionally, it provides multiple analog-to-digital converters (ADC) and timers that facilitate efficient analog signal processing and precise control through timing functions.

The architecture of the MC68HC908QT2 also incorporates sophisticated on-chip peripherals, enhancing its functionality. These peripherals include PWM (Pulse Width Modulation) outputs, which are essential for applications requiring motor control and other precise duty cycle processes. The integrated watchdog timer ensures reliable operation by resetting the system in the event of an application failure.

Moreover, the MC68HC908QT2 is equipped with an efficient power management system, enabling operation in a low-power mode, ideal for battery-powered applications. This microcontroller is packaged in a compact 28-pin dual in-line package (DIP), making it suitable for space-constrained designs.

In summary, the Freescale Semiconductor MC68HC908QT2 microcontroller is distinguished by its robust performance, extensive memory options, and versatile I/O capabilities. Its advanced features, including built-in timers, ADC, and a power management system, make it an exceptional choice for developers seeking to implement reliable and efficient embedded solutions. With its comprehensive architecture, the MC68HC908QT2 remains a popular choice in the landscape of 8-bit microcontrollers.