Freescale Semiconductor, Inc... Freescale Semiconductor, Inc. Cluster for Motorbikes Using the MC68HC908LJ12 and MC33970 Designer Reference Manual M68HC08 Microcontrollers DRM059/D Rev. 0 3/2004 MOTOROLA.COM/SEMICONDUCTORS For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc... Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... Cluster for Motorbikes Using the MC68HC908LJ12 and MC33970 Designer Reference Manual by: Jaromir Chocholac TU682 Czech Systems Laboratories e-mail: jaromir.chocholac@motorola.com 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.
Freescale Semiconductor, Inc. Revision History Revision History Revision Level March, 2004 N/A Description Initial release Page Number(s) N/A Freescale Semiconductor, Inc... Date DRM059 4 Cluster for Motorbikes Using the MC68HC908LJ12 and MC33970 Revision History For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. Designer Reference Manual — DRM059 Table of Contents Freescale Semiconductor, Inc... Section 1. Introduction 1.1 Application Intended Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.2 Benefits of Our Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Section 2. Quick Start 2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 System Requirements . . . . . . .
Freescale Semiconductor, Inc. Table of Contents 3.7 Speedometer Board Connectors and Dip Switch . . . . . . . . . . . . . . . 34 3.8 Memory Map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Section 4. Software Description Freescale Semiconductor, Inc... 4.1 4.1.1 4.1.2 4.1.3 DRM059 6 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Software Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Freescale Semiconductor, Inc. Table of Contents 4.3.5 4.3.5.1 4.3.6 4.3.6.1 4.3.7 4.3.8 4.3.9 Keyboard Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . KBI Initialization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Timer Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIM Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . External EEPROM Control . . . . . . . . . . . . . . . .
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... Table of Contents DRM059 8 Cluster for Motorbikes Using the MC68HC908LJ12 and MC33970 Table of Contents For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. Designer Reference Manual — DRM059 List of Figures and Tables Freescale Semiconductor, Inc... Figure Title 2-1 2-2 2-3 2-4 2-5 2-6 Demo System Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Front Panel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cluster Control Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command Window Prompt . . . . . . . . . . . . . . . . . . . . . . .
Freescale Semiconductor, Inc. List of Figures and Tables Freescale Semiconductor, Inc... Table DRM059 10 Title Page 2-1 2-2 Remote Control Connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Bootloader Connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3-1 3-2 3-3 3-4 3-5 3-6 Main Connector (JP1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tacho Stepper Motor Connector (J1). . . . . . . . . . . . . . . . . . . . . . .
Freescale Semiconductor, Inc. Designer Reference Manual — DRM059 Section 1. Introduction Freescale Semiconductor, Inc... 1.1 Application Intended Functionality This reference design of the Cluster for Motorbikes provides an example of the speedometer, odometer, tachometer, and fuel gauge functionality in the Cluster. The reference design demonstrates the application of the Gauge Driver Integrated Circuit (GDIC) together with an M68HC08 Microcontroller Unit (MCU).
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... Introduction DRM059 12 Cluster for Motorbikes Using the MC68HC908LJ12 and MC33970 Introduction For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. Designer Reference Manual — Cluster for Motorbikes Section 2. Quick Start Freescale Semiconductor, Inc... 2.1 Introduction This section describes the main procedures required to set up and start the Cluster for Motorbikes Demo Kit. The demo is designed to show the basic functionality of the Cluster for Motorbikes. The document also describes the specific steps and provides additional reference information.
Freescale Semiconductor, Inc. Quick Start Control Panel Tachometer Fuel Gauge Power Supply Freescale Semiconductor, Inc... Speedometer / Odometer ODO/TRIP Switch Button Remote Control from Control Panel (Parallel Port) Application Reprogramming (Serial Port) Local Control Figure 2-1. Demo System Layout 2.3 Cluster Control Panel Installation The Cluster Control Panel application is distributed on a CD ROM. To install the Cluster Control Panel application, follow this step-by-step procedure: 1.
Freescale Semiconductor, Inc. Quick Start Demo System Setup 2.4 Demo System Setup The Cluster application software has the following embedded functions: • Speedometer and odometer • Tachometer • Fuel gauge Freescale Semiconductor, Inc... Each function can run in either Local or Remote control mode. The Mode selection is made through switches as shown in Figure 2-2 Figure 2-2. Front Panel 2.4.1 Local Mode Setting up the demo to the Local mode does not require any special action.
Freescale Semiconductor, Inc. Quick Start Step 1 Switch OFF the Cluster Demo module PWR switch. See Figure 2-2 CAUTION: To avoid possible damage to the PC parallel port, the power to the Cluster Demo module must be switched OFF before connecting or disconnecting a straight-through parallel cable from the PC to the Cluster Demo module. Step 2 Set up all switches to the “REM” position. Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Quick Start Remote Control Connector Description 2.5 Remote Control Connector Description Table 2-1 provides a description of the remote control connectors. Table 2-1. Remote Control Connectors Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Quick Start Step 2 Connect a straight-through serial cable from the PC to the Cluster Demo module “BOOTLOADER” connector. Step 3 Start the cmd.exe file from Windows. Step 4 Start the hc08sprg.exe file with the required parameters from the Command window. The command line for the hc08sprg.exe file has the following syntax: Freescale Semiconductor, Inc... hc08sprg port[:][S|D|?] [speed] file port:D ..............dual wire mode port:S ..............
Freescale Semiconductor, Inc. Quick Start Bootloader Connector Description Freescale Semiconductor, Inc... Step 6 To program the device, answer “y” (see Figure 2-6). Figure 2-6. Command Window when Programming After the programming is finished, the embedded program starts to run. 2.7 Bootloader Connector Description Table 2-2 provides a description of the bootloader connectors. Table 2-2.
Freescale Semiconductor, Inc. Quick Start 2.8 ODO/TRIP Button Functions The Cluster can operate in either odometer or tripmeter mode. The odometer mode is indicated by “ODO” label, and tripmeter mode is indicated by “TRIP” label on the LCD display. The basic function of the ODO/TRIP button is to switch between these two modes of operation. ODO/TRIP toggle Each push of the switch button for a time shorter then 1s will toggle between the ODO or TRIP modes. Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Designer Reference Manual — DRM059 Section 3. Hardware Description 3.1 Introduction Freescale Semiconductor, Inc... This reference design of the Cluster for Motorbikes provides these basic modules: speedometer, odometer, tachometer, and fuel gauge for the motorbike’s cluster. In addition to this, the Cluster for Motorbikes can be used as a hardware platform for the software development. It also enables the implementation and testing of user’s software.
Freescale Semiconductor, Inc. Hardware Description 3.2 How Instruments Work This section provides a short overview of how the cluster instruments work. 3.2.1 Speedometer and Odometer Freescale Semiconductor, Inc... The speedometer used on motorbikes indicates the speed of the motorbike and records the distance the motorbike has travelled. Speedometers are calibrated in kilometres and/or in miles per hour. The instrument also records the traveled distance, recorded in kilometres or miles.
Freescale Semiconductor, Inc. Hardware Description Technical Data 3.3 Technical Data Freescale Semiconductor, Inc... The following list provides technical data for the Cluster for Motorbikes itself, as well as for individual Motorola devices used in the Cluster.
Freescale Semiconductor, Inc. Hardware Description 3.3.1 MC68HC908LJ12 Processor The control unit of the Cluster for Motorbikes is the MC68HC908LJ12 microcontroller unit (MCU). The MCU uses an 8-bit enhanced central processor unit (CPU08) and a variety of peripheral modules. Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Hardware Description Functionality 3.3.2 MC33970 Gauge Driver The MC33970 device is a single packaged, Serial Peripheral Interface (SPI) controlled, dual stepper motor Gauge Driver Integrated Circuit (GDIC). This monolithic IC consists of four dual output H-Bridge coil drivers and the associated control logic.
Freescale Semiconductor, Inc. Hardware Description The Cluster for Motorbikes can be logically divided into the following four basic blocks: • Microcontroller • Gauge driver • Input signal conditioning • Power supply Freescale Semiconductor, Inc... Data transfer between the Microcontroller and Gauge driver is ensured by the SPI protocol. 3.5.1 Microcontroller The main function of this part of the Cluster for Motorbikes is to control the application.
Freescale Semiconductor, Inc. Hardware Description Architecture slave SPI device; slave devices that are not selected do not interfere with SPI bus activities. The SPI can be configured to operate as a master or as a slave. The master mode must be selected for the SPI module to control the GDIC, because only a master SPI module can initiate transmissions. The Cluster for Motorbikes uses one channel (ADC3) of the Analog-to-Digital Converter (ADC) to perform fuel level sensing.
Freescale Semiconductor, Inc. Hardware Description 3.5.1.1 External EEPROM Freescale Semiconductor, Inc... An external EEPROM (M24C04) is used to store Odometer and Tripmeter data. The device is compatible with the I2C memory protocol. The device carries a built-in 4-bit Device Type Identifier code (1010) in accordance with the I2C bus definition. The device behaves as a slave in the I2C protocol, with all memory operations synchronized by the serial clock.
Freescale Semiconductor, Inc. Hardware Description Architecture 3.5.2 Gauge Driver The GDIC MC33970 is able to control two instrumentation stepper motors. One of the stepper motors is a part of the speedometer board (U4), another is connected through the connector J1. See Figure 3-3.
Freescale Semiconductor, Inc. Hardware Description 3.5.3 Input Signals Conditioning The digital speedometer is operated by a speed sensor that outputs electrical pulses, as well as a revolution sensor, outputs pulses to be processed by the microcontroller. The pulses are in the frequency range 0 to 400 Hz. The microcontroller manipulates these signals by Timer Interface Modules (TIM1, TIM2) in the input capture mode. To improve the signal shapes, some signal conditioning circuitry was designed.
Freescale Semiconductor, Inc. Hardware Description Architecture 3.5.4 The Power Supply The Cluster is supplied from the 12-V motorbike battery. A simple linear voltage regulator MC7805 is used to provide a 5-V power supply for the Cluster devices. The schematic of the power supply can be seen in Figure 3-6 VBAT 1 Freescale Semiconductor, Inc... D8 1SMA5939BT3 VBAT+ VCC U2 MC78058T R16 3R9 1 2 + + C1 470µF/35V C15 470µF/35V VIN VOUT GND 2 3 1 + C4 100µF/6.
Freescale Semiconductor, Inc. Hardware Description 3.6 Speedometer Board Layout Freescale Semiconductor, Inc... Detailed layout plans of the Cluster for Motorbikes boards with the names of all components are shown in Figure 3-7 and Figure 3-8. Figure 3-7. Speedometer Board Component Side Layout DRM059 32 Cluster for Motorbikes Using the MC68HC908LJ12 and MC33970 Hardware Description For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... Hardware Description Speedometer Board Layout Figure 3-8. Speedometer Board Solder Side Layout Cluster for Motorbikes Using the MC68HC908LJ12 and MC33970 MOTOROLA Hardware Description For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. Hardware Description 3.7 Speedometer Board Connectors and Dip Switch Table 3-1 through Table 3-4 describe the speedometer board connector pin assignments and their meanings. Table 3-5 shows the dip switch settings. Table 3-1. Main Connector (JP1) Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Hardware Description Memory Map 3.8 Memory Map The MC68HC908LJ12 device memory map is shown in Table 3-6 Freescale Semiconductor, Inc... Table 3-6.
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... Hardware Description DRM059 36 Cluster for Motorbikes Using the MC68HC908LJ12 and MC33970 Hardware Description For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. Designer Reference Manual — DRM059 Section 4. Software Description Freescale Semiconductor, Inc... 4.1 Introduction This section of the reference design provides a complete documentation of the Cluster for Motorbikes software. 4.1.1 Software Basics All embedded software of this project was written using the CodeWarrior for Motorola 8- and 16-bit MCU, CW08 V2.1, by Metrowerks Corporation refer to: http://www.metrowerks.
Freescale Semiconductor, Inc. Software Description 4.1.3 Demo Application Basics A detailed introduction describing software installation, demo setup, and configuration of the application is given in Section 2. Quick Start. Hence 4.3 Software Implementation will primarily provide information of the software implementation of the Cluster for Motorbikes. The aim of the demo application is to show the main features of the Cluster for Motorbikes. Freescale Semiconductor, Inc... 4.
Freescale Semiconductor, Inc. Software Description Project Introduction 4.2.1.2 Utilized MCU Peripherals All MCU peripheral components used in the project are briefly described here. It gives an overall summary picture of the necessary MCU resources. Usage of the Timer Interface Modules is given in Table 4-1 and Table 4-2. Freescale Semiconductor, Inc... Table 4-1. TIM1 Module MCU Pin Symbolic Name of the Signal T1CH0 N.A. Speedo signal time interval data conversion Int_Timer1CH0 T1CH1 N.A.
Freescale Semiconductor, Inc. Software Description A description of the General Purpose I/O (GPIO) usage is given in Table 4-4. Freescale Semiconductor, Inc... Table 4-4.
Freescale Semiconductor, Inc. Software Description Project Introduction 4.2.2 Utilized Interrupts All interrupts used within the Cluster for Motorbikes project are briefly listed in Table 4-8. Freescale Semiconductor, Inc... Table 4-8.
Freescale Semiconductor, Inc. Software Description 4.2.3 Project Variables and Flags In this section a brief description of main project variables and flags is given. These variables are related to the basic cluster functions. 4.2.3.1 Speedometer Function Freescale Semiconductor, Inc... In addition to the following, there are also a couple of symbolic constants (defined in speedo.h), controlling the behavior and configuration of the application.
Freescale Semiconductor, Inc. Software Description Project Introduction 4.2.3.5 Cluster Flags Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Software Description 4.2.4 Memory Usage Table 4-9 shows the Cluster for Motorbikes software memory usage. Freescale Semiconductor, Inc... Table 4-9. Memory Usage Type of Memory Total Size (B) Used Memory (B) Program FLASH C000h D05h Z_RAM 60h 2Dh RAM 100h 7h RAM — STACK 108h 50h 4.3 Software Implementation In this section a complete description of the key software modules for the reference design is given. 4.3.
Freescale Semiconductor, Inc. Software Description Software Implementation INTRODUCTORY PART HARDWARE FUNCTIONALITY PRESENTATION MAIN LOOP Freescale Semiconductor, Inc... RESET SPEEDOMETER TASK HARDWARE INITIALIZATION ODOMETER TASK TACHOMETER TASK FUEL GAUGE TASK Figure 4-1. Application Flow Chart 4.3.1.2 Hardware Initialization The hardware initialization task is an introductory part of the main application routine. It initializes all hardware parts used by the application. 4.3.1.
Freescale Semiconductor, Inc. Software Description 4.3.1.4 Speedometer Task The speedometer indicates the speed of the motorbike in kilometres and/or in miles per hour. The digital speedometer used in application is operated by a speed sensor that outputs electrical pulses to be processed by the microcontroller. The microcontroller measures the frequency or period of the pulses, and uses them to calculate the speed.
Freescale Semiconductor, Inc. Software Description Software Implementation Freescale Semiconductor, Inc... Both factors are taken into consideration in the “SPEEDO_CONST” constant defined in the speedo.h file. See the code listing below.
Freescale Semiconductor, Inc. Software Description 4.3.1.5 Odometer Task Freescale Semiconductor, Inc... The odometer records the distance that the motorbike has travelled; it is recorded in kilometres or miles. The odometer in the application records the total distance travelled, and also the distance of individual trips. These can be reset to zero. The number of pulses per kilometre or mile is important information.
Freescale Semiconductor, Inc. Software Description Software Implementation 4.3.1.6 Tachometer Task The tachometer gives the engine speed in revolutions per minute (rpm). The digital tachometer is operated by a revolution sensor or engine control unit that outputs electrical pulses to be processed by the microcontroller. The microcontroller measures the frequency or period of the pulses and uses them to calculate the rpm.
Freescale Semiconductor, Inc. Software Description The “RPM_CONST” is a complex constant that also takes into consideration: • Sample period for the input capture impulses (SAMPLE_PERIOD) • Maximum rpm to be indicated by tachometer (MAX_RPM) • Maximum number of the pointer steps driven by the stepper motor, for max angle indication (MAX_STEPS_RPM) Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Software Description Software Implementation Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Software Description 4.3.2.2 SPI Communication Routine For the SPI communication, the following function is implemented: Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Software Description Software Implementation 4.3.3 MC33970 Device Control The MC33970 device is controlled from the microcontroller via the 16-bit SPI protocol and reports back the status information. The MC33970 uses six registers to control the device. The registers are addressed via D15:D13 of the SPI word. See Table 4-10. For more details refer to the MC33970 Data Sheet (Motorola document order number MC33970/D). Freescale Semiconductor, Inc... Table 4-10.
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Software Description Software Implementation 4.3.3.2 VELR_CMD Macro This macro controls “Maximum Velocity Register”. Syntax of the macro is as follows: Freescale Semiconductor, Inc... VELR_CMD(gauge1vel,gauge0vel,maxvel) • gauge1vel – Specifies whether the maximum velocity specified in the “maxvel” parameter will apply to gauge 1 or not.
Freescale Semiconductor, Inc. Software Description 4.3.3.5 RTZR_CMD Macro This macro controls “Gauge Return to Zero Register”. Syntax of the macro is the following: Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Software Description Software Implementation 4.3.3.6 RTZCR_CMD Macro This macro controls “Gauge Return to Zero Configuration Register”. This register modifies the step time, at which the pointer moves during the RTZ event. The full step time is generated using the following equation: FullStep(t) = Delta(t) * M + blanking(t) Syntax of the macro is as follows: Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Software Description 4.3.3.7 GDIC Device Initialization The initialization is implemented in Gdic_init() routine (GDIC.c). Freescale Semiconductor, Inc... There is a couple of key actions to initialize the gauge device: • Apply RESET to GDIC • Disable gauges before calibration • Clock calibration • Enable both gauges • Read status • Wait 40 ms, allowing power to be applied to the motor coils • Set zero position to gauge 0 • Set zero position to gauge 1 4.3.
Freescale Semiconductor, Inc. Software Description Software Implementation 4.3.4.1 LCD Symbols Coding The LCD display used in the application contains six 7-segment digits and four labels; ODO, TRIP, A, B. Symbolic labels for each segment of the 7-segment digit can be seen in Figure 4-5 a f b g Freescale Semiconductor, Inc... e c d Figure 4-5. Display Segments Labels The LCD symbols coding is done through the coding table. See Figure 4-6.
Freescale Semiconductor, Inc. Software Description The “Input code” in the table represents a parameter (number) of the Lcd_seg(x)_display (number) routine. NOTE: x in the routine name represents an identifier of the LCD digit. The “Indicated symbol” in the table represents a symbol to be displayed on the selected digit of the LCD display. The next columns represent the segment assignments for each bit in the LCD data registers. Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Software Description Software Implementation 4.3.5 Keyboard Control The MCU has an embedded Keyboard Interrupt module (KBI) that can provide eight independently maskable external interrupts. When a port pin is enabled for keyboard interrupt function, an internal 30 kOhm pull-up device is enabled on the pin. The application uses two pins only: KBI0, and KBI4. The KBI0 pin serves the “ODO/TRIP” switch, and the KBI4 serves power down sensing function. 4.3.5.
Freescale Semiconductor, Inc. Software Description 4.3.6.1 TIM Initialization The initialization is implemented in Timer1_init(), and Timer2_init() routines (timer.c). The Timer1_init() routine initialize both channels of the TIM1 module for the input capture function. Freescale Semiconductor, Inc... Here is complete listing of the Timer1_init().
Freescale Semiconductor, Inc. Software Description Software Implementation 4.3.7 External EEPROM Control An external EEPROM is used to store Odometer and Tripmeter data. The device is compatible with the I2C memory protocol and behaves as a slave. MCU emulates the I2C protocol by software. The I2C communication channel is initiated by the I2Cinit() routine. Data is stored by the SaveData(data), and read by the ReadData(data) routines. Freescale Semiconductor, Inc... 4.3.
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... Software Description DRM059 64 Cluster for Motorbikes Using the MC68HC908LJ12 and MC33970 Software Description For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. Designer Reference Manual — Cluster for Motorbikes Appendix A. Bill of Materials and Schematics Freescale Semiconductor, Inc... A.1 Speedometer Bill of Materials Reference Dstributor Number Item Quantity Part 1 2 C1,C15 470µF/35V Farnell 320-1600 2 2 C5,C2 1µF/50V Farnell 556-312 3 2 C12,C3 1nF 4 1 C4 100µF/6.
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc...
A B C C 1 2 2 2 5 4 3 2 1 VBAT+ SPEED SNS FUEL SNS RPM SNS VBAT- MRA4007T3 D2 5 D8 2 D3 R3 C1 R1 C12 1nF 25V 39k D9 R6 R7 10M D7 C2 10k 1 2 1 C5 D1 1N4148 B R15 100k E C R2 10k E Q2 BC847B R8 10k 4 3 2 PTD4/KBI4 BP2 BP1 BP0 PTB5/T2CH1 PTB4/T2CH0 PTB3/T1CH1 TP5 TP6 HDR8 J3 8 7 6 5 RTZ PROGRAMMING BUTTON S1 KSC241J 40 C17 10nF 25V KBI0 3 VCC U7 7 6 1 2 SDA M24C04-MN6 WP SCL A0 A1 U5 IRQ PTD3/SPSCK FP13 FP14 FP15 FP16 FP17 FP18 PT
Designer Reference Manual Bill of Materials and Schematics For More Information On This Product, Go to: www.freescale.com A B COM0 COM1 COM2 SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 COM3 5 4 4 3 Title CLUSTER 2 2 Modify Date: Wednesday, September 17, 2003 Sheet Copyright Motorola 2001 POPI Status: 1 of 1 1 MOTOROLA General Business Rev 0.2 MCSL Roznov 1. maje 1009 756 61 Roznov p.R.
DRM059 Bill of Materials and Schematics For More Information On This Product, Go to: www.freescale.com A B C 5 7 8 3 4 HDR8 6 2 TP5 TP4 TP2 TP1 TP3 TP7 4 3 UDN2981A DO1 DO2 DO3 DO4 DO5 DO6 DO7 DO8 GND 18 17 16 15 14 13 12 11 10 1 R1 2 680R 1 2 R2 270R 1 R5 1 R3 2 390R G G Figure A-3. Demo Fuel Indicator TP7 TP4 TP2 TP1 TP3 TP5 TP8 10 11 U1 9 12 5 DI1 DI2 DI3 DI4 DI5 DI6 DI7 DI8 +VS 8 13 1 1 2 3 4 5 6 7 8 9 1 2 R4 390R 7 14 TP8 6 15 J3 5 16 2 0.
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... Bill of Materials and Schematics Designer Reference Manual 70 DRM059 Bill of Materials and Schematics For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. Designer Reference Manual — Cluster for Motorbikes Glossary Freescale Semiconductor, Inc... A — See “accumulators (A and B or D).” accumulators (A and B or D) — Two 8-bit (A and B) or one 16-bit (D) general-purpose registers in the CPU. The CPU uses the accumulators to hold operands and results of arithmetic and logic operations. acquisition mode — A mode of PLL operation with large loop bandwidth. Also see ’tracking mode’.
Freescale Semiconductor, Inc. Glossary bit — A binary digit. A bit has a value of either logic 0 or logic 1. branch instruction — An instruction that causes the CPU to continue processing at a memory location other than the next sequential address. break module — The break module allows software to halt program execution at a programmable point in order to enter a background routine. Freescale Semiconductor, Inc... breakpoint — A number written into the break address registers of the break module.
Freescale Semiconductor, Inc. Glossary control unit — One of two major units of the CPU. The control unit contains logic functions that synchronize the machine and direct various operations. The control unit decodes instructions and generates the internal control signals that perform the requested operations. The outputs of the control unit drive the execution unit, which contains the arithmetic logic unit (ALU), CPU registers, and bus interface. COP — See "computer operating properly module (COP).
Freescale Semiconductor, Inc. Glossary enhanced capture timer (ECT) — The HC12 Enhanced Capture Timer module has the features of the HC12 Standard Timer module enhanced by additional features in order to enlarge the field of applications. exception — An event such as an interrupt or a reset that stops the sequential execution of the instructions in the main program. fetch — To copy data from a memory location into the accumulator. firmware — Instructions and data programmed into nonvolatile memory.
Freescale Semiconductor, Inc. Glossary latency — The time lag between instruction completion and data movement. least significant bit (LSB) — The rightmost digit of a binary number. logic 1 — A voltage level approximately equal to the input power voltage (VDD). logic 0 — A voltage level approximately equal to the ground voltage (VSS). low byte — The least significant eight bits of a word. M68HC12 — A Motorola family of 16-bit MCUs. Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Glossary multiplexer — A device that can select one of a number of inputs and pass the logic level of that input on to the output. nibble — A set of four bits (half of a byte). object code — The output from an assembler or compiler that is itself executable machine code, or is suitable for processing to produce executable machine code. opcode — A binary code that instructs the CPU to perform an operation. Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Glossary prescaler — A circuit that generates an output signal related to the input signal by a fractional scale factor such as 1/2, 1/8, 1/10 etc. program — A set of computer instructions that cause a computer to perform a desired operation or operations. program counter (PC) — A 16-bit register in the CPU. The PC register holds the address of the next instruction or operand that the CPU will use. Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc. Glossary signed — A binary number notation that accommodates both positive and negative numbers. The most significant bit is used to indicate whether the number is positive or negative, normally logic 0 for positive and logic 1 for negative. The other seven bits indicate the magnitude of the number. software — Instructions and data that control the operation of a microcontroller. software interrupt (SWI) — An instruction that causes an interrupt and its associated vector fetch.
Freescale Semiconductor, Inc. Glossary vector — A memory location that contains the address of the beginning of a subroutine written to service an interrupt or reset. voltage-controlled oscillator (VCO) — A circuit that produces an oscillating output signal of a frequency that is controlled by a dc voltage applied to a control input. waveform — A graphical representation in which the amplitude of a wave is plotted against time.
Freescale Semiconductor, Inc. Freescale Semiconductor, Inc... Glossary Designer Reference Manual 80 DRM059 Glossary For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc... Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.
Freescale Semiconductor, Inc. HOW TO REACH US: USA/EUROPE/LOCATIONS NOT LISTED: Motorola Literature Distribution P.O. Box 5405 Denver, Colorado 80217 1-800-521-6274 or 480-768-2130 Freescale Semiconductor, Inc... JAPAN: Motorola Japan Ltd. SPS, Technical Information Center 3-20-1, Minami-Azabu, Minato-ku Tokyo 106-8573, Japan 81-3-3440-3569 ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd. Silicon Harbour Centre 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T.