Freescale Semiconductor M68HC08 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Freescale Semiconductor M68HC08, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Freescale Semiconductor M68HC08 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Freescale Semiconductor M68HC08. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Freescale Semiconductor M68HC08 should contain:
- informations concerning technical data of Freescale Semiconductor M68HC08
- name of the manufacturer and a year of construction of the Freescale Semiconductor M68HC08 item
- rules of operation, control and maintenance of the Freescale Semiconductor M68HC08 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Freescale Semiconductor M68HC08 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Freescale Semiconductor M68HC08, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Freescale Semiconductor service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Freescale Semiconductor M68HC08.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Freescale Semiconductor M68HC08 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    MO T OROLA.COM/SEMICONDUCT ORS M68HC08 Microcontrollers DRM045/D Re v . 0 Using the ASB520 Designer Ref erence Manual MC68HC908QT2 Based Infrared Remote Control Reference PC Board 9/2003 Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Page 2

    Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Page 3

    Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA 3 Motorola and the Stylized M Lo go are regi stered trademarks of Motorola, Inc. DigitalDNA is a trademark of Motorola, Inc. This product incorporates Su perFlash® technol ogy licensed from SST. © Motorola, Inc., 2003 Using the ASB520 MC68HC908QT2 Base[...]

  • Page 4

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 4 Revision History MOTOROLA Revisi on Histor y Revision History Date Revision Level Description Page Number(s) September , 2003 N/A Initial release N/A Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.free[...]

  • Page 5

    Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Table of Contents 5 Designer Reference Manual — DRM045 Table of Contents Section 1. Introduction and Setup 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2 About this Manual . . . . . . . [...]

  • Page 6

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 6 Table of Contents MOTOROLA T able of Contents Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Page 7

    Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Introduction and Setup 7 Designer Reference Manual — DRM045 Section 1. Introduction and Setup 1.1 Introduction Motorola’s ASB520, MC68HC908QT2 Infrared Remote Contro l Reference PC Board and software are designed to demon strate how a simple, limited[...]

  • Page 8

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 8 Introduction and Setup MOTOROLA Intr oduction and Setup Figure 1-1. MC68HC908QT2 IR Re ference PC Board Photograph 1.3 Setup Guide Setup for the reference design PC board can be broken into two parts. • The first is normal user operation mode. • The second [...]

  • Page 9

    Introduction and Setup Setup Guide Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Introduction and Setup 9 For user operation mode, shorting jump ers nee d 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 th [...]

  • Page 10

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 10 Introduction and Setup MOTOROLA Intr oduction and Setup Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Page 11

    Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Operational Descri ption 11 Designer Reference Manual — DRM045 Section 2. Operational Description 2.1 Introduction The following subsecti ons describe the o peration of the ASB520, MC68HC908QT2 infrared remote contro l reference design system. LEDs, sw[...]

  • Page 12

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 12 Operational Descri ption MOTOROLA Operational Description Figure 2-1. PC Board JP1 JP2 JP4 JP3 J1 Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Page 13

    Operational Description Header and Jumpe rs Blocks Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Operational Descri ption 13 2.4 Header and Jumpers Blocks There is one 16-pin header (2 x 8-pin ), J1, and four 2-pin jumper blocks, JP1–JP4, on the PC board. See Figure 2-1 for their locations on the [...]

  • Page 14

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 14 Operational Descri ption MOTOROLA Operational Description 2.5 Microcontroller Curr ent Monitor Jumper Block Jumper block JP1 is intended as a connectio n on the PC board to measure the stop current of the MC68HC908QT2. To use the feature, you must cut the sma [...]

  • Page 15

    Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Pin Description 15 Designer Reference Manual — DRM045 Section 3. Pin Description 3.1 Introduction There is one connector resident on the control board , labeled J1. It is the MON08 connector. The following subsec tion describes signals on connector J1.[...]

  • Page 16

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 16 Pi n Description MOTOROLA Pin Description Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Page 17

    Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Schematic and Parts List 17 Designer Reference Manual — DRM045 Section 4. Schematic and Parts List 4.1 Introduction Schematic and parts list d etail are documented in this section. 4.2 Schematic A schematic of the reference design PC board appe ars in [...]

  • Page 18

    DRM045 Using the ASB520 MC68HC908QT2 Based Infr ared Remote Control Ref erence PC Board 18 Schematic and Parts List MOTOROLA Schematic and P arts List Figure 4-1. ASB520 PC Board Schematic Vdd SW3 FWD PTA2 PTA5 PTA5 R7 10 PTA0 Vbat U1 NITRON_8_PIN_ADC 3 2 5 6 7 8 4 1 PTA4/OSC2/AD2/KBI4 PTA5/OSC1/AD3/KBI5 PTA2/IRQ/KBI2 PTA1/AD1/TCH1/KBI1 PTA0/AD0/TC[...]

  • Page 19

    Schematic and Parts List Parts List Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Schematic and Parts List 19 4.3 Parts List The following parts list describes the par ts content for the IR reference PC board. T able 4-1. Reference PC Boar d Parts List Designators Qty. Description Manufacturer Part [...]

  • Page 20

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 20 Schematic and Parts List MOTOROLA Schematic and P ar ts List Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Page 21

    Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Design Considerations 21 Designer Reference Manual — DRM045 Section 5. Design Considerations 5.1 Introduction Microcontroller systems, in general, have a number of important design considerations related to PC boar d layout and grounding considerations[...]

  • Page 22

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 22 Design Considerations MOTOROLA Design Considerations A logic 1 from port A, bit 0 will turn the NPN transistor on, driving its collector low. The low level applied to the base of the PNP transistor, Q2, will drive its emitter to collector into conduction, illu[...]

  • Page 23

    Design Co nsiderations Switch Circuitry Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA Design Considerations 23 The spreadsheet in Table 5-1 gives the decima l values seen by the A/D, based on which switch is depressed. Becaus e the voltage from the switches is ratiometric to V DD , power supply vari[...]

  • Page 24

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 24 Design Considerations MOTOROLA Design Considerations Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Page 25

    Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA System Testing 25 Designer Reference Manual — DRM045 Section 6. System Testing 6.1 Introduction This section will first explain how to program the control p rogram into FLASH memory of the MC68HC908QT2 microcontroll er. It will then, in det ail, provid[...]

  • Page 26

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 26 System Testing MOTOROLA System T esting 6.4 LED and Pu sh Button Test Code Test code is embedded in the ASB520 c ontrol program. This test code will test the switches, LED drive circuitry and visibl e LED, D2. The infrared led, D1, is illuminated, but you can?[...]

  • Page 27

    System Testing DVD Player Control Test Using the ASB520 MC68HC908QT2 Based Infrared Remo te Control Reference PC Board DRM045 MOTOROLA System Testing 27 6.5 DVD Player Control Test To test the infrared diode and the rest of the system in user mode, install a music CD in the APEX model 1201 DVD player. Music CDs appear to respond faster than video C[...]

  • Page 28

    DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Ref erence PC Board 28 System Testing MOTOROLA System T esting 15. Point the ASB520 board with LED D1 toward the DVD player and depress the REVERSE switch on the ASB520 PC board. The music will back-up, at a high rate, until it reaches the beginning of the song, at which time it wil[...]

  • Page 29

    Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Page 30

    HOW TO REACH US: USA/EUROPE/LOCATIONS NOT LISTED: Motorola Literature Distribution P .O . Box 5405 Denv er, Color ado 80 217 1-800-521-6274 or 480-768-2130 JAPAN: Motorola Japan Ltd. SPS, T echnical Information Center 3-20-1, Minami-Azabu, Minato-ku T okyo 106-8573, Japan 81-3-3440-3569 ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd. Silicon Harbou[...]