Freescale Semiconductor, I

Size: px
Start display at page:

Download "Freescale Semiconductor, I"

Transcription

1 Data Sheet Summary MC68HC98QYSM/D Rev.., / MC68HC98QY, MC68HC98QT, MC68HC98QY, MC68HC98QT, MC68HC98QY, MC68HC98QT Introduction General Description This document provides an overview of the MC68HC98QY, MC68HC98QT, MC68HC98QY, MC68HC98QT, MC68HC98QY, and MC68HC98QT devices. For complete details refer to the MC68HC98QY Data Sheet (Motorola document order number MC68HC98QY/D). The MC68HC98QY is a member of the low-cost, high-performance M68HC8 Family of 8-bit microcontroller units (MCUs). The M68HC8 Family is a Complex Instruction Set Computer (CISC) with a Von Neumann architecture. All MCUs in the family use the enhanced M68HC8 central processor unit (CPU8) and are available with a variety of modules, memory sizes and types, and package types. Table. MC Order Numbers MC Order Number ADC FLASH Memory Package MC68HC98QY 6 bytes MC68HC98QY Yes 6 bytes MC68HC98QY Yes 96 bytes MC68HC98QT 6 bytes MC68HC98QT Yes 6 bytes MC68HC98QT Yes 96 bytes Temperature and package designators: C = C to +8 C V = C to + C (available for V DD = V only) M = C to + C (available for V DD = V only) P = Plastic dual in-line package (PDIP) DW = Small outline integrated circuit package (SOIC) DT = Thin shrink small outline package (TSSOP) FQ = Dual flat no lead (DFN) 6-pins PDIP, SOIC, and TSSOP 8-pins PDIP, SOIC, and DFN This product incorporates SuperFlash technology licensed from SST.

2 MC68HC98QYSM/D Features Features include: High-performance M68HC8 CPU core Fully upward-compatible object code with M68HC Family -V and -V operating voltages (V DD ) 8-MHz internal bus operation at V, -MHz at V Trimmable internal oscillator. MHz internal bus operation 8-bit trim capability, ± % trimmed Auto wakeup from STOP capability Configuration (CONFIG) register for MCU configuration options, including low-voltage inhibit (LVI) trip point In-system FLASH programming FLASH security () On-chip in-application programmable FLASH memory (with internal program/erase voltage generation) MC68HC98QY and MC68HC98QT 96 bytes MC68HC98QY, MC68HC98QY, MC68HC98QT, and MC68HC98QT 6 bytes 8 bytes of on-chip random-access memory (RAM) -channel, 6-bit timer interface module (TIM) -channel, 8-bit analog-to-digital converter (ADC) on MC68HC98QY, MC68HC98QY, MC68HC98QT, and MC68HC98QT or bidirectional input/output (I/O) lines and one input only: High current sink/source capability on all port pins Selectable pullups on all ports, selectable on an individual bit basis 6-bit keyboard interrupt with wakeup feature (KBI) Low-voltage inhibit (LVI) module features software selectable trip point in CONFIG register. No security feature is absolutely secure. However, Motorola s strategy is to make reading or copying the FLASH diicult for unauthorized users. Data Sheet Summary MC68HC98QY/QT Family Rev.. Features

3 MC68HC98QYSM/D MCU Block Diagram MCU Block Diagram Memory System protection features: Computer operating properly (COP) watchdog Low-voltage detection with reset Illegal opcode detection with reset Illegal aress detection with reset External asynchronous interrupt pin with internal pullup (IRQ) shared with general-purpose input pin Master asynchronous reset pin (RST) shared with general-purpose I/O pin Power-on reset Internal pullups on IRQ and RST to reduce external components Memory mapped I/O registers Power saving stop and wait modes MC68HC98QY, MC68HC98QY, and MC68HC98QY are available in these packages: 6-pin plastic dual in-line package (PDIP) 6-pin small outline integrated circuit (SOIC) package 6-pin thin shrink small outline package (TSSOP) MC68HC98QT, MC68HC98QT, and MC68HC98QT are available in these packages: 8-pin PDIP 8-pin SOIC 8-pin dual flat no lead (DFN) See Figure. The central processor unit (CPU8) can aress 6 Kbytes of memory space. The memory map is shown in Figure. Aresses $ $F, shown in Figure, contain most of the control, status, and data registers. The vector aresses are shown in Table. MC68HC98QY/QT Family Rev.. MCU Block Diagram Data Sheet Summary

4 MC68HC98QYSM/D V DD V SS POWER SUPPLY CLOCK GENERATOR SYSTEM INTEGRATION MODULE SINGLE INTERRUPT MODULE BREAK MODULE POWER-ON RESET MODULE 6-BIT TIMER MODULE COP MODULE MONITOR ROM PTB[:7] PTB DDRB PTA/AD/TCH/KBI CPU CONTROL ALU 68HC8 CPU ACCUMULATOR CPU REGISTERS INDEX REGISTER STACK POINTER PROGRAM COUNTER CONDITION CODE REGISTER V H I N Z C 8-BIT ADC PTA DDRA PTA/AD/TCH/KBI PTA/IRQ/KBI PTA/RST/KBI PTA/OSC/AD/KBI PTA/OSC/AD/KBI 8 BYTES RAM MC68HC98QY AND MC68HC98QT: 96 BYTES MC68HC98QY, MC68HC98QY, MC68HC98QT, AND MC68HC98QT: 6 BYTES USER FLASH RST, IRQ: Pins have internal (about K Ohms) pull up PTA[:]: High current sink and source capability PTA[:]: Pins have programmable keyboard interrupt and pull up PTB[:7]: Not available on 8-pin devices MC68HC98QT, MC68HC98QT, and MC68HC98QT Figure. Block Diagram Data Sheet Summary MC68HC98QY/QT Family Rev.. Memory

5 MC68HC98QYSM/D Pin Assignments Pin Assignments V DD 8 V SS V DD 8 V SS PTA/OSC/KBI 7 PTA/TCH/KBI PTA/OSC/AD/KBI 7 PTA/AD/TCH/KBI PTA/OSC/KBI 6 PTA/TCH/KBI PTA/OSC/AD/KBI 6 PTA/AD/TCH/KBI PTA/RST/KBI PTA/IRQ/KBI PTA/RST/KBI PTA/IRQ/KBI 8-PIN ASSIGNMENT MC68HC98QT PDIP/SOIC 8-PIN ASSIGNMENT MC68HC98QT AND MC68HC98QT PDIP/SOIC V DD PTB7 PTB6 PTA/OSC/KBI PTA/OSC/KBI PTB PTB PTA/RST/KBI PTA/TCH/KBI PTB PTB V SS V DD PTB7 PTB6 PTA/OSC/KBI PIN ASSIGNMENT MC68HC98QY PDIP/SOIC PIN ASSIGNMENT MC68HC98QY TSSOP 9 9 V SS PTB PTB PTA/TCH/KBI PTA/TCH/KBI PTB PTB PTA/IRQ/KBI PTA/TCH/KBI PTB PTB PTA/IRQ/KBI PTA/RST/KBI PTB PTB PTA/OSC/KBI V DD PTB7 PTB6 PTA/OSC/AD/KBI PTA/OSC/AD/KBI PTB PTB PTA/RST/KBI V SS PTB PTB PTA/AD/TCH/KBI PTA/AD/TCH/KBI PTB PTB PTA/IRQ/KBI 6-PIN ASSIGNMENT MC68HC98QY AND MC68HC98QY PDIP/SOIC PTA/AD/TCH/KBI PTB PTB V SS V DD PTB7 PTB6 PTA/OSC/AD/KBI PTA/AD/TCH/KBI PTB PTB PTA/IRQ/KBI PTA/RST/KBI PTB PTB PTA/OSC/AD/KBI 6-PIN ASSIGNMENT MC68HC98QY AND MC68HC98QY TSSOP 6 9 PTA/TCH/KBI 8 PTA/TCH/KBI PTA/AD/TCH/KBI 8 PTA/AD/TCH/KBI V SS 7 PTA/IRQ/KBI V SS 7 PTA/IRQ/KBI V DD 6 PTA/RST/KBI V DD 6 PTA/RST/KBI PTA/OSC/KB PTA/OSC/KBI PTA//OSC/AD/KB PTA/OSC/AD/KBI 8-PIN ASSIGNMENT MC68HC98QT DFN 8-PIN ASSIGNMENT MC68HC98QT AND MC68HC98QT DFN Figure. MCU Pin Assignments MC68HC98QY/QT Family Rev.. Pin Assignments Data Sheet Summary

6 MC68HC98QYSM/D Pin Functions Pin Name Table provides a description of the pin functions. Table. Pin Functions Description Input/Output V DD Power supply Power V SS Power supply ground Power PTA PTA PTA PTA PTA PTA PTA General purpose I/O port AD A/D channel input TCH Timer Channel I/O KBI Keyboard interrupt input PTA General purpose I/O port AD A/D channel input TCH Timer Channel I/O KBI Keyboard interrupt input PTA General purpose input-only port IRQ External interrupt with programmable pullup and Schmitt trigger input KBI Keyboard interrupt input PTA General purpose I/O port RST Reset input, active low with internal pullup and Schmitt trigger KBI Keyboard interrupt input PTA General purpose I/O port OSC XTAL oscillator output (XTAL option only) RC or internal oscillator output (OSCEN = in PTAPUE register) AD A/D channel input KBI Keyboard interrupt input PTA General purpose I/O port OSC XTAL, RC, or external oscillator input AD A/D channel input KBI Keyboard interrupt input Input/Output Input Input/Output Input Input/Output Input Input/Output Input Input Input Input Input/Output Input Input Input/Output Output Output Input Input Input/Output PTB[:7] () 8 general-purpose I/O ports. Input/Output Input Input Input. The PTB pins are not available on the 8-pin packages. Data Sheet Summary MC68HC98QY/QT Family Rev.. Pin Functions

7 MC68HC98QYSM/D Pin Functions $ $F $ $7F $8 $FF $ $7FF $8 $DFF $E $EDFF $EE $FDFF $FE $FE $FE $FE $FE $FE $FE6 $FE7 $FE8 $FE9 $FEA $FEB $FEC $FED $FEF $FE $FFAF $FFB $FFBD $FFBE $FFBF $FFC $FFC $FFC $FFCF $FFD $FFFF I/O REGISTERS 6 BYTES RESERVED () 6 BYTES RAM 8 BYTES UNIMPLEMENTED () 998 BYTES AUXILIARY ROM 6 BYTES UNIMPLEMENTED () 9 BYTES FLASH MEMORY MC68HC98QT AND MC68HC98QY 96 BYTES BREAK STATUS REGISTER (BSR) RESET STATUS REGISTER (SRSR) BREAK AUXILIARY REGISTER (BRKAR) BREAK FLAG CONTROL REGISTER (BFCR) INTERRUPT STATUS REGISTER (INT) INTERRUPT STATUS REGISTER (INT) INTERRUPT STATUS REGISTER (INT) RESERVED FOR FLASH TEST CONTROL REGISTER (FLTCR) FLASH CONTROL REGISTER (FLCR) BREAK ADDRESS HIGH REGISTER (BRKH) BREAK ADDRESS LOW REGISTER (BRKL) BREAK STATUS AND CONTROL REGISTER (BRKSCR) LVISR RESERVED FOR FLASH TEST BYTES MONITOR ROM 6 BYTES FLASH BYTES FLASH BLOCK PROTECT REGISTER (FLBPR) RESERVED FLASH INTERNAL OSCILLATOR TRIM VALUE RESERVED FLASH FLASH BYTES USER VECTORS 8 BYTES Figure. Memory Map Note. Attempts to execute code from aresses in this range will generate an illegal aress reset. UNIMPLEMENTED 7 BYTES FLASH MEMORY 6 BYTES MC68HC98QT, MC68HC98QT, MC68HC98QY, and MC68HC98QY Memory Map $E $F7FF $F8 $FDFF MC68HC98QY/QT Family Rev.. Data Sheet Summary Pin Functions

8 MC68HC98QYSM/D Ar. Register Bit 7 6 Bit $ PTA R AWUL PTA PTA PTA PTA PTA PTA $ PTB PTB7 PTB6 PTB PTB PTB PTB PTB PTB $ Unimplemented $ Unimplemented $ DDRA R R DDRA DDRA DDRA DDRA DDRA $6 DDRB DDRB7 DDRB6 DDRB DDRB DDRB DDRB DDRB DDRB $7 $A Unimplemented Unimplemented $B PTAPUE OSCEN PTAPUE PTAPUE PTAPUE PTAPUE PTAPUE PTAPUE $C PTBPUE PTBPUE7 PTBPUE6 PTBPUE PTBPUE PTBPUE PTBPUE PTBPUE PTBPUE $D $9 Unimplemented Unimplemented $A KBSCR KEYF ACKK IMASKK MODEK $B KBIER AWUIE KBIE KBIE KBIE KBIE KBIE KBIE $C Unimplemented $D INTSCR IRQF ACK IMASK MODE $E CONFIG IRQPUD IRQEN OSCOPT OSCOPT RSTEN $F CONFIG COPRS LVISTOP LVIRSTD LVIPWRD LVIOR SSREC STOP COPD $ TSC TOF TOIE TSTOP TRST PS PS PS $ TCNTH Bit Bit Bit Bit Bit Bit Bit 9 Bit 8 $ TCNTL Bit 7 Bit 6 Bit Bit Bit Bit Bit Bit $ TMODH Bit Bit Bit Bit Bit Bit Bit 9 Bit 8 $ TMODL Bit 7 Bit 6 Bit Bit Bit Bit Bit Bit $ TSC CHF CHIE MSB MSA ELSB ELSA TOV CHMAX $6 TCHH Bit Bit Bit Bit Bit Bit Bit 9 Bit 8 $7 TCHL Bit 7 Bit 6 Bit Bit Bit Bit Bit Bit $8 TSC CHF CHIE MSA ELSB ELSA TOV CHMAX $9 TCHH Bit Bit Bit Bit Bit Bit Bit 9 Bit 8 $A TCHL Bit 7 Bit 6 Bit Bit Bit Bit Bit Bit $B $ Unimplemented Unimplemented $6 OSCSTAT ECGON ECGST $7 Unimplemented $8 OSCTRIM TRIM7 TRIM6 TRIM TRIM TRIM TRIM TRIM TRIM $9 $B Unimplemented Unimplemented $C ADSCR COCO AIEN ADCO CH CH CH CH CH $D Unimplemented $E ADR AD7 AD6 AD AD AD AD AD AD $F ADICLK ADIV ADIV ADIV = Unimplemented or Reserved Figure. Control, Status, and Data Registers (Sheet of ) Data Sheet Summary MC68HC98QY/QT Family Rev.. Pin Functions

9 MC68HC98QYSM/D Pin Functions Ar. Register Bit 7 6 Bit $FE BSR SBSW $FE SRSR POR PIN COP ILOP ILAD MODRST LVI $FE BRKAR BDCOP $FE BFCR BCFE $FE INT IF IF IF IF $FE INT IF $FE6 INT IF $FE7 Reserved $FE8 FLCR HVEN MASS ERASE PGM $FE9 BRKH Bit Bit Bit Bit Bit Bit Bit 9 Bit 8 $FEA BRKL Bit 7 Bit 6 Bit Bit Bit Bit Bit Bit $FEB BRKSCR BRKE BRKA $FEC LVISR LVIOUT $FED $FEF Reserved for FLASH Test Reserved for FLASH Test $FFBE FLBPR BPR7 BPR6 BPR BPR BPR BPR BPR BPR $FFBF Reserved $FFC TRIMLOC NON-VOLATILE TRIM ADJUSTMENT VALUE $FFC Reserved $FFFF COPCTL WRITE ANY VALUE TO RESET COP WATCHDOG. = Unimplemented or Reserved Figure. Control, Status, and Data Registers (Sheet of ) Table. Vector Aresses Vector Priority Vector Aress Vector Lowest $FFDE ADC conversion complete vector (high) IF $FFDF ADC conversion complete vector (low) IF $FFE Keyboard vector (high) $FFE Keyboard vector (low) IF through IF6 Not used IF $FFF TIM overflow vector (high) $FFF TIM overflow vector (low) IF $FFF TIM Channel vector (high) $FFF TIM Channel vector (low) IF $FFF6 TIM Channel vector (high) $FFF7 TIM Channel vector (low) IF Not used IF $FFFA IRQ vector (high) $FFFB IRQ vector (low) $FFFC SWI vector (high) $FFFD SWI vector (low) $FFFE Reset vector (high) Highest $FFFF Reset vector (low) MC68HC98QY/QT Family Rev.. Pin Functions Data Sheet Summary

10 MC68HC98QYSM/D FLASH Module FLASH Control Register The FLASH memory consists of an array of 96 or 6 bytes with an aitional 8 bytes for user vectors and miscellaneous. The minimum size of FLASH memory that can be erased is 6 bytes; and the maximum size of FLASH memory that can be programmed in a program cycle is bytes (a row). Program and erase operations are facilitated through control bits in the FLASH control register (FLCR). Details for these operations appear later in this section. The aress ranges for the user memory and vectors are: $EE $FDFF; user memory, 96 bytes: MC68HC98QY and MC68HC98QT $F8 $FDFF; user memory, 6 bytes: MC68HC98QY, MC68HC98QT, MC68HC98QY and MC68HC98QT $FFB $FFFF; user interrupt vectors etc., 8 bytes. NOTE: An erased bit reads as logic and a programmed bit reads as logic. A security feature prevents unauthorized viewing of the FLASH contents. The FLASH control register (FLCR) controls FLASH program and erase operations. $FE8 Bit 7 6 Bit HVEN MASS ERASE PGM Reset: Figure. FLASH Control Register (FLCR) HVEN High Voltage Enable Bit = High voltage enabled to array and charge pump on MASS Mass Erase Control Bit = Mass Erase operation selected ERASE Erase Control Bit = Erase operation selected PGM Program Control Bit = Program operation selected FLASH Page Erase Operation Use the following procedure to erase a page of FLASH memory. A page consists of 6 consecutive bytes starting from aresses $XX, $XX, $XX8, or $XXC. The 8-byte user interrupt vectors area includes two pages ($FFB $FFBF and $FFC $FFFF). Any FLASH memory page can be erased alone.. Set the ERASE bit and clear the MASS bit in the FLASH control register.. Read the FLASH block protect register ($FFBE). Data Sheet Summary MC68HC98QY/QT Family Rev.. FLASH Module

11 MC68HC98QYSM/D FLASH Module FLASH Program Operation NOTE: NOTE:. Write any data to any FLASH location within the aress range of the block to be erased.. Wait for a time, t nvs (minimum µs).. Set the HVEN bit. 6. Wait for a time, t Erase (minimum ms or ms). 7. Clear the ERASE and MASS bits. 8. Wait for a time, t nvh (minimum µs). 9. Clear the HVEN bit.. After time, t rcv (typical µs), the memory can be accessed in read mode again. Programming and erasing of FLASH locations cannot be performed by code being executed from the FLASH memory. These operations must be performed in the order as shown, but other unrelated operations may occur between the steps. In applications that need up to, program/erase cycles, use the ms page erase specification to get improved long-term reliability. Any application can use this ms page erase specification. However, in applications where a FLASH location will be erased and reprogrammed less than times, and speed is important, use the ms page erase specification to get a lower minimum erase time. Programming of the FLASH memory is done on a row basis. A row consists of consecutive bytes starting from aresses $XX, $XX, $XX, $XX6, $XX8, $XXA, $XXC, or $XXE. Use the following step-by-step procedure to program a row of FLASH memory. Only bytes which are currently $FF may be programmed.. Set the PGM bit. This configures the memory for program operation and enables the latching of aress and data for programming.. Read from the FLASH block protect register ($FFBE).. Write any data to any FLASH location within the aress range desired.. Wait for a time, t nvs (minimum µs).. Set the HVEN bit. 6. Wait for a time, t pgs (minimum µs). 7. Write data to the FLASH aress being programmed (). 8. Wait for time, t PROG (minimum µs). 9. Repeat step 6 and 7 until desired bytes within the row are programmed.. Clear the PGM bit ().. The time between each FLASH aress change, or the time between the last FLASH aress programmed to clearing PGM bit, must not exceed the maximum programming time, t PROG maximum. MC68HC98QY/QT Family Rev.. Data Sheet Summary FLASH Module

12 MC68HC98QYSM/D. Wait for time, t nvh (minimum µs).. Clear the HVEN bit.. After time, t rcv (typical µs), the memory can be accessed in read mode again. NOTE: Programming and erasing of FLASH locations cannot be performed by code being executed from the FLASH memory. These operations must be performed in the order shown, other unrelated operations may occur between the steps. Do not exceed t PROG maximum. FLASH Block Protect Register The FLASH block protect register is implemented as a byte within the FLASH memory, and therefore it is programmed using a FLASH memory byteprogramming operation. The value in this register determines the starting aress of the protected range within the FLASH memory. The FLASH is protected from this aress to the end of FLASH memory at $FFFF. $FFBE Bit 7 6 Bit Reset: BPR7 BPR6 BPR BPR BPR BPR BPR BPR Unaected by reset. Initial value from factory is all s. Figure 6. FLASH Block Protect Register (FLBPR) BPR[7:] FLASH Protection Register Bits [7:] START ADDRESS OF PROTECTED FLASH BLOCK BPR[7:] $ $B8 Figure 7. FLASH Block Protect Start Aress Table. Examples of Protect Start Aress Start of Aress of Protect Range The entire FLASH memory is protected. $B9 ( ) $EE ( ) $BA ( ) $EE8 ( ) $BB ( ) $EEC ( ) $BC ( ) $EF ( ) and so on... $DE ( ) $F78 ( ) $DF ( ) $F7C ( ) $FE ( ) $FF 6-BIT MEMORY ADDRESS FLBPR VALUE $FF8 ( ) FLBPR, OSCTRIM, and vectors are protected The entire FLASH memory is not protected. Data Sheet Summary MC68HC98QY/QT Family Rev.. FLASH Module

13 MC68HC98QYSM/D Configuration Registers (CONFIG, CONFIG) Configuration Registers (CONFIG, CONFIG) The configuration registers are used to initialize various options. The configuration registers can each be written once after each reset. Most of the configuration register bits are cleared during reset. Since the various options aect the operation of the microcontroller unit (MCU) it is recommended that these registers be written immediately after reset. The configuration registers are located at $E and $F, and may be read at anytime. $E Bit 7 6 Bit NOTE: Reset: POR: IRQPUD IRQEN R OSCOPT OSCOPT R R RSTEN IRQPUD IRQ Pin Pullup Disable Control Bit = Internal pullup is connected between IRQ pin and V DD (if IRQEN = ) IRQEN IRQ Pin Function Selection Bit = PTA/IRQ/KBI pin configured for IRQ function = Pin configured for PTA or KBI function OSCOPT:OSCOPT Selection Bits for Oscillator Option (:) Internal oscillator (:) External oscillator (:) External RC oscillator (:) External XTAL oscillator RSTEN RST Pin Function Selection = PTA/RST/KBI pin configured for RESET function = Pin configured for PTA or KBI function R = Reserved U = Unaected Figure 8 Configuration Register (CONFIG) The RSTEN bit is cleared by a power-on reset (POR) only. Other resets will leave this bit unaected. $F Bit 7 6 Bit Reset: POR: COPRS LVISTOP LVIRSTD LVIPWRD LVIOR SSREC STOP COPD U = Unaected COPRS (Out of STOP Mode) COP Reset Period Selection Bit = COP reset short cycle = ( ) x BUSCLKX = COP reset long cycle = ( 8 ) x BUSCLKX To prevent a reset due to a COP watchdog timeout, write any value to COPCTL ($FFFF) before the COP timer reaches the selected timeout. Figure 9 Configuration Register (CONFIG) U U MC68HC98QY/QT Family Rev.. Data Sheet Summary Configuration Registers (CONFIG, CONFIG)

14 MC68HC98QYSM/D NOTE: NOTE: LVI Status Register COPRS (In STOP Mode) Auto Wakeup Period Selection Bit = Auto wakeup short cycle = approximately 6 ms = Auto wakeup long cycle = approximately 6 ms LVISTOP LVI Enable in Stop Mode Bit = LVI enabled during stop mode = LVI disabled during stop mode LVIRSTD LVI Reset Disable Bit = LVI module resets disabled = LVI module resets enabled LVIPWRD LVI Power Disable Bit = LVI module power disabled LVIOR LVI -V or -V Operating Mode Bit = LVI operates in -V mode = LVI operates in -V mode The LVIOR bit is cleared by a power-on reset (POR) only. Other resets will leave this bit unaected. SSREC Short Stop Recovery Bit = Stop mode recovery after BUSCLKX cycles = Stop mode recovery after 96 BUSCLKX cycles Exiting stop mode by an LVI reset will result in the long stop recovery. STOP STOP Instruction Enable Bit = STOP instruction enabled = STOP instruction treated as illegal opcode COPD COP Disable Bit = COP module disabled (does not force resets) The LVI status register (LVISR) indicates if the V DD voltage was detected below the V TRIPF level while LVI resets have been disabled. $FEC Bit 7 6 Bit LVIOUT R Reset: R = Reserved LVIOUT LVI Output Bit Figure. LVI Status Register (LVISR) This read-only flag becomes set when the V DD voltage falls below the V TRIPF trip voltage and is cleared when V DD voltage rises above V TRIPR. Data Sheet Summary MC68HC98QY/QT Family Rev.. LVI Status Register

15 MC68HC98QYSM/D IRQ Status and Control Register IRQ Status and Control Register $D Bit 7 6 Bit IRQF ACK IMASK MODE Reset: Figure. IRQ Status and Control Register (INTSCR) SIM Reset Status Register IRQF IRQ Flag This read-only status bit is high when the IRQ interrupt is pending. = IRQ interrupt pending ACK IRQ Interrupt Request Acknowledge Bit Writing a logic to this write-only bit clears the IRQ latch. ACK always reads as logic. IMASK IRQ Interrupt Mask Bit = IRQ interrupt requests disabled MODE IRQ Edge/Level Select Bit This read/write bit controls the triggering sensitivity of the IRQ pin. = IRQ interrupt requests on falling edges and low levels = IRQ interrupt requests on falling edges only This register contains seven flags that show the source of the last reset. Clear the SIM reset status register by reading it. A power-on reset sets the POR bit and clears all other bits in the register. $FE Bit 7 6 Bit POR PIN COP ILOP ILAD MODRST LVI POR: Figure. SIM Reset Status Register (SRSR) POR Power-On Reset Bit = Last reset caused by POR circuit PIN External Reset Bit = Last reset caused by external reset pin (RST) COP Computer Operating Properly Reset Bit = Last reset caused by COP timeout ILOP Illegal Opcode Reset Bit = Last reset caused by an illegal opcode MC68HC98QY/QT Family Rev.. Data Sheet Summary IRQ Status and Control Register

16 MC68HC98QYSM/D ILAD Illegal Aress Reset Bit (illegal attempt to fetch an opcode from an unimplemented aress) = Last reset caused by an opcode fetch from an illegal aress MODRST Monitor Mode Entry Module Reset Bit = Last reset caused by monitor mode entry when vector locations $FFFE and $FFFF are $FF after POR while PTA/IRQ = V DD LVI Low Voltage Inhibit Reset Bit = Last reset caused by LVI circuit Interrupt Status Registers (INT, INT, INT) These three registers include status flags which indicate which interrupt sources currently have pending requests. See Table. $FE Bit 7 6 Bit IF IF IF IF Reset: Source: TOF TCH TCH IRQ Figure. Interrupt Status Register (INT) $FE Bit 7 6 Bit IF Reset: Source: KBI Figure. Interrupt Status Register (INT) $FE6 Bit 7 6 Bit IF Reset: Source: Figure. Interrupt Status Register (INT) ADC IFxx Interrupt Flags These flags indicate the presence of interrupt requests from the sources shown below the corresponding IFxx bit. = Interrupt request pending = No interrupt request present Data Sheet Summary MC68HC98QY/QT Family Rev.. Interrupt Status Registers (INT, INT, INT)

17 MC68HC98QYSM/D Central Processor Unit (CPU) Central Processor Unit (CPU) Figure 6 shows the five CPU registers. CPU registers are not part of the memory map. 7 ACCUMULATOR (A) H X INDEX REGISTER (H:X) 7 V H I N Z C STACK POINTER (SP) Figure 6. CPU Registers PROGRAM COUNTER (PC) CONDITION CODE REGISTER (CCR) CARRY/BORROW FLAG ZERO FLAG NEGATIVE FLAG INTERRUPT MASK HALF-CARRY FLAG TWO S COMPLEMENT OVERFLOW FLAG MC68HC98QY/QT Family Rev.. Central Processor Unit (CPU) Data Sheet Summary

18 MC68HC98QYSM/D Instruction Set Summary Table provides a summary of the M68HC8 instruction set. Table. Instruction Set Summary (Sheet of 7) Source Form Operation Description Eect on CCR VH I NZC Aress Mode Opcode Operand Cycles ADC #opr ADC opr ADC opr ADC opr,x ADC opr,x ADC,X ADC opr,sp ADC opr,sp ADD #opr ADD opr ADD opr ADD opr,x ADD opr,x ADD,X ADD opr,sp ADD opr,sp A with Carry A (A) + (M) + (C)!!!!! A without Carry A (A) + (M)!!!!! IMM EXT SP SP IMM EXT SP SP A9 B9 C9 D9 E9 F9 9EE9 9ED9 AB BB CB DB EB FB 9EEB 9EDB AIS #opr A Immediate Value (Signed) to SP SP (SP) + (6 «M) IMM A7 ii A #opr A Immediate Value (Signed) to H:X H:X (H:X) + (6 «M) IMM AF ii AND #opr AND opr AND opr AND opr,x AND opr,x AND,X AND opr,sp AND opr,sp ASL opr ASLA ASLX ASL opr,x ASL,X ASL opr,sp ASR opr ASRA ASRX ASR opr,x ASR opr,x ASR opr,sp Logical AND A (A) & (M)!! Arithmetic Shift Left (Same as LSL) C!!!! Arithmetic Shift Right C!!!! b7 b b7 b IMM EXT SP SP SP SP A B C D E F 9EE 9ED E E67 ii hh ll ee ee ii hh ll ee ee ii hh ll ee ee BCC rel Branch if Carry Bit Clear PC (PC) + + rel? (C) = REL rr BCLR n, opr Clear Bit n in M Mn (b) (b) (b) (b) (b) (b) (b6) (b7) 7 9 B D F BCS rel Branch if Carry Bit Set (Same as BLO) PC (PC) + + rel? (C) = REL rr Data Sheet Summary MC68HC98QY/QT Family Rev.. Instruction Set Summary

19 MC68HC98QYSM/D Instruction Set Summary Table. Instruction Set Summary (Sheet of 7) Source Form Operation Description Eect on CCR VH I NZC Aress Mode Opcode Operand Cycles BEQ rel Branch if Equal PC (PC) + + rel? (Z) = REL 7 rr BGE opr BGT opr Branch if Greater Than or Equal To (Signed Operands) Branch if Greater Than (Signed Operands) PC (PC) + + rel? (N V) = REL 9 rr PC (PC) + + rel? (Z) (N V) = REL 9 rr BHCC rel Branch if Half Carry Bit Clear PC (PC) + + rel? (H) = REL 8 rr BHCS rel Branch if Half Carry Bit Set PC (PC) + + rel? (H) = REL 9 rr BHI rel Branch if Higher PC (PC) + + rel? (C) (Z) = REL rr BHS rel Branch if Higher or Same (Same as BCC) PC (PC) + + rel? (C) = REL rr BIH rel Branch if IRQ Pin High PC (PC) + + rel? IRQ = REL F rr BIL rel Branch if IRQ Pin Low PC (PC) + + rel? IRQ = REL E rr BIT #opr BIT opr BIT opr BIT opr,x BIT opr,x BIT,X BIT opr,sp BIT opr,sp BLE opr Bit Test (A) & (M)!! Branch if Less Than or Equal To (Signed Operands) IMM EXT SP SP A B C D E F 9EE 9ED ii hh ll ee ee PC (PC) + + rel? (Z) (N V) = REL 9 rr BLO rel Branch if Lower (Same as BCS) PC (PC) + + rel? (C) = REL rr BLS rel Branch if Lower or Same PC (PC) + + rel? (C) (Z) = REL rr BLT opr Branch if Less Than (Signed Operands) PC (PC) + + rel? (N V) = REL 9 rr BMC rel Branch if Interrupt Mask Clear PC (PC) + + rel? (I) = REL C rr BMI rel Branch if Minus PC (PC) + + rel? (N) = REL B rr BMS rel Branch if Interrupt Mask Set PC (PC) + + rel? (I) = REL D rr BNE rel Branch if Not Equal PC (PC) + + rel? (Z) = REL 6 rr BPL rel Branch if Plus PC (PC) + + rel? (N) = REL A rr BRA rel Branch Always PC (PC) + + rel REL rr BRCLR n,opr,rel Branch if Bit n in M Clear PC (PC) + + rel? (Mn) =! (b) (b) (b) (b) (b) (b) (b6) (b7) 7 9 B D F rr rr rr rr rr rr rr rr BRN rel Branch Never PC (PC) + REL rr MC68HC98QY/QT Family Rev.. Instruction Set Summary Data Sheet Summary

20 MC68HC98QYSM/D Table. Instruction Set Summary (Sheet of 7) Source Form Operation Description Eect on CCR VH I NZC Aress Mode Opcode Operand Cycles BRSET n,opr,rel Branch if Bit n in M Set PC (PC) + + rel? (Mn) =! (b) (b) (b) (b) (b) (b) (b6) (b7) 6 8 A C E rr rr rr rr rr rr rr rr BSET n,opr Set Bit n in M Mn BSR rel CBEQ opr,rel CBEQA #opr,rel CBEQX #opr,rel CBEQ opr,x+,rel CBEQ X+,rel CBEQ opr,sp,rel Branch to Subroutine Compare and Branch if Equal PC (PC) + ; push (PCL) SP (SP) ; push (PCH) SP (SP) PC (PC) + rel PC (PC) + + rel? (A) (M) = $ PC (PC) + + rel? (A) (M) = $ PC (PC) + + rel? (X) (M) = $ PC (PC) + + rel? (A) (M) = $ PC (PC) + + rel? (A) (M) = $ PC (PC) + + rel? (A) (M) = $ (b) (b) (b) (b) (b) (b) (b6) (b7) 6 8 A C E REL AD rr CLC Clear Carry Bit C 98 CLI Clear Interrupt Mask I 9A CLR opr CLRA CLRX CLRH CLR opr,x CLR,X CLR opr,sp CMP #opr CMP opr CMP opr CMP opr,x CMP opr,x CMP,X CMP opr,sp CMP opr,sp Clear M $ A $ X $ H $ M $ M $ M $ Compare A with M (A) (M)!!!! IMM IMM + + SP SP IMM EXT SP SP 6 7 9E6 F F F 8C 6F 7F 9E6F A B C D E F 9EE 9ED rr ii rr ii rr rr rr rr ii hh ll ee ee 6 COM opr COMA COMX COM opr,x COM,X COM opr,sp Complement (One s Complement) M (M) = $FF (M) A (A) = $FF (M) X (X) = $FF (M) M (M) = $FF (M) M (M) = $FF (M) M (M) = $FF (M)!! SP 6 7 9E6 CPHX #opr CPHX opr Compare H:X with M (H:X) (M:M + )!!!! IMM 6 7 ii ii+ Data Sheet Summary MC68HC98QY/QT Family Rev.. Instruction Set Summary

21 MC68HC98QYSM/D Instruction Set Summary Table. Instruction Set Summary (Sheet of 7) Source Form Operation Description Eect on CCR VH I NZC Aress Mode Opcode Operand Cycles CPX #opr CPX opr CPX opr CPX,X CPX opr,x CPX opr,x CPX opr,sp CPX opr,sp Compare X with M (X) (M)!!!! IMM EXT SP SP A B C D E F 9EE 9ED ii hh ll ee ee DAA Decimal Adjust A (A) U!!! 7 DBNZ opr,rel DBNZA rel DBNZX rel DBNZ opr,x,rel DBNZ X,rel DBNZ opr,sp,rel DEC opr DECA DECX DEC opr,x DEC,X DEC opr,sp DIV EOR #opr EOR opr EOR opr EOR opr,x EOR opr,x EOR,X EOR opr,sp EOR opr,sp INC opr INCA INCX INC opr,x INC,X INC opr,sp JMP opr JMP opr JMP opr,x JMP opr,x JMP,X Decrement and Branch if Not Zero Decrement Divide A (A) or M (M) or X (X) PC (PC) + + rel? (result) PC (PC) + + rel? (result) PC (PC) + + rel? (result) PC (PC) + + rel? (result) PC (PC) + + rel? (result) PC (PC) + + rel? (result) M (M) A (A) X (X) M (M) M (M) M (M) A (H:A)/(X) H Remainder!!! Exclusive OR M with A A (A M)!! Increment M (M) + A (A) + X (X) + M (M) + M (M) + M (M) + SP SP B B B 6B 7B 9E6B A A A 6A 7A 9E6A rr rr rr rr rr rr!! 7!!! Jump PC Jump Aress IMM EXT SP SP SP EXT A8 B8 C8 D8 E8 F8 9EE8 9ED8 C C C 6C 7C 9E6C BC CC DC EC FC ii hh ll ee ee hh ll ee 6 JSR opr JSR opr JSR opr,x JSR opr,x JSR,X Jump to Subroutine PC (PC) + n (n =,, or ) Push (PCL); SP (SP) Push (PCH); SP (SP) PC Unconditional Aress EXT BD CD DD ED FD hh ll ee 6 LDA #opr LDA opr LDA opr LDA opr,x LDA opr,x LDA,X LDA opr,sp LDA opr,sp Load A from M A (M)!! IMM EXT SP SP A6 B6 C6 D6 E6 F6 9EE6 9ED6 ii hh ll ee ee MC68HC98QY/QT Family Rev.. Instruction Set Summary Data Sheet Summary

22 MC68HC98QYSM/D Table. Instruction Set Summary (Sheet of 7) Source Form Operation Description Eect on CCR VH I NZC Aress Mode Opcode Operand Cycles LDHX #opr LDHX opr Load H:X from M H:X (M:M + )!! IMM ii jj LDX #opr LDX opr LDX opr LDX opr,x LDX opr,x LDX,X LDX opr,sp LDX opr,sp LSL opr LSLA LSLX LSL opr,x LSL,X LSL opr,sp LSR opr LSRA LSRX LSR opr,x LSR,X LSR opr,sp MOV opr,opr MOV opr,x+ MOV #opr,opr MOV X+,opr Load X from M X (M)!! Logical Shift Left (Same as ASL)!!!! Logical Shift Right C!!! b7 b Move (M) Destination (M) Source H:X (H:X) + (+D, D+)!! IMM EXT SP SP SP SP DD D+ IMD +D AE BE CE DE EE FE 9EEE 9EDE MUL Unsigned multiply X:A (X) (A) NEG opr NEGA NEGX NEG opr,x NEG,X NEG opr,sp Negate (Two s Complement) M (M) = $ (M) A (A) = $ (A) X (X) = $ (X) M (M) = $ (M) M (M) = $ (M)!!!! NOP No Operation None 9D NSA Nibble Swap A A (A[:]:A[7:]) 6 ORA #opr ORA opr ORA opr ORA opr,x ORA opr,x ORA,X ORA opr,sp ORA opr,sp C Inclusive OR A and M A (A) (M)!! b7 b SP IMM EXT SP SP E E6 E E 6E 7E 6 7 9E6 AA BA CA DA EA FA 9EEA 9EDA ii hh ll ee ee ii ii hh ll ee ee PSHA Push A onto Stack Push (A); SP (SP) 87 PSHH Push H onto Stack Push (H); SP (SP) 8B PSHX Push X onto Stack Push (X); SP (SP) 89 PULA Pull A from Stack SP (SP + ); Pull (A) 86 PULH Pull H from Stack SP (SP + ); Pull (H) 8A PULX Pull X from Stack SP (SP + ); Pull (X) 88 Data Sheet Summary MC68HC98QY/QT Family Rev.. Instruction Set Summary

23 MC68HC98QYSM/D Instruction Set Summary Table. Instruction Set Summary (Sheet 6 of 7) Source Form Operation Description Eect on CCR VH I NZC Aress Mode Opcode Operand Cycles ROL opr ROLA ROLX ROL opr,x ROL,X ROL opr,sp Rotate Left through Carry C!!!! b7 b SP E69 ROR opr RORA RORX ROR opr,x ROR,X ROR opr,sp Rotate Right through Carry C!!!! b7 b RSP Reset Stack Pointer SP $FF 9C RTI RTS SBC #opr SBC opr SBC opr SBC opr,x SBC opr,x SBC,X SBC opr,sp SBC opr,sp Return from Interrupt Return from Subroutine SP (SP) + ; Pull (CCR) SP (SP) + ; Pull (A) SP (SP) + ; Pull (X) SP (SP) + ; Pull (PCH) SP (SP) + ; Pull (PCL) SP SP + ; Pull (PCH) SP SP + ; Pull (PCL) Subtract with Carry A (A) (M) (C)!!!! SP E66!!!!!! SEC Set Carry Bit C 99 SEI Set Interrupt Mask I 9B STA opr STA opr STA opr,x STA opr,x STA,X STA opr,sp STA opr,sp Store A in M M (A)!! STHX opr Store H:X in M (M:M + ) (H:X)!! STOP Enable IRQ Pin; Stop Oscillator I ; Stop Oscillator 8E IMM EXT SP SP EXT SP SP A B C D E F 9EE 9ED B7 C7 D7 E7 F7 9EE7 9ED7 ii hh ll ee ee hh ll ee ee STX opr STX opr STX opr,x STX opr,x STX,X STX opr,sp STX opr,sp Store X in M M (X)!! EXT SP SP BF CF DF EF FF 9EEF 9EDF hh ll ee ee SUB #opr SUB opr SUB opr SUB opr,x SUB opr,x SUB,X SUB opr,sp SUB opr,sp Subtract A (A) (M)!!!! IMM EXT SP SP A B C D E F 9EE 9ED ii hh ll ee ee MC68HC98QY/QT Family Rev.. Instruction Set Summary Data Sheet Summary

24 MC68HC98QYSM/D Table. Instruction Set Summary (Sheet 7 of 7) Source Form Operation Description Eect on CCR VH I NZC Aress Mode Opcode Operand Cycles SWI Software Interrupt PC (PC) + ; Push (PCL) SP (SP) ; Push (PCH) SP (SP) ; Push (X) SP (SP) ; Push (A) SP (SP) ; Push (CCR) SP (SP) ; I PCH Interrupt Vector High Byte PCL Interrupt Vector Low Byte 8 9 TAP Transfer A to CCR CCR (A)!!!!!! 8 TAX Transfer A to X X (A) 97 TPA Transfer CCR to A A (CCR) 8 TST opr TSTA TSTX TST opr,x TST,X TST opr,sp Test for Negative or Zero (A) $ or (X) $ or (M) $!! TSX Transfer SP to H:X H:X (SP) + 9 TXA Transfer X to A A (X) 9F TXS Transfer H:X to SP (SP) (H:X) 9 A Accumulator n Any bit C Carry/borrow bit opr Operand (one or two bytes) CCR Condition code register PC Program counter Direct aress of operand PCH Program counter high byte rr Direct aress of operand and relative oset of branch instruction PCL Program counter low byte DD Direct to direct aressing mode REL Relative aressing mode Direct aressing mode rel Relative program counter oset byte D+ Direct to indexed with post increment aressing mode rr Relative program counter oset byte ee High and low bytes of oset in indexed, 6-bit oset aressing SP Stack pointer, 8-bit oset aressing mode EXT Extended aressing mode SP Stack pointer 6-bit oset aressing mode Oset byte in indexed, 8-bit oset aressing SP Stack pointer H Half-carry bit U Undefined H Index register high byte V Overflow bit hh ll High and low bytes of operand aress in extended aressing X Index register low byte I Interrupt mask Z Zero bit ii Immediate operand byte & Logical AND IMD Immediate source to direct destination aressing mode Logical OR IMM Immediate aressing mode Logical EXCLUSIVE OR Inherent aressing mode ( ) Contents of Indexed, no oset aressing mode ( ) Negation (two s complement) + Indexed, no oset, post increment aressing mode # Immediate value +D Indexed with post increment to direct aressing mode «Sign extend Indexed, 8-bit oset aressing mode Loaded with + Indexed, 8-bit oset, post increment aressing mode? If Indexed, 6-bit oset aressing mode : Concatenated with M Memory location! Set or cleared N Negative bit Not aected SP D D D 6D 7D 9E6D Data Sheet Summary MC68HC98QY/QT Family Rev.. Instruction Set Summary

25 MC68HC98QYSM/D Oscillator Module (OSC) Oscillator Module (OSC) The oscillator has these four clock source options available: Internal to External Clock Switching NOTE:. Internal oscillator: An internally generated, fixed frequency clock, trimmable to ± % in steps of approximately.%. This is the default option out of reset.. External oscillator: An external clock that can be driven directly into OSC.. External RC: A built-in oscillator module (RC oscillator) that requires an external R connection only on one pin. The capacitor will be internal to the chip.. External crystal: A built-in oscillator module (XTAL oscillator) that requires an external crystal or ceramic-resonator on two pins. When external clock source (external OSC, RC, or XTAL) is desired, the user must perform the following steps:. For External crystal circuits only, OSCOPT[:] = :: To help precharge an external crystal oscillator, set PTA (OSC) as an output and drive high for several cycles. Before writing OSCOPT[:], the crystal will see a sharp falling edge at startup.. Set CONFIG bits OSCOPT[:] according to Table 7. The oscillator module control logic will then set OSC as an external clock input and, if the external crystal option is selected, OSC will also be set as the clock output.. Create a software delay to wait the stabilization time needed for the selected clock source (crystal, resonator, RC) as recommended by the component manufacturer. A good rule of thumb for crystal oscillators is to wait 96 cycles of the crystal frequency, i.e., for a -MHz crystal, wait approximately msec.. After this delay has elapsed, the ECGON bit in the OSC status register (OSCSTAT) should be set by the user software.. After ECGON set is detected, the OSC module checks for oscillator activity by waiting two external clock rising edges. 6. The OSC module than switches to the external clock. Logic provides a glitch free transition. 7. The OSC module sets the ECGST bit in the OSCSTAT register and then stops the internal oscillator. Once transition to the external clock is done, the internal oscillator will only be reactivated with reset. Clock does not switch back to internal if external clock stops. MC68HC98QY/QT Family Rev.. Oscillator Module (OSC) Data Sheet Summary

26 MC68HC98QYSM/D FROM SIM BUSCLKX TO SIM BUSCLKX TO SIM SIMOSCEN XTALCLK MCU PTA/OSC/AD/KBI R B PTA/OSC/AD/KBI FROM SIM SIMOSCEN MCU X R S () C C Note. R S can be zero (shorted) when used with higher-frequency crystals. Refer to crystal manufacturer s data. Figure 7. XTAL Oscillator External Connections EN EXTERNAL RC OSCILLATOR INTCLK RCCLK OSCRCOPT TO SIM BUSCLKX TO SIM BUSCLKX PTA I/O PTA OSCEN PTA/OSC/AD/KBI PTA/OSC/AD/KBI V DD R EXT Figure 8. RC Oscillator External Connections Data Sheet Summary MC68HC98QY/QT Family Rev.. Oscillator Module (OSC)

27 MC68HC98QYSM/D Oscillator Module (OSC) Oscillator Status Register The oscillator status register (OSCSTAT) contains the bits for switching from internal to external clock sources $6 Bit 7 6 Bit R R R R R R ECGON ECGST Reset: R = Reserved Figure 9. Oscillator Status Register (OSCSTAT) Oscillator Trim Register (OSCTRIM) ECGON External Clock Generator On Bit = External clock generator enabled ECGST External Clock Status Bit = An external clock source engaged $8 Bit 7 6 Bit TRIM7 TRIM6 TRIM TRIM TRIM TRIM TRIM7 TRIM Reset: Figure. Oscillator Trim Register (OSCTRIM) TRIM7 TRIM Internal Oscillator Trim Factor Bits These read/write bits change the size of the internal capacitor used by the internal oscillator. By testing the frequency of the internal clock and adjusting this factor accordingly, the frequency of the internal clock can be fine tuned. Increasing (decreasing) this factor by one increases (decreases) the period by approximately.% of the untrimmed period (the period for trim = $8). The trimmed frequency is guaranteed not to vary by more than ±% over the full specified range of temperature and voltage. The reset value is $8 which sets the frequency to. MHz ± % (bus rate). A trim adjustment factor can be programmed into FLASH memory at TRIMLOC ($FFC). During the application initialization routine, this value can be read from TRIMLOC and be stored to OSCTRIM ($8) to fine tune the internal oscillator frequency. MC68HC98QY/QT Family Rev.. Data Sheet Summary Oscillator Module (OSC)

28 MC68HC98QYSM/D Timer Interface Module (TIM) INTERNAL BUS INTERNAL BUS CLOCK TSTOP TRST 6-BIT COUNTER Features of the TIM include the following: PRESCALER 6-BIT COMPARATOR TMODH:TMODL CHANNEL 6-BIT COMPARATOR TCHH:TCHL 6-BIT LATCH CHANNEL 6-BIT COMPARATOR TCHH:TCHL 6-BIT LATCH Two input capture/output compare channels Rising-edge, falling-edge, or any-edge input capture trigger Set, clear, or toggle output compare action Buered and unbuered pulse width modulation (PWM) signal generation Programmable TIM clock input with 7-frequency internal bus clock prescaler selection Free-running or modulo up-count operation Optional toggle of any channel pin on overflow TIM counter stop and reset bits ELSB ELSB MSA MSA PRESCALER SELECT,,, 8, 6,, OR 6 PS PS PS ELSA ELSA CHF MSB CHF TOF TOIE TOGGLE TOV CHMAX CHIE TOV CHMAX CHIE INTERRUPT LOGIC PORT LOGIC INTERRUPT LOGIC PORT LOGIC INTERRUPT LOGIC TCH TCH Figure. TIM Block Diagram Data Sheet Summary MC68HC98QY/QT Family Rev.. Timer Interface Module (TIM)

29 MC68HC98QYSM/D Timer Interface Module (TIM) PWM Initialization TIM Status and Control Register NOTE: Recommended initialization procedure for unbuered or buered PWM signals.. In TSC: a. Stop the TIM counter by setting TSTOP. b. Reset the TIM counter and prescaler by setting TRST.. Write TMODH:TMODL to set the required PWM period.. Write TCHxH:TCHxL to set the required pulse width.. Write TIM channel x status and control register (TSCx) to select the desired function: a. Write : (for unbuered output compare or PWM signals) or : (for buered output compare or PWM signals) to the mode select bits, MSxB:MSxA. See Table 7. b. Write to the toggle-on-overflow bit, TOVx. c. Write : (to clear output on compare) or : (to set output on compare) to the edge/level select bits, ELSxB:ELSxA. The output action on compare must force the output to the complement of the pulse width level. See Table 7.. Clear TSTOP in the TIM status control register (TSC). $ Bit 7 6 Bit TOF TOIE TSTOP TRST PS PS PS Reset: TOF TIM Overflow Flag Bit TOF is set when the TIM counter reaches the modulo value programmed in the TIM counter modulo registers. Clear TOF by reading the TIM status and control register when TOF is set and then writing a logic to TOF. = TIM counter has reached modulo value TOIE TIM Overflow Interrupt Enable Bit = TIM overflow interrupts enabled TSTOP TIM Stop Bit = TIM counter stopped TRST TIM Reset Bit Figure. TIM Status and Control Register (TSC) Setting this write-only bit resets the TIM counter and the TIM prescaler. TRST is cleared automatically after the TIM counter is reset and always reads as logic. = Prescaler and TIM counter cleared Setting the TSTOP and TRST bits simultaneously stops the TIM counter at a value of $. MC68HC98QY/QT Family Rev.. Data Sheet Summary Timer Interface Module (TIM)

30 MC68HC98QYSM/D PS[:] Prescaler Select Bits Table 6. Prescaler Selection TIM Counter Registers TIM Counter Modulo Registers PS PS PS TIM Clock Source Internal bus clock Internal bus clock Internal bus clock Internal bus clock 8 Internal bus clock 6 Internal bus clock Internal bus clock 6 Reserved The two read-only TIM counter registers contain the high and low bytes of the value in the TIM counter. Reading the high byte (TCNTH) latches the contents of the low byte (TCNTL) into a buer. Subsequent reads of TCNTH do not aect the latched TCNTL value until TCNTL is read. TCNTH $ Bit 7 6 Bit Bit Bit Bit Bit Bit Bit Bit 9 Bit 8 Reset: TCNTL $ Bit 7 6 Bit Bit 7 Bit 6 Bit Bit Bit Bit Bit Bit Reset: Figure. TIM Counter Registers (TCNTH:TCNTL) When the TIM counter reaches the modulo value, the overflow flag (TOF) becomes set, and the TIM counter resumes counting from $ at the next timer clock. Writing to the high byte (TMODH) inhibits the TOF bit and overflow interrupts until the low byte (TMODL) is written. TMODH $ Bit 7 6 Bit Bit Bit Bit Bit Bit Bit Bit9 Bit8 Reset: TMODL $ Bit 7 6 Bit Bit7 Bit6 Bit Bit Bit Bit Bit Bit Reset: Figure. TIM Counter Modulo Registers (TMODH:TMODL) Data Sheet Summary MC68HC98QY/QT Family Rev.. Timer Interface Module (TIM)

31 MC68HC98QYSM/D Timer Interface Module (TIM) TIM Channel Status and Control Registers NOTE: TSC $ Bit 7 6 Bit CHF CHIE MSB MSA ELSB ELSA TOV CHMAX Reset: TSC $8 Bit 7 6 Bit CHF CHIE MSA ELSB ELSA TOV CHMAX Reset: CHxF Channel x Flag Bit Figure. TIM Channel Status and Control Registers (TSC, TSC) When channel x is an input capture channel, CHxF is set when an active edge occurs on the channel x pin. When channel x is an output compare channel, CHxF is set when the value in the TIM counter registers matches the value in the TIM channel x registers. Clear CHxF by reading the TIM channel x status and control register with CHxF set and then writing a logic to CHxF. = Input capture or output compare on channel x CHxIE Channel x Interrupt Enable Bit = Channel x CPU interrupt requests enabled MSxB, MSxA, ELSxB, and ELSxA Table 7. Mode, Edge, and Level Selection MSxB MSxA ELSxB ELSxA Mode Configuration X X Output preset TOVx Toggle-On-Overflow Bit = Channel x pin toggles on TIM counter overflow. Pin under port control; initial output level high Pin under port control; initial output level low Capture on rising edge only Input capture Capture on falling edge only Capture on rising or falling edge Toggle output on compare Output compare Clear output on compare or PWM Set output on compare X Buered Toggle output on compare X output Clear output on compare compare or X buered PWM Set output on compare When TOVx is set, a TIM counter overflow takes precedence over a channel x output compare if both occur at the same time. MC68HC98QY/QT Family Rev.. Timer Interface Module (TIM) Data Sheet Summary

32 MC68HC98QYSM/D CHxMAX Channel x Maximum Duty Cycle Bit When the TOVx bit is at logic, setting the CHxMAX bit forces the duty cycle of buered and unbuered PWM signals to %. The CHxMAX bit takes eect in the cycle after it is set or cleared. The output stays at the % duty cycle level until the cycle after CHxMAX is cleared. OVERFLOW OVERFLOW OVERFLOW OVERFLOW OVERFLOW PERIOD TCHx TIM Channel Registers CHxMAX OUTPUT COMPARE OUTPUT COMPARE OUTPUT COMPARE Figure 6. CHxMAX Latency OUTPUT COMPARE In input capture mode (MSxB:MSxA = :), reading the high byte of the TIM channel x registers (TCHxH) inhibits input captures until the low byte (TCHxL) is read. In output compare mode (MSxB:MSxA :), writing to the high byte of the TIM channel x registers (TCHxH) inhibits output compares until the low byte (TCHxL) is written. TCHH $6 Bit 7 6 Bit Reset: Bit Bit Bit Bit Bit Bit Bit 9 Bit 8 Indeterminate after reset TCHL $7 Bit 7 6 Bit Reset: Bit 7 Bit 6 Bit Bit Bit Bit Bit Bit Indeterminate after reset TCHH $9 Bit 7 6 Bit Reset: Bit Bit Bit Bit Bit Bit Bit 9 Bit 8 Indeterminate after reset TCHL $A Bit 7 6 Bit Reset: Bit 7 Bit 6 Bit Bit Bit Bit Bit Bit Indeterminate after reset Figure 7. TIM Channel Registers (TCHH:L, TCHH:L) Data Sheet Summary MC68HC98QY/QT Family Rev.. Timer Interface Module (TIM)

33 MC68HC98QYSM/D Analog-to-Digital Converter (ADC) Analog-to-Digital Converter (ADC) INTERNAL DATA BUS INTERRUPT LOGIC AIEN COCO The ADC is an 8-bit, -channel analog-to-digital converter. The ADC module is only available on the MC68HC98QY, MC68HC98QT, MC68HC98QY, and MC68HC98QT. Features of the ADC module include: CONVERSION COMPLETE BUS CLOCK channels with multiplexed input Linear successive approximation with monotonicity 8-bit resolution Single or continuous conversion Conversion complete flag or conversion complete interrupt Selectable ADC clock ADC DATA REGISTER ADC ADC CLOCK CLOCK GENERATOR ADIV[:] ADC VOLTAGE IN ADCVIN Figure 8. ADC Block Diagram A/D PIN INPUTS AD[:] CHANNEL SELECT ( OF CHANNELS) CH[:] Conversion Time Conversion Time = 6 ADC Clock Cycles ADC Clock Frequency Number of Bus Cycles = Conversion Time Bus Frequency MC68HC98QY/QT Family Rev.. Analog-to-Digital Converter (ADC) Data Sheet Summary

34 MC68HC98QYSM/D ADC Status and Control Register NOTE: $C Bit 7 6 Bit COCO AIEN ADCO CH CH CH CH CH Reset: Figure 9. ADC Status and Control Register (ADSCR) COCO Conversions Complete Bit When the AIEN bit is a logic, the COCO is a read-only bit which is set each time a conversion is completed. This bit is cleared whenever ADSCR is written or whenever the ADR is read. When the AIEN bit is a logic (CPU interrupt enabled), COCO will always be logic when read. = Conversion completed (AIEN = ) AIEN ADC Interrupt Enable Bit = ADC interrupt enabled ADCO ADC Continuous Conversion Bit = Continuous ADC conversion = Single ADC conversion CH[:] ADC Channel Select Bits Startup from the ADC power o state requires one conversion cycle to stabilize. Table 8. MUX Channel Select CH CH CH CH CH ADC Channel Input Select AD PTA AD PTA AD PTA AD PTA Unused () Reserved Unused V DDA () V SSA () ADC power o. If any unused channels are selected, the resulting ADC conversion will be unknown.. The voltage levels supplied from internal reference nodes, as specified in the table, are used to verify the operation of the ADC converter both in production test and for user applications. Data Sheet Summary MC68HC98QY/QT Family Rev.. Analog-to-Digital Converter (ADC)

35 MC68HC98QYSM/D Input/Output (I/O) Ports ADC Data Register This register is updated each time an ADC conversion completes. ADC Input Clock Register Input/Output (I/O) Ports Port A NOTE: $E Bit 7 6 Bit Reset: ADIV ADIV ADC Clock Prescaler Bits Port A is an 6-bit special function port that shares all six of its pins with the keyboard interrupt (KBI) module. Each port A pin also has a software configurable pullup device if the corresponding port pin is configured as a general-purpose input port, a KBI input, or the IRQ input. PTA has a fixed pullup device when configured as RST. PTA is input only. AD7 AD6 AD AD AD AD AD AD Indeterminate after reset Figure. ADC Data Register (ADR) $F Bit 7 6 Bit ADIV ADIV ADIV Reset: Figure. ADC Input Clock Register (ADICLK) Table 9. ADC Clock Divide Ratio ADIV ADIV ADIV ADC Clock Rate Bus clock Bus clock Bus clock Bus clock 8 X X Bus clock 6 X = don t care Port A Data Register $ Bit 7 6 Bit Reset: Aitional Functions: R AWUL PTA PTA PTA PTA PTA PTA R = Reserved KBI AD OSC Unaected by reset KBI AD OSC KBI RST Figure. Port A Data Register (PTA) KBI IRQ KBI AD TCH KBI AD TCH MC68HC98QY/QT Family Rev.. Input/Output (I/O) Ports Data Sheet Summary

36 MC68HC98QYSM/D PTA[:] Port A Data Bits These read/write bits are software programmable. Data direction of each port A pin is under the control of the corresponding bit in data direction register A (PTA is input only). Reset has no eect on port A data. AWUL Auto Wakeup Latch Data Bit This is a read-only bit which has the value of the auto wakeup interrupt request latch. The wakeup request signal is generated internally. Data Direction Register A Port A Input Pullup Enable Register $ Bit 7 6 Bit R R DDRA DDRA DDRA DDRA DDRA Reset: R = Reserved Figure. Data Direction Register A (DDRA) DDRA[:] Data Direction Register A Bits = Corresponding port A pin configured as output = Corresponding port A pin configured as input $B Bit 7 6 Bit OSCEN OSCEN Enable Clock Output on OSC Pin PTAPUE PTAPUE PTAPUE PTAPUE PTAPUE PTAPUE Reset: Figure. Port A Input Pullup Enable Register (PTAPUE) This read/write bit configures the OSC pin function as a reference frequency output when internal oscillator or RC oscillator option is selected. This bit has no eect for the XTAL oscillator or external oscillator options. = OSC pin outputs the internal or RC oscillator clock (BUSCLKX) PTAPUE[:] Port A Input Pullup Enable Bits = Corresponding port A pin configured to have internal pull if its DDRA bit is set to and no alternate function such as KBI, IRQ, or timer controls the pin. Data Sheet Summary MC68HC98QY/QT Family Rev.. Input/Output (I/O) Ports

MC68HC908QB8 MC68HC908QB4 MC68HC908QY8

MC68HC908QB8 MC68HC908QB4 MC68HC908QY8 MC68HC908QB8 MC68HC908QB MC68HC908QY8 Data Sheet M68HC08 Microcontrollers MC68HC908QB8 Rev. 1 09/200 freescale.com MC68HC908QB8 MC68HC908QB MC68HC908QY8 Data Sheet To provide the most up-to-date information,

More information

How To Write A Microsoft Microsoft 8D (Droid) (Program) (Powerbook) (I386) (Microsoft) (Donga) (Opera) And (Dungeo) (Dugeo

How To Write A Microsoft Microsoft 8D (Droid) (Program) (Powerbook) (I386) (Microsoft) (Donga) (Opera) And (Dungeo) (Dugeo CPU08 Central Processor Unit Reference Manual M68HC08 Microcontrollers CPU08RM Rev. 02/2006 freescale.com CPU08 Central Processor Unit Reference Manual To provide the most up-to-date information, the

More information

MC68HC08GP32A MC68HC08GP16A

MC68HC08GP32A MC68HC08GP16A MC68HC08GP32A MC68HC08GP16A Data Sheet M68HC08 Microcontrollers MC68HC08GP32A Rev. 1,0 03/2006 freescale.com MC68HC08GP32A MC68HC08GP16A Data Sheet To provide the most up-to-date information, the revision

More information

U:\montages\dominique\servo\moteur_AV_AR\program\moteur_AV_AR.asm jeudi 28 avril 2011 10:32

U:\montages\dominique\servo\moteur_AV_AR\program\moteur_AV_AR.asm jeudi 28 avril 2011 10:32 Norton Junior Moteur PWM AV - AR pour SLE BRESSUIRE PORTA ------------------------------------------------------- 0 = Entrée Servo 1 = PWM moteur 2 = Strap mode 3 = 4 = 5 = Relay AV - AR $Include 'C:\pemicro\ics08qtqyz\qtqy_registers.inc'

More information

AN2183. Using FLASH as EEPROM on the MC68HC908GP32. Introduction. Semiconductor Products Sector Application Note

AN2183. Using FLASH as EEPROM on the MC68HC908GP32. Introduction. Semiconductor Products Sector Application Note Order this document by /D Semiconductor Products Sector Application Note Using FLASH as EEPROM on the MC68HC908GP32 By Derrick H.J. Klotz Field Applications Engineer Toronto, Canada Introduction This application

More information

Microcontroller Basics A microcontroller is a small, low-cost computer-on-a-chip which usually includes:

Microcontroller Basics A microcontroller is a small, low-cost computer-on-a-chip which usually includes: Microcontroller Basics A microcontroller is a small, low-cost computer-on-a-chip which usually includes: An 8 or 16 bit microprocessor (CPU). A small amount of RAM. Programmable ROM and/or flash memory.

More information

M68HC08. Microcontrollers MC68HC908LJ24 MC68HC908LK24. nc... Freescale Semiconductor, I. Data Sheet. Freescale Semiconductor, Inc.

M68HC08. Microcontrollers MC68HC908LJ24 MC68HC908LK24. nc... Freescale Semiconductor, I. Data Sheet. Freescale Semiconductor, Inc. nc. M68HC08 Microcontrollers MC68HC908LJ24 MC68HC908LK24 Data Sheet MC68HC908LJ24/D Rev. 2 8/2003 MOTOROLA.COM/SEMICONDUCTORS nc. nc. MC68HC908LJ24 MC68HC908LK24 Data Sheet To provide the most up-to-date

More information

M6800. Assembly Language Programming

M6800. Assembly Language Programming M6800 Assembly Language Programming 1 3. MC6802 MICROPROCESSOR MC6802 microprocessor runs in 1MHz clock cycle. It has 64 Kbyte memory address capacity using 16-bit addressing path (A0-A15). The 8-bit data

More information

M68HC05. Microcontrollers MC68HC705J1A MC68HRC705J1A MC68HSC705J1A MC68HSR705J1A. Technical Data WWW.MOTOROLA.COM/SEMICONDUCTORS

M68HC05. Microcontrollers MC68HC705J1A MC68HRC705J1A MC68HSC705J1A MC68HSR705J1A. Technical Data WWW.MOTOROLA.COM/SEMICONDUCTORS MC68HC705J1A MC68HRC705J1A MC68HSC705J1A MC68HSR705J1A Technical Data M68HC05 Microcontrollers MC68HC705J1A/D Rev. 4, 5/2002 WWW.MOTOROLA.COM/SEMICONDUCTORS MC68HC705J1A MC68HRC705J1A MC68HSC705J1A MC68HSR705J1A

More information

HC12 Assembly Language Programming

HC12 Assembly Language Programming HC12 Assembly Language Programming Programming Model Addressing Modes Assembler Directives HC12 Instructions Flow Charts 1 Assembler Directives In order to write an assembly language program it is necessary

More information

The stack and the stack pointer

The stack and the stack pointer The stack and the stack pointer If you google the word stack, one of the definitions you will get is: A reserved area of memory used to keep track of a program's internal operations, including functions,

More information

Programming the Motorola MC68HC11 Microcontroller

Programming the Motorola MC68HC11 Microcontroller Programming the Motorola MC68HC11 Microcontroller CONTENTS: COMMON PROGRAM INSTRUCTIONS WITH EXAMPLES MEMORY LOCATIONS PORTS SUBROUTINE LIBRARIES PARALLEL I/O CONTROL REGISTER (PIOC) COMMON PROGRAM INSTRUCTIONS

More information

PART B QUESTIONS AND ANSWERS UNIT I

PART B QUESTIONS AND ANSWERS UNIT I PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional

More information

Implementing a Lamp Dimmer with an HC908Q Family MCU

Implementing a Lamp Dimmer with an HC908Q Family MCU Freescale Semiconductor Application Note AN2839 Rev. 0, 9/2004 Implementing a Lamp Dimmer with an HC908Q Family MCU by: Jefferson Daniel de Barros Soldera Andre Luis Vilas Boas Alfredo Olmos Marcus Espindola

More information

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1 MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable

More information

THUMB Instruction Set

THUMB Instruction Set 5 THUMB Instruction Set This chapter describes the THUMB instruction set. Format Summary 5-2 Opcode Summary 5-3 5. Format : move shifted register 5-5 5.2 Format 2: add/subtract 5-7 5.3 Format 3: move/compare/add/subtract

More information

8051 hardware summary

8051 hardware summary 8051 hardware summary 8051 block diagram 8051 pinouts + 5V ports port 0 port 1 port 2 port 3 : dual-purpose (general-purpose, external memory address and data) : dedicated (interfacing to external devices)

More information

The Programming Interface

The Programming Interface : In-System Programming Features Program any AVR MCU In-System Reprogram both data Flash and parameter EEPROM memories Eliminate sockets Simple -wire SPI programming interface Introduction In-System programming

More information

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

M68EVB908QL4 Development Board for Motorola MC68HC908QL4 M68EVB908QL4 Development Board for Motorola MC68HC908QL4! Axiom Manufacturing 2813 Industrial Lane Garland, TX 75041 Email: Sales@axman.com Web: http://www.axman.com! CONTENTS CAUTIONARY NOTES...3 TERMINOLOGY...3

More information

MACHINE ARCHITECTURE & LANGUAGE

MACHINE ARCHITECTURE & LANGUAGE in the name of God the compassionate, the merciful notes on MACHINE ARCHITECTURE & LANGUAGE compiled by Jumong Chap. 9 Microprocessor Fundamentals A system designer should consider a microprocessor-based

More information

150127-Microprocessor & Assembly Language

150127-Microprocessor & Assembly Language Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an

More information

HC08 Welcome Kit. Hardware- Version 2.01. User Manual

HC08 Welcome Kit. Hardware- Version 2.01. User Manual HC08 Welcome Kit Hardware- Version 2.01 User Manual June 30 2003 HC08 Welcome Kit Copyright (C)2000-2003 by MCT Elektronikladen GbR Hohe Str. 9-13 D-04107 Leipzig Telefon: +49-(0)341-2118354 Fax: +49-(0)341-2118355

More information

Interrupts and the Timer Overflow Interrupts Huang Sections 6.1-6.4. What Happens When You Reset the HCS12?

Interrupts and the Timer Overflow Interrupts Huang Sections 6.1-6.4. What Happens When You Reset the HCS12? Interrupts and the Timer Overflow Interrupts Huang Sections 6.1-6.4 o Using the Timer Overflow Flag to interrupt a delay o Introduction to Interrupts o How to generate an interrupt when the timer overflows

More information

Lecture 3 Addressing Modes, Instruction Samples, Machine Code, Instruction Execution Cycle

Lecture 3 Addressing Modes, Instruction Samples, Machine Code, Instruction Execution Cycle Lecture 3 Addressing Modes, Instruction Samples, Machine Code, Instruction Execution Cycle Contents 3.1. Register Transfer Notation... 2 3.2. HCS12 Addressing Modes... 2 1. Inherent Mode (INH)... 2 2.

More information

MICROPROCESSOR AND MICROCOMPUTER BASICS

MICROPROCESSOR AND MICROCOMPUTER BASICS Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit

More information

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port

More information

Building A RISC Microcontroller in an FPGA

Building A RISC Microcontroller in an FPGA Building A RISC Microcontroller in an FPGA Name : Yap Zi He Course : 4 SEL Supervisor : PM Muhammad Mun im Ahmad Zabidi Introduction Reduce Instruction Set Computer (RISC) is a new trend on computer design.

More information

Introduction to Microcontrollers

Introduction to Microcontrollers Introduction to Microcontrollers Motorola M68HC11 Specs Assembly Programming Language BUFFALO Topics of Discussion Microcontrollers M68HC11 Package & Pinouts Accumulators Index Registers Special Registers

More information

8085 INSTRUCTION SET

8085 INSTRUCTION SET DATA TRANSFER INSTRUCTIONS Opcode Operand Description 8085 INSTRUCTION SET INSTRUCTION DETAILS Copy from source to destination OV Rd, Rs This instruction copies the contents of the source, Rs register

More information

Appendix C: Keyboard Scan Codes

Appendix C: Keyboard Scan Codes Thi d t t d ith F M k 4 0 2 Appendix C: Keyboard Scan Codes Table 90: PC Keyboard Scan Codes (in hex) Key Down Up Key Down Up Key Down Up Key Down Up Esc 1 81 [ { 1A 9A, < 33 B3 center 4C CC 1! 2 82 ]

More information

Visa Smart Debit/Credit Certificate Authority Public Keys

Visa Smart Debit/Credit Certificate Authority Public Keys CHIP AND NEW TECHNOLOGIES Visa Smart Debit/Credit Certificate Authority Public Keys Overview The EMV standard calls for the use of Public Key technology for offline authentication, for aspects of online

More information

Flash Microcontroller. Memory Organization. Memory Organization

Flash Microcontroller. Memory Organization. Memory Organization The information presented in this chapter is collected from the Microcontroller Architectural Overview, AT89C51, AT89LV51, AT89C52, AT89LV52, AT89C2051, and AT89C1051 data sheets of this book. The material

More information

6800 Basics. By Ruben Gonzalez

6800 Basics. By Ruben Gonzalez 6800 Basics By Ruben Gonzalez 6800 Processor Uses 8 bit words Has addressable main memory of 64k Has Memory Mapped I/O and interrupts The 6800 has the following main registers: 8- bit Accumulator A (AccA)

More information

(Refer Slide Time: 00:01:16 min)

(Refer Slide Time: 00:01:16 min) Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control

More information

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV UNIT I THE 8086 MICROPROCESSOR 1. What is the purpose of segment registers

More information

How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals

How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals CPU Architectures Motorola 68000 Several CPU architectures exist currently: Motorola Intel AMD (Advanced Micro Devices) PowerPC Pick one to study; others will be variations on this. Arbitrary pick: Motorola

More information

M25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features

M25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features 512-Kbit, serial flash memory, 50 MHz SPI bus interface Features 512 Kbits of flash memory Page program (up to 256 bytes) in 1.4 ms (typical) Sector erase (256 Kbits) in 0.65 s (typical) Bulk erase (512

More information

An Introduction to the ARM 7 Architecture

An Introduction to the ARM 7 Architecture An Introduction to the ARM 7 Architecture Trevor Martin CEng, MIEE Technical Director This article gives an overview of the ARM 7 architecture and a description of its major features for a developer new

More information

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 1 - INTRODUCTION JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ Unit 1.MaNoTaS 1 Definitions (I) Description A computer is: A

More information

8031AH 8051AH 8032AH 8052AH NMOS SINGLE-CHIP 8-BIT MICROCONTROLLERS

8031AH 8051AH 8032AH 8052AH NMOS SINGLE-CHIP 8-BIT MICROCONTROLLERS 8031AH 8051AH 8032AH 8052AH MCS 51 NMOS SINGLE-CHIP 8-BIT MICROCONTROLLERS Automotive High Performance HMOS Process Internal Timers Event Counters 2-Level Interrupt Priority Structure 32 I O Lines (Four

More information

Timer A (0 and 1) and PWM EE3376

Timer A (0 and 1) and PWM EE3376 Timer A (0 and 1) and PWM EE3376 General Peripheral Programming Model Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in the peripheral

More information

Z80 Instruction Set. Z80 Assembly Language

Z80 Instruction Set. Z80 Assembly Language 75 Z80 Assembly Language The assembly language allows the user to write a program without concern for memory addresses or machine instruction formats. It uses symbolic addresses to identify memory locations

More information

Water Level Monitoring

Water Level Monitoring Freescale Semiconductor Application Note Rev 4, 11/2006 Water Level Monitoring by: Michelle Clifford, Applications Engineer Sensor Products, Tempe, AZ INTRODUCTION Many washing machines currently in production

More information

Microprocessor/Microcontroller. Introduction

Microprocessor/Microcontroller. Introduction Microprocessor/Microcontroller Introduction Microprocessor/Microcontroller microprocessor - also known as a CU or central processing unit - is a complete computation engine that is fabricated on a single

More information

Application Note. General Description. AN991/D Rev. 1, 1/2002. Using the Serial Peripheral Interface to Communicate Between Multiple Microcomputers

Application Note. General Description. AN991/D Rev. 1, 1/2002. Using the Serial Peripheral Interface to Communicate Between Multiple Microcomputers Application Note Rev. 1, 1/2002 Using the Serial Peripheral Interface to Communicate Between Multiple Microcomputers General Description As the complexity of user applications increases, many designers

More information

8254 PROGRAMMABLE INTERVAL TIMER

8254 PROGRAMMABLE INTERVAL TIMER PROGRAMMABLE INTERVAL TIMER Y Y Y Compatible with All Intel and Most Other Microprocessors Handles Inputs from DC to 10 MHz 8 MHz 8254 10 MHz 8254-2 Status Read-Back Command Y Y Y Y Y Six Programmable

More information

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2 Lecture Handout Computer Architecture Lecture No. 2 Reading Material Vincent P. Heuring&Harry F. Jordan Chapter 2,Chapter3 Computer Systems Design and Architecture 2.1, 2.2, 3.2 Summary 1) A taxonomy of

More information

LABORATORY MANUAL EE0310 MICROPROCESSOR & MICROCONTROLLER LAB

LABORATORY MANUAL EE0310 MICROPROCESSOR & MICROCONTROLLER LAB LABORATORY MANUAL EE0310 MICROPROCESSOR & MICROCONTROLLER LAB DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING FACULTY OF ENGINEERING & TECHNOLOGY SRM UNIVERSITY, Kattankulathur 603 203 1 LIST OF EXEPRIMENTS

More information

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS 1) Which is the microprocessor comprises: a. Register section b. One or more ALU c. Control unit 2) What is the store by register? a. data b. operands

More information

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent

More information

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat www.maxim-ic.com FEATURES Temperature measurements require no external components Measures temperatures from -55 C to +125 C in 0.5 C increments. Fahrenheit equivalent is -67 F to 257 F in 0.9 F increments

More information

MOS T ic H N O LO O Y, INC. V A LLEY FORGE CORPORATE CENTER (216) 666 7950 950 RITTENHOUSE ROAD, NORRISTOWN, PA 19401

MOS T ic H N O LO O Y, INC. V A LLEY FORGE CORPORATE CENTER (216) 666 7950 950 RITTENHOUSE ROAD, NORRISTOWN, PA 19401 PR ELIM IN A R Y DATA SHEET MOS T ic H N O LO O Y, INC. V A LLEY FORGE CORPORATE CENTER (216) 666 7950 950 RITTENHOUSE ROAD, NORRISTOWN, PA 19401 M A Y, 1976 M C S6 5 0 0 M IC R O P R O C E S S O R S The

More information

FM75 Low-Voltage Two-Wire Digital Temperature Sensor with Thermal Alarm

FM75 Low-Voltage Two-Wire Digital Temperature Sensor with Thermal Alarm Low-Voltage Two-Wire Digital Temperature Sensor with Thermal Alarm Features User Configurable to 9, 10, 11 or 12-bit Resolution Precision Calibrated to ±1 C, 0 C to 100 C Typical Temperature Range: -40

More information

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential

More information

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1 UNIT 22: PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1 This work covers part of outcome 2 of the Edexcel standard module. The material is

More information

Analog-to-Digital Converters

Analog-to-Digital Converters Analog-to-Digital Converters In this presentation we will look at the Analog-to-Digital Converter Peripherals with Microchip s midrange PICmicro Microcontrollers series. 1 Analog-to-Digital Converters

More information

1 Classical Universal Computer 3

1 Classical Universal Computer 3 Chapter 6: Machine Language and Assembler Christian Jacob 1 Classical Universal Computer 3 1.1 Von Neumann Architecture 3 1.2 CPU and RAM 5 1.3 Arithmetic Logical Unit (ALU) 6 1.4 Arithmetic Logical Unit

More information

Z80 Microprocessors Z80 CPU. User Manual UM008006-0714. Copyright 2014 Zilog, Inc. All rights reserved. www.zilog.com

Z80 Microprocessors Z80 CPU. User Manual UM008006-0714. Copyright 2014 Zilog, Inc. All rights reserved. www.zilog.com Z80 Microprocessors Z80 CPU UM008006-0714 Copyright 2014 Zilog, Inc. All rights reserved. www.zilog.com ii Warning: DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS. LIFE SUPPORT POLICY ZILOG S PRODUCTS

More information

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar AVR Timer/Counter Prof Prabhat Ranjan DA-IICT, Gandhinagar 8-bit Timer/Counter0 with PWM Single Compare Unit Counter Clear Timer on Compare Match (Auto Reload) Glitch-free, Phase Correct Pulse Width Modulator

More information

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ nc. Order this document by MC68328/D Microprocessor and Memory Technologies Group MC68328 MC68328V Product Brief Integrated Portable System Processor DragonBall ΤΜ As the portable consumer market grows

More information

Section 14. Compare/Capture/PWM (CCP)

Section 14. Compare/Capture/PWM (CCP) M Section 14. Compare/Capture/PWM (CCP) HIGHLIGHTS This section of the manual contains the following major topics: 14.1 Introduction...14-2 14.2 Control Register...14-3 14.3 Capture Mode...14-4 14.4 Compare

More information

Programmer s Model = model of µc useful to view hardware during execution of software instructions

Programmer s Model = model of µc useful to view hardware during execution of software instructions HC12/S12 Programmer s Model Programmer s Model = model of µc useful to view hardware during execution of software instructions Recall: General Microcontroller/Computer Architecture note: Control Unit &

More information

Instruction Set Architecture

Instruction Set Architecture Instruction Set Architecture Consider x := y+z. (x, y, z are memory variables) 1-address instructions 2-address instructions LOAD y (r :=y) ADD y,z (y := y+z) ADD z (r:=r+z) MOVE x,y (x := y) STORE x (x:=r)

More information

Lesson-16: Real time clock DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK

Lesson-16: Real time clock DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-16: Real time clock 1 Real Time Clock (RTC) A clock, which is based on the interrupts at preset intervals. An interrupt service routine executes

More information

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction. APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)

More information

TIMING DIAGRAM O 8085

TIMING DIAGRAM O 8085 5 TIMING DIAGRAM O 8085 5.1 INTRODUCTION Timing diagram is the display of initiation of read/write and transfer of data operations under the control of 3-status signals IO / M, S 1, and S 0. As the heartbeat

More information

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER 8-Bit CPU plus ROM RAM I O Timer and Clock in a Single Package One 8-Bit Status and Two Data Registers for Asynchronous Slave-to- Master Interface DMA

More information

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,

More information

Chapter 13. PIC Family Microcontroller

Chapter 13. PIC Family Microcontroller Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to

More information

CHAPTER 7: The CPU and Memory

CHAPTER 7: The CPU and Memory CHAPTER 7: The CPU and Memory The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides

More information

Chapter 6 PLL and Clock Generator

Chapter 6 PLL and Clock Generator Chapter 6 PLL and Clock Generator The DSP56300 core features a Phase Locked Loop (PLL) clock generator in its central processing module. The PLL allows the processor to operate at a high internal clock

More information

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview Technical Note TN-29-06: NAND Flash Controller on Spartan-3 Overview Micron NAND Flash Controller via Xilinx Spartan -3 FPGA Overview As mobile product capabilities continue to expand, so does the demand

More information

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section PRELIMINARY DS2434 Battery Identification Chip FEATURES Provides unique ID number to battery packs PACKAGE OUTLINE Eliminates thermistors by sensing battery temperature on chip DALLAS DS2434 1 2 3 256

More information

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

Hello, and welcome to this presentation of the STM32L4 reset and clock controller. Hello, and welcome to this presentation of the STM32L4 reset and clock controller. 1 The STM32L4 reset and clock controller manages system and peripheral clocks. STM32L4 devices embed three internal oscillators,

More information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

More information

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979)

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979) 599 Menlo Drive, Suite 100 Rocklin, California 95765, USA Office: (916) 624-8333 Fax: (916) 624-8003 General: info@parallax.com Technical: support@parallax.com Web Site: www.parallax.com Educational: www.stampsinclass.com

More information

The x86 PC: Assembly Language, Design, and Interfacing 5 th Edition

The x86 PC: Assembly Language, Design, and Interfacing 5 th Edition Online Instructor s Manual to accompany The x86 PC: Assembly Language, Design, and Interfacing 5 th Edition Muhammad Ali Mazidi Janice Gillispie Mazidi Danny Causey Prentice Hall Boston Columbus Indianapolis

More information

Hello, welcome to this presentation of the low power timer, or LPTMR, module for Kinetis MCUs. In this session you ll learn about the LPTMR, it s

Hello, welcome to this presentation of the low power timer, or LPTMR, module for Kinetis MCUs. In this session you ll learn about the LPTMR, it s Hello, welcome to this presentation of the low power timer, or LPTMR, module for Kinetis MCUs. In this session you ll learn about the LPTMR, it s main features and the application benefits of leveraging

More information

Section 29. Real-Time Clock and Calendar (RTCC)

Section 29. Real-Time Clock and Calendar (RTCC) Section 29. Real-Time Clock and Calendar (RTCC) HIGHLIGHTS This section of the manual contains the following topics: 29.1 Introduction... 29-2 29.2 Status and Control Registers... 29-3 29.3 Modes of Operation...

More information

How To Understand All Instructions In The Power12 Program

How To Understand All Instructions In The Power12 Program Module Introduction PURPOSE: The intent of this module is to present all CPU12 instructions to better prepare you to write short routines in assembly language. OBJECTIVES: - Discuss all CPU12 instruction

More information

Computer organization

Computer organization Computer organization Computer design an application of digital logic design procedures Computer = processing unit + memory system Processing unit = control + datapath Control = finite state machine inputs

More information

Computer Organization and Architecture

Computer Organization and Architecture Computer Organization and Architecture Chapter 11 Instruction Sets: Addressing Modes and Formats Instruction Set Design One goal of instruction set design is to minimize instruction length Another goal

More information

AT89C1051. 8-Bit Microcontroller with 1 Kbyte Flash. Features. Description. Pin Configuration

AT89C1051. 8-Bit Microcontroller with 1 Kbyte Flash. Features. Description. Pin Configuration AT89C1051 Features Compatible with MCS-51 Products 1 Kbyte of Reprogrammable Flash Memory Endurance: 1,000 Write/Erase Cycles 2.7 V to 6 V Operating Range Fully Static Operation: 0 Hz to 24 MHz Two-Level

More information

Traditional IBM Mainframe Operating Principles

Traditional IBM Mainframe Operating Principles C H A P T E R 1 7 Traditional IBM Mainframe Operating Principles WHEN YOU FINISH READING THIS CHAPTER YOU SHOULD BE ABLE TO: Distinguish between an absolute address and a relative address. Briefly explain

More information

Flash Microcontroller. Architectural Overview. Features. Block Diagram. Figure 1. Block Diagram of the AT89C core

Flash Microcontroller. Architectural Overview. Features. Block Diagram. Figure 1. Block Diagram of the AT89C core Features 8-Bit CPU Optimized for Control Applications Extensive Boolean Processing Capabilities (Single-Bit Logic) On-Chip Flash Program Memory On-Chip Data RAM Bidirectional and Individually Addressable

More information

DS1721 2-Wire Digital Thermometer and Thermostat

DS1721 2-Wire Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components with ±1 C accuracy Measures temperatures from -55 C to +125 C; Fahrenheit equivalent is -67 F to +257 F Temperature resolution

More information

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1 The I2C Bus Introduction The I2C-bus is a de facto world standard that is now implemented in over 1000 different ICs manufactured by more than 50 companies. Additionally, the versatile I2C-bus is used

More information

A N. O N Output/Input-output connection

A N. O N Output/Input-output connection Memory Types Two basic types: ROM: Read-only memory RAM: Read-Write memory Four commonly used memories: ROM Flash, EEPROM Static RAM (SRAM) Dynamic RAM (DRAM), SDRAM, RAMBUS, DDR RAM Generic pin configuration:

More information

Real-time system programs

Real-time system programs by ORV BALCOM Simple Task Scheduler Prevents Priority Inversion Here is a method of task scheduling using a single interrupt that provides a deterministic approach to program timing and I/O processing.

More information

HT1632C 32 8 &24 16 LED Driver

HT1632C 32 8 &24 16 LED Driver 328 &216 LED Driver Features Operating voltage: 2.V~5.5V Multiple LED display 32 ROW /8 COM and 2 ROW & 16 COM Integrated display RAM select 32 ROW & 8 COM for 6 display RAM, or select 2 ROW & 16 COM for

More information

CSE2102 Digital Design II - Topics CSE2102 - Digital Design II

CSE2102 Digital Design II - Topics CSE2102 - Digital Design II CSE2102 Digital Design II - Topics CSE2102 - Digital Design II 6 - Microprocessor Interfacing - Memory and Peripheral Dr. Tim Ferguson, Monash University. AUSTRALIA. Tel: +61-3-99053227 FAX: +61-3-99053574

More information

3 Mbit / 4 Mbit / 8 Mbit LPC Flash SST49LF030A / SST49LF040A / SST49LF080A

3 Mbit / 4 Mbit / 8 Mbit LPC Flash SST49LF030A / SST49LF040A / SST49LF080A FEATURES: 3 Mbit / 4 Mbit / 8 Mbit LPC Flash 3 Mb / 4 Mb / 8 Mbit LPC Flash LPC Interface Flash SST49LF030A: 384K x8 (3 Mbit) SST49LF040A: 512K x8 (4 Mbit) SST49LF080A: 1024K x8 (8 Mbit) Conforms to Intel

More information

Real-Time Clock. * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold

Real-Time Clock. * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold REAL-TIME CLOCK Real-Time Clock The device is not a clock! It does not tell time! It has nothing to do with actual or real-time! The Real-Time Clock is no more than an interval timer connected to the computer

More information

Freescale Semiconductor, I

Freescale Semiconductor, I nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development

More information

ABB i-bus EIB Logic Module LM/S 1.1

ABB i-bus EIB Logic Module LM/S 1.1 Product Manual ABB i-bus EIB Logic Module LM/S 1.1 Intelligent Installation System Contents page 1 General... 3 1.1 About this manual... 3 1.2 Product and functional overview... 3 2 Device technology...

More information

Serial Communications

Serial Communications Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation

More information

Keil C51 Cross Compiler

Keil C51 Cross Compiler Keil C51 Cross Compiler ANSI C Compiler Generates fast compact code for the 8051 and it s derivatives Advantages of C over Assembler Do not need to know the microcontroller instruction set Register allocation

More information

Microcomputer Components SAB 80515/SAB 80C515 8-Bit Single-Chip Microcontroller Family

Microcomputer Components SAB 80515/SAB 80C515 8-Bit Single-Chip Microcontroller Family Microcomputer Components SAB 80515/SAB 80C515 8-Bit Single-Chip Microcontroller Family User's Manual 08.95 SAB 80515 / SAB 80C515 Family Revision History: 8.95 Previous Releases: 12.90/10.92 Page Subjects

More information

HD44780U (LCD-II) (Dot Matrix Liquid Crystal Display Controller/Driver)

HD44780U (LCD-II) (Dot Matrix Liquid Crystal Display Controller/Driver) HD4478U (LCD-II) (Dot Matrix Liquid Crystal Display Controller/Driver) Description The HD4478U dot-matrix liquid crystal display controller and driver LSI displays alphanumerics, Japanese kana characters,

More information