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

Size: px
Start display at page:

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

Transcription

1 nc. M68HC08 Microcontrollers MC68HC908LJ24 MC68HC908LK24 Data Sheet MC68HC908LJ24/D Rev. 2 8/2003 MOTOROLA.COM/SEMICONDUCTORS

2 nc.

3 nc. MC68HC908LJ24 MC68HC908LK24 Data Sheet 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: The following revision history table summarizes changes contained in this document. For your convenience, the page number designators have been linked to the appropriate location. Motorola and the Stylized M Logo are registered trademarks of Motorola, Inc. DigitalDNA is a trademark of Motorola, Inc. This product incorporates SuperFlash technology licensed from SST. Motorola, Inc., 2003 MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA 3

4 nc. Revision History Revision History Date Revision Level Description Page Number(s) 8/ First general release. Data Sheet MC68HC908LJ24/LK24 Rev. 2 4 MOTOROLA

5 nc. Data Sheet MC68HC908LJ24 List of Sections Section 1. General Description Section 2. Memory Map Section 3. Random-Access Memory (RAM) Section 4. FLASH Memory (FLASH) Section 5. Configuration Registers (CONFIG) Section 6. Central Processor Unit (CPU) Section 7. Oscillator (OSC) Section 8. Clock Generator Module (CGM) Section 9. System Integration Module (SIM) Section 10. Monitor ROM (MON) Section 11. Timer Interface Module (TIM) Section 12. Real Time Clock (RTC) Section 13. Infrared Serial Communications Interface Module (IRSCI) Section 14. Serial Peripheral Interface Module (SPI)..287 Section 15. Multi-Master IIC Interface (MMIIC) Section 16. Analog-to-Digital Converter (ADC) Section 17. Liquid Crystal Display (LCD) Driver Section 18. Input/Output (I/O) Ports Section 19. External Interrupt (IRQ) MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA List of Sections 5

6 nc. List of Sections Section 20. Keyboard Interrupt Module (KBI) Section 21. Computer Operating Properly (COP) Section 22. Low-Voltage Inhibit (LVI) Section 23. Break Module (BRK) Section 24. Electrical Specifications Section 25. Mechanical Specifications Section 26. Ordering Information Appendix A. MC68HC908LK Data Sheet MC68HC908LJ24/LK24 Rev. 2 6 List of Sections MOTOROLA

7 nc. Data Sheet MC68HC908LJ24 Table of Contents Section 1. General Description 1.1 Contents Introduction Features MCU Block Diagram Pin Assignments Pin Functions Power Supply Pins (V DD and V SS ) Analog Power Supply Pin (V DDA ) LCD Bias Voltage (V LCD ) Oscillator Pins (OSC1 and OSC2) External Reset Pin (RST) External Interrupt Pin (IRQ) External Filter Capacitor Pin (CGMXFC) ADC Voltage High Reference Pin (V REFH ) ADC Voltage Low Reference Pin (V REFL ) Port A Input/Output (I/O) Pins (PTA7 PTA0) Port B I/O Pins (PTB7 PTB0) Port C I/O Pins (PTC7 PTC0) Port D I/O Pins (PTD7 PTD0) Port E I/O Pins (PTE7 PTE0) Port F I/O Pins (PTF7 PTF0) LCD Backplane and Frontplane (BP0-BP2, BP3/FP0, FP1 FP10, FP27 FP32) MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA Table of Contents 7

8 nc. Table of Contents Section 2. Memory Map 2.1 Contents Introduction Unimplemented Memory Locations Reserved Memory Locations Input/Output (I/O) Section Section 3. Random-Access Memory (RAM) 3.1 Contents Introduction Functional Description Section 4. FLASH Memory (FLASH) 4.1 Contents Introduction Functional Description FLASH Control Register FLASH Page Erase Operation FLASH Mass Erase Operation FLASH Program Operation FLASH Block Protection FLASH Block Protect Register Section 5. Configuration Registers (CONFIG) 5.1 Contents Introduction Functional Description Configuration Register 1 (CONFIG1) Configuration Register 2 (CONFIG2) Data Sheet MC68HC908LJ24/LK24 Rev. 2 8 Table of Contents MOTOROLA

9 nc. Table of Contents Section 6. Central Processor Unit (CPU) 6.1 Contents Introduction Features CPU Registers Accumulator Index Register Stack Pointer Program Counter Condition Code Register Arithmetic/Logic Unit (ALU) Low-Power Modes Wait Mode Stop Mode CPU During Break Interrupts Instruction Set Summary Opcode Map Section 7. Oscillator (OSC) 7.1 Contents Introduction Internal Oscillator X-tal Oscillator I/O Signals Crystal Amplifier Input Pin (OSC1) Crystal Amplifier Output Pin (OSC2) Oscillator Enable Signal (SIMOSCEN) Internal RC Clock (ICLK) CGM Oscillator Clock (CGMXCLK) CGM Reference Clock (CGMRCLK) MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA Table of Contents 9

10 nc. Table of Contents 7.6 Low Power Modes Wait Mode Stop Mode Oscillator During Break Mode Section 8. Clock Generator Module (CGM) 8.1 Contents Introduction Features Functional Description Oscillator Module Phase-Locked Loop Circuit (PLL) PLL Circuits Acquisition and Tracking Modes Manual and Automatic PLL Bandwidth Modes Programming the PLL Special Programming Exceptions Base Clock Selector Circuit CGM External Connections I/O Signals External Filter Capacitor Pin (CGMXFC) PLL Analog Power Pin (V DDA ) PLL Analog Ground Pin (V SSA ) Oscillator Output Frequency Signal (CGMXCLK) CGM Reference Clock (CGMRCLK) CGM VCO Clock Output (CGMVCLK) CGM Base Clock Output (CGMOUT) CGM CPU Interrupt (CGMINT) CGM Registers PLL Control Register PLL Bandwidth Control Register PLL Multiplier Select Registers PLL VCO Range Select Register PLL Reference Divider Select Register Data Sheet MC68HC908LJ24/LK24 Rev Table of Contents MOTOROLA

11 nc. Table of Contents 8.7 Interrupts Special Modes Wait Mode Stop Mode CGM During Break Interrupts Acquisition/Lock Time Specifications Acquisition/Lock Time Definitions Parametric Influences on Reaction Time Choosing a Filter Section 9. System Integration Module (SIM) 9.1 Contents Introduction SIM Bus Clock Control and Generation Bus Timing Clock Start-up from POR or LVI Reset Clocks in Stop Mode and Wait Mode Reset and System Initialization External Pin Reset Active Resets from Internal Sources Power-On Reset Computer Operating Properly (COP) Reset Illegal Opcode Reset Illegal Address Reset Low-Voltage Inhibit (LVI) Reset Monitor Mode Entry Module Reset (MODRST) SIM Counter SIM Counter During Power-On Reset SIM Counter During Stop Mode Recovery SIM Counter and Reset States Exception Control Interrupts Hardware Interrupts SWI Instruction MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA Table of Contents 11

12 nc. Table of Contents Interrupt Status Registers Interrupt Status Register Interrupt Status Register Interrupt Status Register Reset Break Interrupts Status Flag Protection in Break Mode Low-Power Modes Wait Mode Stop Mode SIM Registers SIM Break Status Register SIM Reset Status Register SIM Break Flag Control Register Section 10. Monitor ROM (MON) 10.1 Contents Introduction Features Functional Description Entering Monitor Mode Data Format Break Signal Baud Rate Commands Security ROM-Resident Routines PRGRNGE ERARNGE LDRNGE MON_PRGRNGE MON_ERARNGE MON_LDRNGE EE_WRITE EE_READ Data Sheet MC68HC908LJ24/LK24 Rev Table of Contents MOTOROLA

13 nc. Table of Contents Section 11. Timer Interface Module (TIM) 11.1 Contents Introduction Features Pin Name Conventions Functional Description TIM Counter Prescaler Input Capture Output Compare Unbuffered Output Compare Buffered Output Compare Pulse Width Modulation (PWM) Unbuffered PWM Signal Generation Buffered PWM Signal Generation PWM Initialization Interrupts Low-Power Modes Wait Mode Stop Mode TIM During Break Interrupts I/O Signals TIM Clock Pins (PTD4/KBI4/T1CLK, PTD5/KBI5/T2CLK) TIM Channel I/O Pins (PTB2/T1CH0, PTB3/T1CH1, PTB4/T2CH0, PTB5/T2CH1) I/O Registers TIM Status and Control Register TIM Counter Registers TIM Counter Modulo Registers TIM Channel Status and Control Registers TIM Channel Registers MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA Table of Contents 13

14 nc. Table of Contents Section 12. Real Time Clock (RTC) 12.1 Contents Introduction Features I/O Pins Functional Description Time Functions Calendar Functions Alarm Functions Chronograph Functions Timebase Interrupts RTC Interrupts RTC Clock Calibration and Compensation Calibration Error RTC Register and Bit Write Protection Low-Power Modes Wait Mode Stop Mode RTC Registers RTC Calibration Control Register (RTCCOMR) RTC Calibration Data Register (RTCCDAT) RTC Control Register 1 (RTCCR1) RTC Control Register 2 (RTCCR2) RTC Status Register (RTCSR) Alarm Minute and Hour Registers (ALMR and ALHR) Second Register (SECR) Minute Register (MINR) Hour Register (HRR) Day Register (DAYR) Month Register (MTHR) Year Register (YRR) Day-Of-Week Register (DOWR) Chronograph Data Register (CHRR) Data Sheet MC68HC908LJ24/LK24 Rev Table of Contents MOTOROLA

15 nc. Table of Contents Section 13. Infrared Serial Communications Interface Module (IRSCI) 13.1 Contents Introduction Features Pin Name Conventions IRSCI Module Overview Infrared Functional Description Infrared Transmit Encoder Infrared Receive Decoder SCI Functional Description Data Format Transmitter Character Length Character Transmission Break Characters Idle Characters Transmitter Interrupts Receiver Character Length Character Reception Data Sampling Framing Errors Baud Rate Tolerance Receiver Wakeup Receiver Interrupts Error Interrupts Low-Power Modes Wait Mode Stop Mode SCI During Break Module Interrupts I/O Signals PTB0/TxD (Transmit Data) MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA Table of Contents 15

16 nc. Table of Contents PTB1/RxD (Receive Data) I/O Registers SCI Control Register SCI Control Register SCI Control Register SCI Status Register SCI Status Register 2 (SCS2) SCI Data Register SCI Baud Rate Register SCI Infrared Control Register Section 14. Serial Peripheral Interface Module (SPI) 14.1 Contents Introduction Features Pin Name Conventions and I/O Register Addresses Functional Description Master Mode Slave Mode Transmission Formats Clock Phase and Polarity Controls Transmission Format When CPHA = Transmission Format When CPHA = Transmission Initiation Latency Queuing Transmission Data Error Conditions Overflow Error Mode Fault Error Interrupts Resetting the SPI Low-Power Modes Wait Mode Data Sheet MC68HC908LJ24/LK24 Rev Table of Contents MOTOROLA

17 nc. Table of Contents Stop Mode SPI During Break Interrupts I/O Signals MISO (Master In/Slave Out) MOSI (Master Out/Slave In) SPSCK (Serial Clock) SS (Slave Select) CGND (Clock Ground) I/O Registers SPI Control Register SPI Status and Control Register SPI Data Register Section 15. Multi-Master IIC Interface (MMIIC) 15.1 Contents Introduction Features I/O Pins Multi-Master IIC Registers Multi-Master IIC Address Register (MMADR) Multi-Master IIC Control Register (MMCR) Multi-Master IIC Master Control Register (MIMCR) Multi-Master IIC Status Register (MMSR) Multi-Master IIC Data Transmit Register (MMDTR) Multi-Master IIC Data Receive Register (MMDRR) Programming Considerations Section 16. Analog-to-Digital Converter (ADC) 16.1 Contents Introduction Features MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA Table of Contents 17

18 nc. Table of Contents 16.4 Functional Descriptions ADC Port I/O Pins Voltage Conversion Conversion Time Continuous Conversion Result Justification Monotonicity Interrupts Low-Power Modes Wait Mode Stop Mode I/O Signals ADC Voltage In (V ADIN ) ADC Analog Power Pin (V DDA ) ADC Analog Ground Pin (V SSA ) ADC Voltage Reference High Pin (V REFH ) ADC Voltage Reference Low Pin (V REFL ) I/O Registers ADC Status and Control Register ADC Data Register ADC Clock Control Register Section 17. Liquid Crystal Display (LCD) Driver 17.1 Contents Introduction Features Pin Name Conventions and I/O Register Addresses Functional Description LCD Duty LCD Voltages (V LCD, V LCD1, V LCD2, V LCD3 ) LCD Cycle Frame Fast Charge and Low Current Contrast Control Data Sheet MC68HC908LJ24/LK24 Rev Table of Contents MOTOROLA

19 nc. Table of Contents 17.6 Low-Power Modes Wait Mode Stop Mode I/O Signals BP0 BP3 (Backplane Drivers) FP0 FP32 (Frontplane Drivers) Seven Segment Display Connection I/O Registers LCD Control Register (LCDCR) LCD Clock Register (LCDCLK) LCD Data Registers (LDAT1 LDAT17) Section 18. Input/Output (I/O) Ports 18.1 Contents Introduction Port A Port A Data Register (PTA) Data Direction Register A (DDRA) Port B Port B Data Register (PTB) Data Direction Register B (DDRB) Port B LED Control Register (LEDB) Port C Port C Data Register (PTC) Data Direction Register C (DDRC) Port C LED Control Register (LEDC) Port D Port D Data Register (PTD) Data Direction Register D (DDRD) Port E Port E Data Register (PTE) Data Direction Register E (DDRE) Port E LED Control Register (LEDE) MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA Table of Contents 19

20 nc. Table of Contents 18.8 Port F Port F Data Register (PTF) Data Direction Register F (DDRF) Port F LED Control Register (LEDF) Section 19. External Interrupt (IRQ) 19.1 Contents Introduction Features Functional Description IRQ Pin IRQ Module During Break Interrupts IRQ Status and Control Register (INTSCR) Section 20. Keyboard Interrupt Module (KBI) 20.1 Contents Introduction Features I/O Pins Functional Description Keyboard Initialization Keyboard Interrupt Registers Keyboard Status and Control Register Keyboard Interrupt Enable Register Low-Power Modes Wait Mode Stop Mode Keyboard Module During Break Interrupts Data Sheet MC68HC908LJ24/LK24 Rev Table of Contents MOTOROLA

21 nc. Table of Contents Section 21. Computer Operating Properly (COP) 21.1 Contents Introduction Functional Description I/O Signals ICLK STOP Instruction COPCTL Write Power-On Reset Internal Reset Reset Vector Fetch COPD (COP Disable) COPRS (COP Rate Select) COP Control Register Interrupts Monitor Mode Low-Power Modes Wait Mode Stop Mode COP Module During Break Mode Section 22. Low-Voltage Inhibit (LVI) 22.1 Contents Introduction Features Functional Description Polled LVI Operation Forced Reset Operation Voltage Hysteresis Protection LVI Trip Selection LVI Status Register MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA Table of Contents 21

22 nc. Table of Contents 22.6 Low-Power Modes Wait Mode Stop Mode Section 23. Break Module (BRK) 23.1 Contents Introduction Features Functional Description Flag Protection During Break Interrupts CPU During Break Interrupts TIM1 and TIM2 During Break Interrupts COP During Break Interrupts Low-Power Modes Wait Mode Stop Mode Break Module Registers Break Status and Control Register Break Address Registers SIM Break Status Register SIM Break Flag Control Register Section 24. Electrical Specifications 24.1 Contents Introduction Absolute Maximum Ratings Functional Operating Range Thermal Characteristics V DC Electrical Characteristics V DC Electrical Characteristics V Control Timing Data Sheet MC68HC908LJ24/LK24 Rev Table of Contents MOTOROLA

23 nc. Table of Contents V Control Timing V Oscillator Characteristics V Oscillator Characteristics V ADC Electrical Characteristics V ADC Electrical Characteristics Timer Interface Module Characteristics CGM Electrical Specifications V SPI Characteristics V SPI Characteristics FLASH Memory Characteristics Section 25. Mechanical Specifications 25.1 Contents Introduction Pin Low-Profile Quad Flat Pack (LQFP) Pin Quad Flat Pack (QFP) Pin Low-Profile Quad Flat Pack (LQFP) Pin Quad Flat Pack (QFP) Section 26. Ordering Information 26.1 Contents Introduction MC Order Numbers Appendix A. MC68HC908LK24 A.1 Contents A.2 Introduction MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA Table of Contents 23

24 nc. Table of Contents A.3 Oscillator A.4 Low-Voltage Inhibit A.5 Electrical Specifications A.5.1 5V DC Electrical Characteristics A V DC Electrical Characteristics A.5.3 5V Oscillator Characteristics A V Oscillator Characteristics A.6 MC Order Numbers Data Sheet MC68HC908LJ24/LK24 Rev Table of Contents MOTOROLA

25 nc. Data Sheet MC68HC908LJ24 List of Figures Figure Title Page 1-1 MC68HC908LJ24 Block Diagram Pin QFP and LQFP Pin Assignment pin QFP and LQFP Pin Assignment Power Supply Bypassing Memory Map Control, Status, and Data Registers FLASH I/O Register Summary FLASH Control Register (FLCR) FLASH Programming Flowchart FLASH Block Protect Register (FLBPR) CONFIG Registers Summary Configuration Register 1 (CONFIG1) Configuration Register 2 (CONFIG2) CPU Registers Accumulator (A) Index Register (H:X) Stack Pointer (SP) Program Counter (PC) Condition Code Register (CCR) Oscillator Module Block Diagram CGM Block Diagram CGM I/O Register Summary CGM External Connections PLL Control Register (PCTL) MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA List of Figures 25

26 nc. List of Figures Figure Title Page 8-5 PLL Bandwidth Control Register (PBWCR) PLL Multiplier Select Register High (PMSH) PLL Multiplier Select Register Low (PMSL) PLL VCO Range Select Register (PMRS) PLL Reference Divider Select Register (PMDS) PLL Filter SIM Block Diagram SIM I/O Register Summary CGM Clock Signals External Reset Timing Internal Reset Timing Sources of Internal Reset POR Recovery Interrupt Entry Timing Interrupt Recovery Timing Interrupt Processing Interrupt Recognition Example Interrupt Status Register 1 (INT1) Interrupt Status Register 2 (INT2) Interrupt Status Register 3 (INT3) Wait Mode Entry Timing Wait Recovery from Interrupt or Break Wait Recovery from Internal Reset Stop Mode Entry Timing Stop Mode Recovery from Interrupt or Break SIM Break Status Register (SBSR) SIM Reset Status Register (SRSR) SIM Break Flag Control Register (SBFCR) Monitor Mode Circuit Low-Voltage Monitor Mode Entry Flowchart Monitor Data Format Break Transaction Read Transaction Write Transaction Data Sheet MC68HC908LJ24/LK24 Rev List of Figures MOTOROLA

27 nc. List of Figures Figure Title Page 10-7 Stack Pointer at Monitor Mode Entry Monitor Mode Entry Timing Data Block Format for ROM-Resident Routines EE_WRITE FLASH Memory Usage TIM Block Diagram TIM I/O Register Summary PWM Period and Pulse Width TIM Status and Control Register (TSC) TIM Counter Registers High (TCNTH) TIM Counter Registers Low (TCNTL) TIM Counter Modulo Register High (TMODH) TIM Counter Modulo Register Low (TMODL) TIM Channel 0 Status and Control Register (TSC0) TIM Channel 1 Status and Control Register (TSC1) CHxMAX Latency TIM Channel 0 Register High (TCH0H) TIM Channel 0 Register Low (TCH0L) TIM Channel 1 Register High (TCH1H) TIM Channel 1 Register Low (TCH1L) RTC I/O Register Summary RTC Block Diagram RTC Clock Calibration and Compensation Hz Clock Compensation RTC Write Protect State Diagram RTC Calibration Control Register (RTCCOMR) RTC Calibration Data Register (RTCCDAT) RTC Control Register 1 (RTCCR1) RTC Control Register 2 (RTCCR2) RTC Status Register (RTCSR) Alarm Minute Register (ALMR) Alarm Hour Register (ALHR) Second Register (SECR) Minute Register (MINR) Hour Register (HRR) MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA List of Figures 27

28 nc. List of Figures Figure Title Page Day Register (DAYR) Month Register (MTHR) Year Register (YRR) Day-Of-Week Register (DOWR) Chronograph Data Register (CHRR) IRSCI I/O Registers Summary IRSCI Block Diagram Infrared Sub-Module Diagram Infrared SCI Data Example SCI Module Block Diagram SCI Data Formats SCI Transmitter SCI Receiver Block Diagram Receiver Data Sampling Slow Data Fast Data SCI Control Register 1 (SCC1) SCI Control Register 2 (SCC2) SCI Control Register 3 (SCC3) SCI Status Register 1 (SCS1) Flag Clearing Sequence SCI Status Register 2 (SCS2) SCI Data Register (SCDR) SCI Baud Rate Register (SCBR) SCI Infrared Control Register (SCIRCR) SPI I/O Register Summary SPI Module Block Diagram Full-Duplex Master-Slave Connections Transmission Format (CPHA = 0) CPHA/SS Timing Transmission Format (CPHA = 1) Transmission Start Delay (Master) SPRF/SPTE CPU Interrupt Timing Missed Read of Overflow Condition Data Sheet MC68HC908LJ24/LK24 Rev List of Figures MOTOROLA

29 nc. List of Figures Figure Title Page Clearing SPRF When OVRF Interrupt Is Not Enabled SPI Interrupt Request Generation CPHA/SS Timing SPI Control Register (SPCR) SPI Status and Control Register (SPSCR) SPI Data Register (SPDR) MMIIC I/O Register Summary Multi-Master IIC Address Register (MMADR) Multi-Master IIC Control Register (MMCR) Multi-Master IIC Master Control Register (MIMCR) Multi-Master IIC Status Register (MMSR) Multi-Master IIC Data Transmit Register (MMDTR) Multi-Master IIC Data Receive Register (MMDRR) Data Transfer Sequences for Master/Slave Transmit/Receive Modes ADC I/O Register Summary ADC Block Diagram Bit Truncation Mode Error ADC Status and Control Register (ADSCR) ADRH and ADRL in 8-Bit Truncated Mode ADRH and ADRL in Right Justified Mode ADRH and ADRL in Left Justified Mode ADRH and ADRL in Left Justified Sign Data Mode ADC Clock Control Register (ADCLK) LCD I/O Register Summary LCD Block Diagram Simplified LCD Schematic (1/3 Duty, 1/3 Bias) Fast Charge Timing Static LCD Backplane Driver Waveform /3 Duty LCD Backplane Driver Waveforms /4 Duty LCD Backplane Driver Waveforms Static LCD Frontplane Driver Waveforms /3 Duty LCD Frontplane Driver Waveforms /4 Duty LCD Frontplane Driver Waveforms MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA List of Figures 29

30 nc. List of Figures Figure Title Page /4 Duty LCD Frontplane Driver Waveforms (continued) Segment Display Example BP0 BP2 and FP0 FP2 Output Waveforms for 7-Segment Display Example "f" Segment Voltage Waveform "e" Segment Voltage Waveform LCD Control Register (LCDCR) LCD Clock Register (LCDCLK) LCD Data Registers 1 17 (LDAT1 LDAT17) I/O Port Register Summary Port A Data Register (PTA) Data Direction Register A (DDRA) Port A I/O Circuit Port B Data Register (PTB) Data Direction Register B (DDRB) Port B I/O Circuit Port B LED Control Register (LEDB) Port C Data Register (PTC) Data Direction Register C (DDRC) Port C I/O Circuit Port C LED Control Register (LEDC) Port D Data Register (PTD) Data Direction Register D (DDRD) Port D I/O Circuit Port E Data Register (PTE) Data Direction Register E (DDRE) Port E I/O Circuit Port E LED Control Register (LEDE) Port F Data Register (PTF) Data Direction Register F (DDRF) Port F I/O Circuit Port F LED Control Register (LEDF) IRQ Module Block Diagram IRQ I/O Port Register Summary Data Sheet MC68HC908LJ24/LK24 Rev List of Figures MOTOROLA

31 nc. List of Figures Figure Title Page 19-3 IRQ Status and Control Register (INTSCR) KBI I/O Register Summary Keyboard Interrupt Block Diagram Keyboard Status and Control Register (KBSCR) Keyboard Interrupt Enable Register (KBIER) COP Block Diagram Configuration Register 1 (CONFIG1) COP Control Register (COPCTL) LVI I/O Register Summary LVI Module Block Diagram Break Module Block Diagram Break Module I/O Register Summary Break Status and Control Register (BRKSCR) Break Address Register High (BRKH) Break Address Register Low (BRKL) SIM Break Status Register (SBSR) SIM Break Flag Control Register (SBFCR) Typical Internal Oscillator Frequency SPI Master Timing SPI Slave Timing Pin Low-Profile Quad Flat Pack (Case No. 840F) Pin Quad Flat Pack (Case No. 840B) Pin Low-Profile Quad Flat Pack (Case No. 917) Pin Quad Flat Pack (Case No. 841B) A-1 MC68HC908LK24 Crystal Oscillator Connection A-2 MC68HC908LK24 Configuration Register 1 (CONFIG1) MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA List of Figures 31

32 nc. List of Figures Data Sheet MC68HC908LJ24/LK24 Rev List of Figures MOTOROLA

33 nc. Data Sheet MC68HC908LJ24 List of Tables Table Title Page 2-1 Vector Addresses FLASH Block Protect Register to Physical Address LVI Trip Point Selection Instruction Set Summary Opcode Map Numeric Examples VPR1 and VPR0 Programming PRE 1 and PRE0 Programming Signal Name Conventions PIN Bit Set Timing Vector Addresses Monitor Mode Signal Requirements and Options Mode Differences (Vectors) Monitor Baud Rate Selection READ (Read Memory) Command WRITE (Write Memory) Command IREAD (Indexed Read) Command IWRITE (Indexed Write) Command READSP (Read Stack Pointer) Command RUN (Run User Program) Command Summary of ROM-Resident Routines PRGRNGE Routine ERARNGE Routine LDRNGE Routine MC68HC908LJ24/LK24 Rev. 2 Data Sheet MOTOROLA List of Tables 33

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

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

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

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

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

Microtronics technologies Mobile: 99707 90092

Microtronics technologies Mobile: 99707 90092 For more Project details visit: http://www.projectsof8051.com/rfid-based-attendance-management-system/ Code Project Title 1500 RFid Based Attendance System Synopsis for RFid Based Attendance System 1.

More information

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems. 2008 Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems. 2008 Chapter-1L03: Embedded Systems - , Raj Kamal, Publs.: McGraw-Hill Education Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems 1 Typical Embedded System Hardware units 2 Basic Circuit Elements at the System 3 (i) Power Source 1. System own supply with separate supply

More information

Using the HC08 SCI Module

Using the HC08 SCI Module Freescale Semiconductor Application Note AN3035 Rev. 0, 09/2005 Using the HC08 SCI Module By Jorge Zambada Tinoco Oscar Luna González RTAC Americas Mexico 2005 Overview This document is intended to serve

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

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface

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

Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers Scott Pape and Eduardo Montanez Systems Engineering, Freescale Microcontroller Division

Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers Scott Pape and Eduardo Montanez Systems Engineering, Freescale Microcontroller Division Freescale Semiconductor White Paper Document Number: QE128COMPWP Rev. 0, 05/2007 Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers by: Scott Pape and Eduardo Montanez Systems Engineering, Freescale

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

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Parallel Data Transfer Suppose you need to transfer data from one HCS12 to another. How can you

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

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE AVR 8-bit Microcontrollers AVR131: Using the AVR s High-speed PWM APPLICATION NOTE Introduction This application note is an introduction to the use of the high-speed Pulse Width Modulator (PWM) available

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

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

Freescale Semiconductor, I

Freescale Semiconductor, I Application Note 10/2003 Configuring the System and Peripheral Clocks in the MC9S12E128 By Steven Torres 8/16 Bit Systems Engineering Austin, Texas Introduction The MC9S12E128 is a 16-bit FLASH-based microcontroller

More information

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor. http://onsemi.

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor. http://onsemi. Design Examples of On Board Dual Supply Voltage Logic Translators Prepared by: Jim Lepkowski ON Semiconductor Introduction Logic translators can be used to connect ICs together that are located on the

More information

Software Real Time Clock Implementation on MC9S08LG32

Software Real Time Clock Implementation on MC9S08LG32 Freescale Semiconductor Document Number: AN4478 Rev. 0, 03/2012 Software Real Time Clock Implementation on MC9S08LG32 by: Nitin Gupta Automotive and Industrial Solutions Group 1 Introduction The MC9S08LG32

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

ET-BASE AVR ATmega64/128

ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on

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

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

Lab Experiment 1: The LPC 2148 Education Board

Lab Experiment 1: The LPC 2148 Education Board Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,

More information

Application Note. Introduction. J1850 Overview. AN1212/D Rev. 1, 11/2001

Application Note. Introduction. J1850 Overview. AN1212/D Rev. 1, 11/2001 Application Note Rev. 1, 11/2001 J1850 Multiplex Bus Commmunication Using the MC68HC705C8 and the SC371016 J1850 Communications Interface (JCI) By Chuck Powers Multiplex Applications Introduction The SC371016

More information

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication D/N: HA0150E Introduction This application explains how to use two I/O lines on the HT46R46 to implement half-duplex SPI communication.

More information

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of applications such as home appliances, medical, automotive,

More information

Atmel Norway 2005. XMEGA Introduction

Atmel Norway 2005. XMEGA Introduction Atmel Norway 005 XMEGA Introduction XMEGA XMEGA targets Leadership on Peripheral Performance Leadership in Low Power Consumption Extending AVR market reach XMEGA AVR family 44-100 pin packages 16K 51K

More information

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc. SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance

More information

Implementing SPI Communication Between MSP430 G2452 and LTC2382-16 ADC

Implementing SPI Communication Between MSP430 G2452 and LTC2382-16 ADC Implementing SPI Communication Between MSP430 G2452 and LTC2382-16 ADC Enwei Gu Nov. 12, 2011 MCU ADC MSP430- G2452 LTC2382-16 16- bits SPI Keywords 1 Abstract This document describes and shows how to

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

Single Phase Two-Channel Interleaved PFC Operating in CrM

Single Phase Two-Channel Interleaved PFC Operating in CrM Freescale Semiconductor Application Note Document Number: AN4836 Rev. 0, 12/2013 Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers by Freescale

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

AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1.

AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1. SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES 1. Introduction C8051F3xx and C8051F41x devices are equipped with an SMBus serial I/O peripheral that is compliant with both the System Management

More information

Embedded Systems Design Course Applying the mbed microcontroller

Embedded Systems Design Course Applying the mbed microcontroller Embedded Systems Design Course Applying the mbed microcontroller Serial communications with SPI These course notes are written by R.Toulson (Anglia Ruskin University) and T.Wilmshurst (University of Derby).

More information

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Course & Kit Contents LEARN HOW TO: Use of Keil Real View for ARM Use ARM Cortex-M3 MCU for professional embedded application development Understanding

More information

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS SERIAL I/O COMMON PROTOCOLS RS-232 Fundamentals What is RS-232 RS-232 is a popular communications interface for connecting modems and data acquisition devices (i.e. GPS receivers, electronic balances,

More information

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE Atmel AVR 8-bit Microcontroller AVR151: Setup and Use of the SPI APPLICATION NOTE Introduction This application note describes how to set up and use the on-chip Serial Peripheral Interface (SPI) of the

More information

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player Watt Saver for a Cell Phone AC Adapter Reference Design Document Number: DRM130 Rev 1, 10/2013 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction 1.1 Overview...5

More information

PAC52XX Clock Control Firmware Design

PAC52XX Clock Control Firmware Design APPLICATION NOTE PAC52XX Clock Control Firmware Design TM Marc Sousa Senior Manager, Systems and Firmware www.active-semi.com Copyright 2014 Active-Semi, Inc. TABLE OF CONTENTS APPLICATION NOTE... 1 Table

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

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: 802.15.4 wireless embedded network

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: 802.15.4 wireless embedded network u Today: Wired embedded networks Ø Characteristics and requirements Ø Some embedded LANs SPI I2C LIN Ethernet u Next lecture: CAN bus u Then: 802.15.4 wireless embedded network Network from a High End

More information

M68HC08. Microcontrollers. Designer Reference Manual. 2.4-GHz Wireless Optical Mouse and Multimedia Keyboard Solution. Freescale Semiconductor, I

M68HC08. Microcontrollers. Designer Reference Manual. 2.4-GHz Wireless Optical Mouse and Multimedia Keyboard Solution. Freescale Semiconductor, I nc. M68HC08 Microcontrollers 2.4-GHz Wireless Optical Mouse and Multimedia Keyboard Solution Designer Reference Manual DRM050/D Rev. 0, 09/2003 MOTOROLA.COM/SEMICONDUCTORS nc. nc. 2.4-GHz Wireless Optical

More information

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI SPI Overview and Use of the PICmicro Serial Peripheral Interface In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is, and how it is used to communicate

More information

ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation

ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation Program Definition: Write a program to control the speed of a dc motor using pulse width modulation. Discussion: The speed of a dc motor is

More information

USB and PS/2 Multimedia Keyboard Interface

USB and PS/2 Multimedia Keyboard Interface USB and PS/2 Multimedia Keyboard Interface Designer Reference Manual M68HC08 Microcontrollers DRM014 Rev. 1 4/2006 freescale.com USB and PS/2 Multimedia Keyboard Interface Designer Reference Manual by:

More information

HANDLING SUSPEND MODE ON A USB MOUSE

HANDLING SUSPEND MODE ON A USB MOUSE APPLICATION NOTE HANDLING SUSPEND MODE ON A USB MOUSE by Microcontroller Division Application Team INTRODUCTION All USB devices must support Suspend mode. Suspend mode enables the devices to enter low-power

More information

Designing an Induction Cooker Using the S08PT Family

Designing an Induction Cooker Using the S08PT Family Freescale Semiconductor, Inc. Document Number: AN5030 Application Note Rev. 0 11/2014 Designing an Induction Cooker Using the S08PT Family by: Leo Pan, Dennis Lui, T.C. Lun 1 Introduction This application

More information

Digital Signal Controller Based Automatic Transfer Switch

Digital Signal Controller Based Automatic Transfer Switch Digital Signal Controller Based Automatic Transfer Switch by Venkat Anant Senior Staff Applications Engineer Freescale Semiconductor, Inc. Abstract: An automatic transfer switch (ATS) enables backup generators,

More information

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Design of a High Speed Communications Link Using Field Programmable Gate Arrays Customer-Authored Application Note AC103 Design of a High Speed Communications Link Using Field Programmable Gate Arrays Amy Lovelace, Technical Staff Engineer Alcatel Network Systems Introduction A communication

More information

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction Software ISO 7816 I/O Line Implementation Features ISO 7816-3 compliant (direct convention) Byte reception and transmission with parity check Retransmission on error detection Automatic reception at the

More information

DS1307ZN. 64 x 8 Serial Real-Time Clock

DS1307ZN. 64 x 8 Serial Real-Time Clock DS137 64 x 8 Serial Real-Time Clock www.maxim-ic.com FEATURES Real-time clock (RTC) counts seconds, minutes, hours, date of the month, month, day of the week, and year with leap-year compensation valid

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

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

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

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction AVR319: Using the USI module for SPI communication Features C-code driver for SPI master and slave Uses the USI module Supports SPI Mode 0 and 1 Introduction The Serial Peripheral Interface (SPI) allows

More information

8051 MICROCONTROLLER COURSE

8051 MICROCONTROLLER COURSE 8051 MICROCONTROLLER COURSE Objective: 1. Familiarization with different types of Microcontroller 2. To know 8051 microcontroller in detail 3. Programming and Interfacing 8051 microcontroller Prerequisites:

More information

MicroMag3 3-Axis Magnetic Sensor Module

MicroMag3 3-Axis Magnetic Sensor Module 1008121 R01 April 2005 MicroMag3 3-Axis Magnetic Sensor Module General Description The MicroMag3 is an integrated 3-axis magnetic field sensing module designed to aid in evaluation and prototyping of PNI

More information

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT HARDWARE GUIDE This document is part of Turbo Programmer documentation. For Developer Documentation, Applications and Examples, see http:/// PRELIMINARY (C)

More information

DAC Digital To Analog Converter

DAC Digital To Analog Converter DAC Digital To Analog Converter DAC Digital To Analog Converter Highlights XMC4000 provides two digital to analog converters. Each can output one analog value. Additional multiple analog waves can be generated

More information

Section 7. Oscillator

Section 7. Oscillator HIGHLIGHTS Section 7. This section of the manual contains the following topics: 7 7.1 Introduction... 7-2 7.2 CPU Clocking...7-4 7.3 Configuration Registers... 7-5 7.4 Special Function Registers... 7-8

More information

Lecture N -1- PHYS 3330. Microcontrollers

Lecture N -1- PHYS 3330. Microcontrollers Lecture N -1- PHYS 3330 Microcontrollers If you need more than a handful of logic gates to accomplish the task at hand, you likely should use a microcontroller instead of discrete logic gates 1. Microcontrollers

More information

RENESAS TECHNICAL UPDATE

RENESAS TECHNICAL UPDATE RENESAS TECHNICAL UPDATE TN-RX*-A***A/E RENESAS TECHNICAL UPDATE 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan Renesas Electronics Corporation Date: Apr. 1, 2013 Product Category

More information

8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.

8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1. AVR415: RC5 IR Remote Control Transmitter Features Utilizes ATtiny28 Special HW Modulator and High Current Drive Pin Size Efficient Code, Leaves Room for Large User Code Low Power Consumption through Intensive

More information

AN4646 Application note

AN4646 Application note Application note Peripheral interconnections on STM32F401 and STM32F411 lines Introduction On top of the highest performance and the lowest power consumption of the STM32F4 family, STM32F401/411 peripherals

More information

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers Freescale Semiconductor Application Note Document Number: AN4836 Rev. 1, 07/2014 Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers by Freescale

More information

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

COMPUTER HARDWARE. Input- Output and Communication Memory Systems COMPUTER HARDWARE Input- Output and Communication Memory Systems Computer I/O I/O devices commonly found in Computer systems Keyboards Displays Printers Magnetic Drives Compact disk read only memory (CD-ROM)

More information

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example

More information

HT46R14A Single Phase AC Induction Motor Frequency Converter Application

HT46R14A Single Phase AC Induction Motor Frequency Converter Application HT46R14A Single Phase AC Induction Motor Frequency Converter Application D/N:HA0095E Introductions Initially the main reason for using frequency conversion technology was for speed control, however to

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

AN1229. Class B Safety Software Library for PIC MCUs and dspic DSCs OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION

AN1229. Class B Safety Software Library for PIC MCUs and dspic DSCs OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION Class B Safety Software Library for PIC MCUs and dspic DSCs AN1229 Authors: Veena Kudva & Adrian Aur Microchip Technology Inc. OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION This application note describes

More information

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications C ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications 1-chip solution for color display, video input and meter control with built-in highperformance CPU core FR81S

More information

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Leonardo Journal of Sciences ISSN 1583-0233 Issue 20, January-June 2012 p. 31-36 Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Ganesh Sunil NHIVEKAR *, and Ravidra Ramchandra MUDHOLKAR

More information

STM32 F-2 series High-performance Cortex-M3 MCUs

STM32 F-2 series High-performance Cortex-M3 MCUs STM32 F-2 series High-performance Cortex-M3 MCUs STMicroelectronics 32-bit microcontrollers, 120 MHz/150 DMIPS with ART Accelerator TM and advanced peripherals www.st.com/mcu STM32 F-2 series The STM32

More information

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN. zl2211@columbia.edu. ml3088@columbia.edu

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN. zl2211@columbia.edu. ml3088@columbia.edu MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN Zheng Lai Zhao Liu Meng Li Quan Yuan zl2215@columbia.edu zl2211@columbia.edu ml3088@columbia.edu qy2123@columbia.edu I. Overview Architecture The purpose

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

Display Message on Notice Board using GSM

Display Message on Notice Board using GSM Advance in Electronic and Electric Engineering. ISSN 2231-1297, Volume 3, Number 7 (2013), pp. 827-832 Research India Publications http://www.ripublication.com/aeee.htm Display Message on Notice Board

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

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

AN974 APPLICATION NOTE

AN974 APPLICATION NOTE AN974 APPLICATION NOTE Real time clock with ST7 Timer Output Compare By MCD Application Team 1 INTRODUCTION The purpose of this note is to present how to use the ST7 Timer output compare function. As an

More information

Android based Alcohol detection system using Bluetooth technology

Android based Alcohol detection system using Bluetooth technology For more Project details visit: http://www.projectsof8051.com/android-based-alcohol-detection-system-usingbluetooth-technology/ Code 1435 Project Title Android based Alcohol detection system using Bluetooth

More information

The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements.

The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements. HARDWARE DESCRIPTION The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements. BASE MODULE GO LINE Digital I/O 8 Analog Out AUX 1

More information

POCKET SCOPE 2. The idea 2. Design criteria 3

POCKET SCOPE 2. The idea 2. Design criteria 3 POCKET SCOPE 2 The idea 2 Design criteria 3 Microcontroller requirements 3 The microcontroller must have speed. 3 The microcontroller must have RAM. 3 The microcontroller must have secure Flash. 3 The

More information

Monitoring of Intravenous Drip Rate

Monitoring of Intravenous Drip Rate Monitoring of Intravenous Drip Rate Vidyadhar V. Kamble, Prem C. Pandey, Chandrashekar P. Gadgil, and Dinesh S. Choudhary Abstract A drip rate meter, for monitoring intravenous infusion, is developed using

More information

AMIS-52150. Low power Transceiver with Clock and Data Recovery

AMIS-52150. Low power Transceiver with Clock and Data Recovery AMIS-52150 Low power Transceiver with Clock and Data Recovery Introduction The AMIS 52150 is a cost-effective, ultra-low power single-chip wireless transceiver. It combines the proven Amplitude Shift Key/On-Off

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

1 Introduction. Freescale Semiconductor Application Note. AN3224 Rev. 0, 3/2006

1 Introduction. Freescale Semiconductor Application Note. AN3224 Rev. 0, 3/2006 Freescale Semiconductor Application Note AN3224 Rev. 0, 3/2006 Tutorial: Introducing the XGATE Module to Consumer and Industrial Application Developers by: Ross Mitchell Systems Engineering Manager, Transportation

More information

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged Write Protect CAT24WCxxx I 2 C Serial EEPROMs. Allows the user to protect against inadvertent write operations. WP = V CC : Write Protected Device select and address bytes are Acknowledged Data Bytes are

More information

Tutorial for MPLAB Starter Kit for PIC18F

Tutorial for MPLAB Starter Kit for PIC18F Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is

More information

Voice Dialer Speech Recognition Dialing IC

Voice Dialer Speech Recognition Dialing IC Speech Recognition Dialing IC Speaker Dependent IC for Voice Dialing Applications GENERAL DESCRIPTION The IC, from the Interactive Speech family of products, is an application specific standard product

More information

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide Version 2.1, 4/2010 Disclaimer While every effort has been made to ensure that the information in this guide is accurate

More information

Microcontrollers in Practice

Microcontrollers in Practice M. Mitescu I. Susnea Microcontrollers in Practice With 117 Figures, 34 Tables and CD-Rom 4y Springer Contents Resources of Microcontrollers, 1 1.1 In this Chapter 1 1.2 Microcontroller Architectures 1

More information

Inverter for the Solar Panel using an MC56F8023. Designer Reference Manual

Inverter for the Solar Panel using an MC56F8023. Designer Reference Manual Inverter for the Solar Panel using an MC56F8023 Designer Reference Manual Document Number: DRM126 Rev. 0, 9/2011 2 Freescale Semiconductor, Inc. Contents Section Number Title Page Chapter 1 Introduction

More information

A DIY Hardware Packet Sniffer

A DIY Hardware Packet Sniffer A DIY Hardware Packet Sniffer Affordable Penetration Testing for the Individual Veronica Swanson: University of California, Irvine CyberSecurity for the Next Generation North American Round, New York 15

More information

Using the XGATE for Manchester Decoding Lech Olmedo Guadalajara, Mexico Manuel Alves Austin, USA

Using the XGATE for Manchester Decoding Lech Olmedo Guadalajara, Mexico Manuel Alves Austin, USA Freescale Semiconductor Application Note AN3015 Rev. 0, 10/2005 Using the XGATE for Manchester Decoding by: Lech Olmedo Guadalajara, Mexico Manuel Alves Austin, USA The objective of this document is to

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

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE Atmel AVR 8-bit Microcontrollers AT15007: Differences between ATmega328/P and ATmega328PB APPLICATION NOTE Introduction This application note assists the users of Atmel ATmega328 variants to understand

More information

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems 1 5-1 8051 Peripherals

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems 1 5-1 8051 Peripherals 8051 Serial Port The 8051 contains a UART Universal Asynchronous Receiver Transmitter The serial port is full-duplex It can transmit and receive simultaneously 2 Port 3 pins are used to provide the serial

More information