Freescale Semiconductor MC68HC908QT2, M68HC08 User Manual

Freescale Semiconductor, Inc.
Using the ASB520 MC68HC908QT2 Based Infrared
nc...
I
cale Semiconductor,
Frees
M68HC08
Microcontrollers
Remote Control Reference PC Board
Designer Reference Manual
DRM045/D Rev. 0 9/2003
MOTOROLA.COM/SEMICONDUCTORS
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
nc...
I
cale Semiconductor,
Frees
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board
nc...
I
cale Semiconductor,
Frees
Reference Design
By: Bill Lucas
Motorola Transportation and Standard Products Group Austin, TX
To provide the most up-to-date information, the revision of our documents on the World Wide Web will be the most current. Your printed copy may be an earlier revision. To verify you have the latest information available, refer to:
http://motorola.com/semiconductors
The following revision history table summarizes changes contained in this document. For your convenience, the page number designators have been linked to the appropriate location.
Motorola and the Stylized M Logo are registered trademarks of Motorola, Inc. DigitalDNA is a trademark of Motorola, Inc. This product incorporates SuperFlash® technology licensed from SST. © Motorola, Inc., 2003
Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board DRM045
MOTOROLA 3
For More Information On This Product,
Go to: www.freescale.com

Revision History

Freescale Semiconductor, Inc.
Revision History
Date
September,
2003
nc...
I
Revision
Level
N/A Initial release N/A
Description
cale Semiconductor,
Page
Number(s)
Frees
DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Re ference PC Board
4 Revision History MOTOROLA
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Designer Reference Manual — DRM045
Section 1. Introduction and Setup
1.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 About this Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3 Setup Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Table of Contents

nc...
I
cale Semiconductor,
Frees
Section 2. Operational Description
2.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2 Push Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.3 LEDs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.3.1 Red Activity Indicator LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.3.2 Infrared LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.4 Header and Jumpers Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5 Microcontroller Current Monitor Jumper Block . . . . . . . . . . . . . . . . . 14
Section 3. Pin Description
3.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2 16-Pin Connector J1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Section 4. Schematic and Parts List
4.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.2 Schematic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3 Parts List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Section 5. Design Considerations
5.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2 Grounding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.3 Infrared and Visible LED Drive Circuit . . . . . . . . . . . . . . . . . . . . . . . 21
5.4 Switch Circuitry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Section 6. System Testing
6.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.2 Hardware/Software Testing Summary . . . . . . . . . . . . . . . . . . . . . . . 25
6.3 FLASH Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.4 LED and Push Button Test Code . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.5 DVD Player Control Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board DRM045
MOTOROLA Table of Contents 5
For More Information On This Product,
Go to: www.freescale.com
Table of Contents
nc...
I
Freescale Semiconductor, Inc.
cale Semiconductor,
Frees
DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Re ference PC Board
6 Table of Contents MOTOROLA
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
Designer Reference Manual — DRM045

Section 1. Introduction and Setup

1.1 Introduction

Motorola’s ASB520, MC68HC908QT2 Infrared Remote Control Reference PC Board and software are designed to demonstrate how a simple, limited function, dedicated remote control system could be designed. The ob jective is to keep the design simple so a user can pick portions of interest to his design
nc...
I
and turn them into an application specific system. This system is specifically programmed to control an APEX model 1201 DVD player.
cale Semiconductor,
Frees

1.2 About this Manual

A few of the more noteworthy features of the reference PC board are listed as follows:
8-pin MC68HC908QT2 microcontroller
Infrared LED and driver
Visible LED to show activity
Six user push buttons
MON08 programming interface for in-circuit FLASH programming
Battery holder for 3-AA cells
Microcontroller current monitor jumper block
A photograph of the reference PC board appears in Figure 1-1.
Key items can be found in the following locations in this manual:
Setup instructions are found in 1.3 Setup Guide.
Schematics are found in 4.2 Schematic.
Pin assignments for MON08 connector J1 are shown in Table 3-1.
MON08 Pin Assignments.
User interfaces are described in 2.3 LEDs.
For those interested in the design aspects of the reference PC board’s circuitry, a description is provided in Section 5. Design
Considerations.
System testing, hardware and software, are described in detail in
Section 6. System Testing.
Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board DRM045
MOTOROLA Introduction and Setup 7
For More Information On This Product,
Go to: www.freescale.com
Introduction and Setup
nc...
I
Freescale Semiconductor, Inc.
cale Semiconductor,
Frees

1.3 Setup Guide

Figure 1-1. MC68HC908QT2 IR Reference PC Board Photograph
Setup for the reference design PC board can be broken into two parts.
The first is normal user operation mode.
The second is MC68HC908QT2 FLASH programming configuration. FLASH programming is explained in Section 6. System Testing.
It is assumed for user operational mode, the MC68HC908QT1 has been programmed with the remote control program. If not, refer to Section 6.
System Testing for FLASH programming information. Figure 2-1. PC Board shows the locations of the various jumper blocks and
MON08 connector.
DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Re ference PC Board
8 Introduction and Setup MOTOROLA
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
For user operation mode, shorting jumpers need to be installed to jumper blocks JP1–JP4. Shorting jumper block JP1 is not necessary if the small PC board trace under jumper block JP1, on the bottom side of the PC board, has not been cut for microcontroller current monitoring.
Installation of 3-AA Alkaline batteries into the battery holder mounted on the bottom of the PC board is also required for setup. Note battery polarity on the battery holder. The PC board is now ready for use as an infrared remote control.
nc...
I
Introduction and Setup
Setup Guide
cale Semiconductor,
Frees
Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board DRM045
MOTOROLA Introduction and Setup 9
For More Information On This Product,
Go to: www.freescale.com
Loading...
+ 21 hidden pages