MC9S08GW64CLH Freescale Semiconductor, MC9S08GW64CLH Datasheet

S08 8bit Microcontroller

MC9S08GW64CLH

Manufacturer Part Number
MC9S08GW64CLH
Description
S08 8bit Microcontroller
Manufacturer
Freescale Semiconductor
Series
HCS08r
Datasheets

Specifications of MC9S08GW64CLH

Processor Series
MC9S08GW64
Core
S08
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
64 KB
Data Ram Size
4032 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
45
Number Of Timers
3
Operating Supply Voltage
- 0.3 V to + 3.8 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
LQFP-64
Operating Temperature Range
- 40 C to + 85 C
Supply Current (max)
60 uA
Core Processor
HCS08
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, LIN, SCI, SPI
Peripherals
LCD, PWM, WDT
Number Of I /o
57
Eeprom Size
-
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 16x16b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S08GW64CLH
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
8-Bit HCS08 Central Processor Unit (CPU)
On-Chip Memory
Power-Saving Modes
Clock Source Options
System Protection
Development Support
Freescale Semiconductor
Freescale Semiconductor
Data Sheet: Technical Data
Data Sheet:
MC9S08GW64 Series
Covers: MC9S08GW64 and
MC9S08GW32
© Freescale Semiconductor, Inc., 2010-2011. All rights reserved.
This document contains information on a product under development. Freescale reserves the
right to change or discontinue this product without notice.
– New version of S08 core with same performace as traditional S08 and
– Up to 20 MHz CPU at 3.6 V to 2.15 V and up to 10 MHz CPU at 3.6 V
– HC08 instruction set with added BGND instruction
– Support for up to 48 interrupt/reset sources
– Flash read/program/erase over full operating voltage and temperature
– Random-access memory (RAM)
– Security circuitry to prevent unauthorized access to RAM and flash
– Two low power stop modes and reduced power wait mode
– Low power run and wait modes allow peripherals to run while voltage
– Peripheral clock gating register can disable clocks to unused modules,
– Very low power external oscillator that can be used in stop2 or stop3
– 6 s typical wakeup time from stop3 mode
– Oscillator (XOSC1) — Loop-control Pierce oscillator; Crystal or
– Oscillator (XOSC2) — Loop-control Pierce oscillator; Crystal or
– Internal Clock Source (ICS) — Internal clock source module
– Watchdog computer operating properly (COP) reset with option to run
– Low-voltage warning with interrupt
– Low-voltage detection with reset or interrupt
– Illegal opcode and illegal address detection with reset
– Flash block protection
– Single-wire background debug interface
– Breakpoint capability to allow single breakpoint setting during
– Breakpoint (BKPT) debug module containing three comparators (A, B,
lower power
to 1.8 V, across temperature range of –40 C to 85 C
contents
regulator is in standby
thereby reducing currents
modes to provide accurate clock source to real time counter
ceramic resonator of 32.768 kHz; Clock source for iRTC or ICS
ceramic resonator range of 31.25 kHz to 38.4 kHz or 1 MHz to 16 MHz;
optional clock source for ICS
containing a frequency-locked-loop (FLL) controlled by internal or
external reference (XOSC1, XOSC2); precision trimming of internal
reference allows 0.2% resolution and 2% deviation over temperature
and voltage; supporting CPU/bus frequencies from 1 MHz to 20 MHz
from dedicated 1 kHz internal clock source or bus clock
in-circuit debugging (plus 3 more breakpoints in breakpoint unit)
and C) with ability to match addresses in 64 KB space. Each
Peripherals
Input/Output
Package Options
– LCD — up to 440 or 836 LCD driver with internal charge pump and
– ADC16 — two analog-to-digital converters; 16-bit resolution; one
– PRACMP —three rail to rail programmable reference analog
– SCI — four full duplex non-return to zero (NRZ); LIN master extended
– SPI— three full-duplex or single-wire bidirectional; double-buffered
– IIC — up to 100 kbps with maximum bus loading; multi-master
– FTM — 2-channel flextimer module; selectable input capture, output
– IRTC — independent real-time clock, independent power domain, 32
– PCRC — 16/32 bit programmable cyclic redundancy check for
– MTIM — two 8-bit and one 16-bit timers; configurable clock inputs
– PDB — programmable delay block; optimized for scheduling ADC
– PCNT — position counter; working in stop3 mode without waking
– 57 GPIOs including one output-only pin
– Eight KBI interrupts with selectable polarity
– Hysteresis and configurable pullup device on all input pins;
– 80-pin LQFP, 64-pin LQFP
comparator can be used as hardware breakpoint. Full mode,
Comparator A compares address and Comparator B compares data.
Supports both tag and force breakpoints
option to provide an internally regulated LCD reference that can be
trimmed for contrast control
dedicated differential per ADC; up to 16-ch; up to 2.5 s conversion
time for 12-bit mode; automatic compare function; hardware
averaging; calibration registers; temperature sensor; internal bandgap
reference channel; operation in stop3; fully functional from 3.6 V to
1.8 V
comparator; up to 8 inputs; on-chip programmable reference generator
output; selectable interrupt on rising, falling, or either edge of
comparator output; operation in stop3
break generation; LIN slave extended break detection; wakeup on
active edge; SCI0 designed for AMR operation; TxD of SCI1 and SCI2
can be modulated with timers and RxD can recieved through
PRACMP;
transmit and receive; master or slave mode; MSB-first or LSB-first
shifting; SPI0 designed for AMR opeartion
operation; programmable slave address; interrupt driven byte-by-byte
data transfer; supporting broadcast mode and 10-bit addressing;
supporting SM BUS functionality; can wake from stop3
compare, or buffered edge- or center-aligned PWM on each channel
bytes RAM, 32.768 kHz input clock optional output to ICS, hardware
calendar, hardware compensation due to crystal or temperature
characteristics, tamper detection and indicator
high-speed CRC calculation
and interrupt generation on overflow
conversions
CPU; can be used to generate waveforms like timer
configurable slew rate and drive strength on all output pins.
MC9S08GW64
Document Number: MC9S08GW64
80-LQFP
Case 917A
14  14
Rev. 3, 1/2011
64-LQFP
Case 840F
10  10

Related parts for MC9S08GW64CLH

MC9S08GW64CLH Summary of contents

Page 1

... Breakpoint (BKPT) debug module containing three comparators (A, B, and C) with ability to match addresses space. Each This document contains information on a product under development. Freescale reserves the right to change or discontinue this product without notice. © Freescale Semiconductor, Inc., 2010-2011. All rights reserved. Document Number: MC9S08GW64 80-LQFP MC9S08GW64 Case 917A 14  ...

Page 2

... ADC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.13 VREF Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.14 LCD Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 3.15 FLASH Specifications . . . . . . . . . . . . . . . . . . . . . . . . . 40 4 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.1 Device Numbering System . . . . . . . . . . . . . . . . . . . . . 41 5 Package Information and Mechanical Drawings . . . . . . . . . . 41 Description of Changes Table | the InT Table 7. MC9S08GW64 Series MCU Data Sheet, Rev. 3 20. Table 8. Freescale Semiconductor ...

Page 3

... ADC1 Differential Channels BKPT ICS IIC IRQ IRTC KBI MTIM8 MTIM16 PCNT PCRC PDB PRACMP SCI SPI FTM LCD VREFO XOSC 3 I/O pins Freescale Semiconductor MC9S08GW64 80-pin 64-pin LQFP LQFP 65,536 Bytes 4,032 Bytes 7-ch 7- 7-ch 7- yes yes yes yes yes 8-ch ...

Page 4

... There are two 16-bit ADC modules, so two parallel conversions at two channels can be made simultaneously. 2 Each differential channel consists of two pins (DADPx and DADMx). 3 The I/O pins include one output-only pin. The block diagram in Figure 1 4 shows the structure of the MC9S08GW64 series MCUs. MC9S08GW64 Series MCU Data Sheet, Rev. 3 Freescale Semiconductor ...

Page 5

... Clock Check & Select XTAL2 XOSC2 EXTAL2 XTAL1 XOSC1 EXTAL1 V BAT TAMPER1 Independent RTC TAMPER2 The RTC separate power domain Figure 1. MC9S08GW64 Series Block Diagram Freescale Semiconductor PDB Port A: trig[1] trig[1:0] EXTRIG sel[1] sel[1:0] AD[15:2] DADP/M[1] KBI Port B, D: trig[0] KBIP[7:0] sel[0] Port ...

Page 6

... SS1 PTG4/CMPOUT1/RxD3/AD10/LCD38 PTG5/CMPOUT2/TxD3/AD11/LCD39 PTG6/CMPP3/AD12/PCNT0/LCD40 PTG7/CMPP4/AD13/PCNT1/LCD41 PTH0/CMPP5/AD14/PCNT2/LCD42 PTH1/RTCCLKOUT/AD15/LCD43 Figure 2. MC9S08GW64 Series in 80-Pin LQFP Package LQFP MC9S08GW64 Series MCU Data Sheet, Rev PTC7/PCNTCH1/TxD3/LCD9 59 PTC6/PCNTCH0/RxD3/LCD8 58 PTC5/FTMCH1/TxD1/LCD7 57 PTC4/FTMCH0/RxD1/LCD6 56 PTC3/SS1/LCD5 55 PTC2/SCLK1/LCD4 54 PTC1/MISO1/LCD3 53 PTC0/MOSI1/LCD2 52 PTB7/KBIP7/TxD2/LCD1 51 PTB6/KBIP6/RxD2/LCD0 50 PTB5/KBIP5/SS0/SDA 49 PTB4/KBIP4/SCLK0/SCL 48 PTB3/KBIP3/MISO0/MOSI0/TxD0 47 PTB2/KBIP2/MOSI0/MISO0/RxD0 46 RESET 45 PTB1/KBIP1/RxD1/CMPP6/XTAL2 44 PTB0/KBIP0/TxD1/EXTAL2 PTA6/CMPOUT0/CLKOUT/BKGD/MS Freescale Semiconductor ...

Page 7

... PTG5/CMPOUT2/TxD3/AD11/LCD39 PTG6/CMPP3/AD12/PCNT0/LCD40 PTG7/CMPP4/AD13/PCNT1/LCD41 PTH0/CMPP5/AD14/PCNT2/LCD42 PTH1/RTCCLKOUT/AD15/LCD43 Figure 3. MC9S08GW64 Series in 64-Pin LQFP Package Table 2. Pin Availability by Package Pin-Count 80 64 Port Pin 1 1 PTE6 2 2 PTE7 3 3 PTF0 4 4 PTF1 5 PTF2 6 PTF3 Freescale Semiconductor LQFP Default func Alt 1 PTE6 PTE7 PTF0 LCD26 PTF1 LCD27 ...

Page 8

... LCD37 RxD3 AD10 LCD38 TxD3 AD11 LCD39 AD12 PCNT0 LCD40 AD13 PCNT1 LCD41 AD14 PCNT2 LCD42 AD15 LCD43 PCNTCH0 SCL PCNTCH1 SDA FTMCH0 PCNT0 CMPP0 FTMCH1 PCNT1 CMPP1 RxD2 PCNT2 CMPP2 TxD2 EXTRIG CLKOUT BKGD/MS Freescale Semiconductor Alt4 AD2 AD3 IRQ ...

Page 9

... PTD5 67 55 PTD6 68 56 PTD7 69 PTE0 70 PTE1 71 PTE2 72 PTE3 73 57 PTE4 74 58 PTE5 LL3 Freescale Semiconductor Default func Alt PTB0 KBIP0 PTB1 KBIP1 RESET PTB2 KBIP2 PTB3 KBIP3 PTB4 KBIP4 PTB5 KBIP5 PTB6 KBIP6 PTB7 KBIP7 PTC0 MOSI1 PTC1 MISO1 PTC2 ...

Page 10

... This device contains circuitry protecting against damage due to high static voltage or electrical fields; however advised that normal precautions be taken to avoid application of any voltages higher than maximum-rated voltages to this 10 Default func Alt 1 V LL2 V LL1 V CAP2 V CAP1 Table 3. Parameter Classifications NOTE MC9S08GW64 Series MCU Data Sheet, Rev. 3 Alt 2 Alt3 Alt4 Freescale Semiconductor ...

Page 11

... V Rating Operating temperature range (packaged) Maximum junction temperature Thermal resistance Single-layer board 80-pin LQFP 64-pin LQFP Thermal resistance Four-layer board 80-pin LQFP 64-pin LQFP Freescale Semiconductor Table 4. Absolute Maximum Ratings Rating Symbol ...

Page 12

... Table 6. ESD and Latch-up Test Conditions Description Symbol R1 C — — MC9S08GW64 Series MCU Data Sheet, Rev. 3 and T ( neglected I (at equilibrium) D Equation 1 and Equation 2 Value Unit  1500 100 pF 3  0 200 pF 3 –2.5 V 7.5 V Freescale Semiconductor Eqn. 1 Eqn. 2 Eqn. 3 iteratively ...

Page 13

... All non-LCD pins voltage low-drive strength P All non-LCD pins high-drive strength Output high All LCD/GPIO pins voltage low-drive strength P All LCD/GPIO pins high-drive strength Output high Max total I current Freescale Semiconductor 1 Symbol Rating V HBM CDM = 85 LAT = 85 LAT Table 8. DC Characteristics Symbol ...

Page 14

... — 0.025 — 0.025 — — 17.5 — 52.5 17.5 — 52.5 > V –0.2 — 0 –5 — 5 — — 8 — 0.6 1.0 — 1.05 — 0.9 1.4 2.0 10 — — Freescale Semiconductor Unit A A A k k s ...

Page 15

... POR will occur below the minimum voltage. 7 Factory trimmed 3.0 V, Temp = 25C DD Figure 4. Non LCD pins I/O Pullup Typical Resistor Values Freescale Semiconductor Table 8. DC Characteristics (continued) Symbol Condition falling DD V LVDH ...

Page 16

... Electrical Characteristics Figure 5. Non LCD pins I/O Pulldown Typical Resistor Values Figure 6. Typical Low-Side Driver (Sink) Characteristics(Non LCD pins) 16 MC9S08GW64 Series MCU Data Sheet, Rev. 3 Low Drive (PTxDSn = 0) — Freescale Semiconductor ...

Page 17

... Figure 7. Typical Low-Side Driver (Sink) Characteristics(Non LCD pins) Freescale Semiconductor MC9S08GW64 Series MCU Data Sheet, Rev. 3 Electrical Characteristics High Drive (PTxDSn = 1) — 17 ...

Page 18

... Electrical Characteristics Figure 8. Typical High-Side (Source) Characteristics (Non LCD pins) 18 MC9S08GW64 Series MCU Data Sheet, Rev. 3 Low Drive (PTxDSn = 0) — Freescale Semiconductor ...

Page 19

... Figure 9. Typical High-Side (Source) Characteristics(Non LCD pins) Freescale Semiconductor MC9S08GW64 Series MCU Data Sheet, Rev. 3 Electrical Characteristics High Drive (PTxDSn = 1) — 19 ...

Page 20

... Electrical Characteristics Figure 10. Typical Low-Side Driver (Sink) Characteristics(LCD/GPIO pins) 20 MC9S08GW64 Series MCU Data Sheet, Rev. 3 Low Drive (PTxDSn = 0) — Freescale Semiconductor ...

Page 21

... Figure 11. Typical Low-Side Driver (Sink) Characteristics(LCD/GPIO pins) Freescale Semiconductor MC9S08GW64 Series MCU Data Sheet, Rev. 3 Electrical Characteristics High Drive (PTxDSn = 1) — 21 ...

Page 22

... Electrical Characteristics Figure 12. Typical High-Side (Source) Characteristics (LCD/GPIO pins) 22 MC9S08GW64 Series MCU Data Sheet, Rev. 3 Low Drive (PTxDSn = 0) — Freescale Semiconductor ...

Page 23

... T from Flash 3 T Run supply current LPRS=0, all modules off, running from Flash Run supply current LPRS=1, all modules off; running from Flash T Freescale Semiconductor Table 9. Supply Current Characteristics Bus Symbol Freq RI 20 MHz DD 2 MHz RI 20 MHz DD 2 MHz RI 16 kHz ...

Page 24

... DDA DD Temperature (C) - 100 100 150 175 600 737 830 863 — 110 112 112 113 Freescale Semiconductor Temp (C) 70C 85C 70C 85C 70C 85C 70C 85C Units nA nA A A A ...

Page 25

... C LCD PCNT PCNT 1 Not available in stop2 mode. Freescale Semiconductor Condition Not using the bandgap (BGBE = 0), in tight regulation mode ADLPC = ADLSMP = 1 Not using the bandgap (BGBE = 0), single conversion VIREG enabled for Contrast control, 1/8 Duty cycle, 8x24 configuration for driving 192 Segments, 32Hz frame rate, No LCD glass connected ...

Page 26

... R S — — — — 600 — CSTL — 400 — t — 5 — CSTH — 15 — f 0.03125 — 20 extal 0 — 20 Freescale Semiconductor Unit kHz MHz MHz M k ms MHz MHz ...

Page 27

... Resolution of trimmed DCO output frequency at fixed C voltage and temperature (using FTRIM) 7 Resolution of trimmed DCO output frequency at fixed C voltage and temperature (not using FTRIM) 8 Total deviation from trimmed DCO output frequency over C voltage and temperature Freescale Semiconductor XOSCVLP EXTAL R F Crystal or Resonator C 1 XOSCVLP EXTAL Crystal or Resonator Symbol  ...

Page 28

... and V and variation in the crystal oscillator frequency increase the MC9S08GW64 Series MCU Data Sheet, Rev Min Typ Max f 0.5 1 — dco_t t — — 1 Acquire C — 0.02 0.2 Jitter Jitter Freescale Semiconductor Unit %f dco ms %f dco . Bus ...

Page 29

... This is the minimum pulse width that is guaranteed to pass through the pin synchronization circuitry. Shorter pulses may or may not be recognized. In stop mode, the synchronizer is bypassed so shorter pulses can be recognized. 5 Timing is shown with respect to 20 Except for LCD pins in Open Drain mode. RESET PIN Freescale Semiconductor Table 13. Control Timing Rating Symbol ) f Bus ...

Page 30

... Table 14. TPM Input Timing Function Symbol f TCLK t TCLK t clkh t clkl t ICPW t TCLK t clkh Figure 19. Timer External Clock t ICPW t ICPW MC9S08GW64 Series MCU Data Sheet, Rev. 3 Min Max Unit Bus 4 — t cyc 1.5 — t cyc 1.5 — t cyc 1.5 — t cyc t clkl Freescale Semiconductor ...

Page 31

... SPI ports. 2.There are three types of SPI ports in MC9S08GW64 Series. They are ports for AMR, ports shared with LCD pads and normal ports. This timing is for normal ports condition. Freescale Semiconductor describe the timing requirements for the SPI system Table 15. SPI Timing ...

Page 32

... LSBF = 0. For LSBF = 1, bit order is LSB, bit 1, ..., bit 6, MSB BIT BIT Figure 20. SPI Master Timing (CPHA = BIT BIT Figure 21. SPI Master Timing (CPHA =1) MC9S08GW64 Series MCU Data Sheet, Rev LSB IN 10 LSB OUT LSB IN MASTER LSB OUT PORT DATA Freescale Semiconductor ...

Page 33

... SPSCK (CPOL = 0) (INPUT) 4 SPSCK (CPOL = 1) (INPUT) 9 MISO SEE SLAVE (OUTPUT) NOTE MOSI MSB IN (INPUT) NOTE: 1. Not defined but normally LSB of character just received. Freescale Semiconductor BIT BIT Figure 22. SPI Slave Timing (CPHA = BIT MSB OUT 6 BIT Figure 23. SPI Slave Timing (CPHA = 1) MC9S08GW64 Series MCU Data Sheet, Rev ...

Page 34

... — 3.0 — 20.0 — — 1 — — 1.0 1.8 — 1.8 — 2.75 — — — –0.25 1 0.25 V /32 — Typ Max Unit Comment — 3 100 mV 0 100 DDA DDA Freescale Semiconductor Unit V A   LSB V ...

Page 35

... ADC Convers 14 ion ADLPC = 0, ADHSC = 0 Clock Freq. 15 ADLPC = 1, ADHSC = 0 = 3.0 V, Temp = 25  Typical values assume V DDA only and are not tested in production potential difference. Freescale Semiconductor Table 17. 16-bit ADC Operating Conditions Symb Min V V REFL SSA V V ADIN REFL C — ADIN R — ...

Page 36

... ADC SAR ENGINE R ADIN R ADIN R ADIN R ADIN C ADIN = < 10MHz) DDAD REFL SSAD ADCK 2 Typ Max Unit Comment 215 — ADLSMP = 0 540 — A ADCO = 1 610 — A 0.072 — 2.4 — 5.2 — MHz t ADACK 1/f 6.2 — Freescale Semiconductor = ADACK ...

Page 37

... Zero-Scale 16-bit differential mode Error 16-bit single-ended mode 13-bit differential mode 12-bit single-ended mode 11-bit differential mode 10-bit single-ended mode 9-bit differential mode 8-bit single-ended mode Freescale Semiconductor = V > 2.7V, V REFH DDAD REFL 1 C Symb Min T TUE — ...

Page 38

... ENOB + 6.02 1. — — — — dB 96.5 — — — (refer to DC characteristics) 1.646 — mV/C 1.769 — 966 — mV Freescale Semiconductor = V DDAD For MHz. = leakage current ...

Page 39

... C Low Power buffer (Mode[1:0] 01 Tight Regulation buffer (Mode[1:0] 10 Low Power and Tight Regulation (Mode[1:0] 11) 1 Factory trim is performed at the room temperature. Freescale Semiconductor =V REFH DDAD =2.0MHz unless otherwise stated. Typical values are for reference ADCK Table 20. Electrical specifications Symbol Operation across Temperature ...

Page 40

... For more detailed DD Typical Max 3.6 3.6 200 5 6. 4000 20,000 4 — 6 — — — 100,000 — 100 — Freescale Semiconductor Unit IREG V Unit V V kHz s t Fcyc t Fcyc t Fcyc t Fcyc mA mA cycles years ...

Page 41

These values are hardware state machine controlled. User code does not need to count cycles. This information supplied for calculating approximate time to program and erase. 3 The program and erase currents are additional to the standard run I ...

Page 42

... Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer ...

Related keywords