mc9s08qe4 Freescale Semiconductor, Inc, mc9s08qe4 Datasheet

no-image

mc9s08qe4

Manufacturer Part Number
mc9s08qe4
Description
8-bit Hcs08 Central Processor Unit
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08qe4CLC
Manufacturer:
MSTAR
Quantity:
2 144
Part Number:
mc9s08qe4CLC
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08qe4CLCR
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08qe4CPG
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mc9s08qe4CTGR
Manufacturer:
FREESCALE
Quantity:
27 500
Part Number:
mc9s08qe4CTGR
Manufacturer:
FREESCALE
Quantity:
27 500
Part Number:
mc9s08qe4CWL
Manufacturer:
Freescale Semiconductor
Quantity:
135
Freescale Semiconductor
Data Sheet: Advance Information
MC9S08QE8 Series
Covers: MC9S08QE8 and
MC9S08QE4
Features
• 8-Bit HCS08 Central Processor Unit (CPU)
• On-Chip Memory
• Power-Saving Modes
• Clock Source Options
• System Protection
• Development Support
© Freescale Semiconductor, Inc., 2007–2008. All rights reserved.
Preliminary
Subject to Change Without Notice
This document contains information on a product under development. Freescale reserves
the right to change or discontinue this product without notice.
– Up to 20 MHz CPU at 3.6 V to 1.8 V across temperature range of
– HC08 instruction set with added BGND instruction
– Support for up to 32 interrupt/reset sources
– Flash read/program/erase over full operating voltage and
– Random-Access memory (RAM)
– Security circuitry to prevent unauthorized access to RAM and
– Two low power stop modes
– Reduced power wait mode
– Low power run and wait modes allow peripherals to run while
– Peripheral clock gating register can disable clocks to unused
– Very low power external oscillator that can be used in stop2 or
– 6 Ps typical wake-up time from stop3 mode
– Oscillator (XOSC) — Loop-Control Pierce oscillator; crystal or
– Internal Clock Source (ICS) — Internal clock source module
– Watchdog computer operating properly (COP) reset with option to
– Low-Voltage warning with interrupt
– Low-Voltage detection with reset or interrupt
– Illegal opcode detection with reset
– Illegal address detection with reset
– Flash block protection
– Single-Wire background debug interface
– Breakpoint capability to allow single breakpoint setting during
– On-Chip in-circuit emulator (ICE) debug module containing two
–40°C to 85°C
temperature
flash contents
voltage regulator is in standby
modules, thereby reducing currents
stop3 modes to provide accurate clock source to real time counter
ceramic resonator range of 31.25 kHz to 38.4 kHz or 1 MHz to
16 MHz
containing a frequency-locked-loop (FLL) controlled by internal
or external reference; precision trimming of internal reference
allows 0.2% resolution and 2% deviation over temperature and
voltage; supporting bus frequencies from 1 MHz to 10 MHz
run from dedicated 1 kHz internal clock source or bus clock
in-circuit debugging (plus two more breakpoints in on-chip debug
module)
comparators and nine trigger modes; eight deep FIFO for storing
change-of-flow addresses and event-only data; debug module
supports both tag and force breakpoints
• Peripherals
• Input/Output
• Package Options
– ADC — 10-channel, 12-bit resolution; 2.5 Ps conversion time;
– ACMPx — Two analog comparators with selectable interrupt on
– SCI — Full-Duplex non-return to zero (NRZ); LIN master
– SPI — Full-Duplex or single-wire bidirectional; double-buffered
– IIC — Up to 100 kbps with maximum bus loading; multi-master
– TPMx — Two 3-channel (TPM1 and TPM2); selectable input
– RTC — (Real-time counter) 8-bit modulus counter with binary or
– 26 GPIOs, one output-only pin and one input-only pin
– Eight KBI interrupts with selectable polarity
– Hysteresis and configurable pullup device on all input pins;
– 32-pin LQFP, 28-pin SOIC, 20-pin SOIC, 16-pin PDIP,
automatic compare function; 1.7 mV/qC temperature sensor;
internal bandgap reference channel; operation in stop3; fully
functional from 3.6 V to 1.8 V
rising, falling, or either edge of comparator output; compare
option to fixed internal bandgap reference voltage; outputs can be
optionally routed to TPM module; operation in stop3
extended break generation; LIN slave extended break detection;
wake-up on active edge
transmit and receive; master or slave mode; MSB-first or
LSB-first shifting
operation; programmable slave address; interrupt driven
byte-by-byte data transfer; supporting broadcast mode and 10-bit
addressing
capture, output compare, or buffered edge- or center-aligned
PWM on each channel
decimal based prescaler; external clock source for precise time
base, time-of-day, calendar or task scheduling functions; free
running on-chip low power oscillator (1 kHz) for cyclic wake-up
without external components; runs in all MCU modes
configurable slew rate and drive strength on all output pins.
16-pin TSSOP
32-Pin LQFP
Case 873A
28-Pin SOIC
751F-05
Document Number: MC9S08QE8
Rev. 3, 1/2008
20-Pin SOIC
751D-07
16-Pin PDIP
648
16-Pin TSSOP
948F

Related parts for mc9s08qe4

mc9s08qe4 Summary of contents

Page 1

... Freescale Semiconductor Data Sheet: Advance Information MC9S08QE8 Series Covers: MC9S08QE8 and MC9S08QE4 Features • 8-Bit HCS08 Central Processor Unit (CPU) – MHz CPU at 3 1.8 V across temperature range of –40°C to 85°C – HC08 instruction set with added BGND instruction – ...

Page 2

Table of Contents 1 MCU Block Diagram Pin Assignments . . . ...

Page 3

... MODES OF OPERATION IRQ POWER MANAGEMENT COP IRQ LVD USER FLASH (MC9S08QE8 = 8192 BYTES) (MC9S08QE4 = 4096 BYTES) USER RAM (MC9S08QE8 = 512 BYTES) (MC9S08QE4 = 256 BYTES) 20 MHz INTERNAL CLOCK SOURCE (ICS) LOW-POWER OSCILLATOR EXTAL 31.25 kHz to 38.4 kHz 1 MHz to 16 MHz XTAL (XOSCVLP VOLTAGE REGULATOR ...

Page 4

Pin Assignments 2 Pin Assignments This section shows the pin assignments for the MC9S08QE8 series devices. PTD1 PTD0 DDA REFH V /V SSA REFL V PTB7/SCL/EXTAL PTB6/SDA/XTAL Pins shown in bold type are lost in the next ...

Page 5

PTC5/ACMP2O PTC4 PTA5/IRQ/TCLK/RESET PTA4/ACMP1O/BKGD/ DDA REFH V /V SSA REFL V SS PTB7/SCL/EXTAL PTB6/SDA/XTAL PTB5/TPM1CH1/SS PTB4/TPM2CH1/MISO PTC3 PTC2 Pins shown in bold type are lost in the next lower pin count package. Figure 3. PTA5/IRQ/TCLK/RESET PTA4/ACMP1O/BKGD/MS ...

Page 6

Pin Assignments PTA5/IRQ/TCLK/RESET PTA4/ACMP1O/BKGD/ PTB7/SCL/EXTAL PTB6/SDA/XTAL PTB5/TPM1CH1/SS PTB4/TPM2CH1/MISO Figure 5. MC9S08QE8 Series in 16-pin PDIP and TSSOP Packages PTA0/KBIP0/TPM1CH0/ADP0/ACMP1 PTA1/KBIP1/TPM2CH0ADP1/ACMP1– 14 PTA2/KBIP2/SDA/ADP2 PTA3/KBIP3/SCL/ADP3 5 12 PTB0/KBIP4/RxD/ADP4 11 6 ...

Page 7

Table 2-1. Pin Availability by Package Pin-Count Pin Number — — 2 — — — — ...

Page 8

Electrical Characteristics 3 Electrical Characteristics 3.1 Introduction This section contains electrical and timing specifications for the MC9S08QE8 series of microcontrollers available at the time of publication. 3.2 Parameter Classification The electrical parameters shown in this supplement are guaranteed by various ...

Page 9

Input must be current limited to the value specified. To determine the value of the required current-limiting resistor, calculate resistance values for positive (V voltages, then use the larger of the two resistance values. 2 All functional non-supply pins, ...

Page 10

Electrical Characteristics T = Ambient temperature Package thermal resistance, junction-to-ambient, qC P D int I Watts — chip internal power int Power ...

Page 11

Table 6. ESD and Latch-Up Protection Characteristics (continued) 3 Charge device model (CDM) Latch-up current Parameter is achieved by design characterization on a small sample size from typical devices under typical conditions unless otherwise noted. 3.6 ...

Page 12

Electrical Characteristics Num C Characteristic Pullup, 11b C Pulldown (PTA5/IRQ/TCLK/RESET) resistors Single pin limit DC injection current Total MCU limit, includes 5 sum of all stressed pins 13 C Input Capacitance, all pins 14 C RAM ...

Page 13

TYPICAL 1.2 85qC 25qC 1 –40qC 0.8 0.6 0.4 0 (mA) OL Figure 7. Typical Low-Side Driver (Sink) Characteristics TYPICAL 85qC 25qC 0.8 ...

Page 14

Electrical Characteristics TYPICAL V – 0.8 85qC 25qC 0.6 –40qC 0.4 0 –5 –10 – Figure 10. Typical High-Side (Source) Characteristics 0.3 ...

Page 15

Supply Current Characteristics This section includes information about power supply current in various operating modes. Parameter Num C P Run supply current 1 FEI mode, all modules Run supply current 2 FEI mode, all modules off ...

Page 16

Electrical Characteristics 3.8 External Oscillator (XOSCVLP) Characteristics Refer to Figure 11 and Figure 12 for crystal or resonator circuits. Table 9. XOSCVLP and ICS Specifications (Temperature Range = –40 to 85qC Ambient) Num C Oscillator crystal or resonator (EREFS = ...

Page 17

Figure 11. Typical Crystal or Resonator Circuit: High Range and Low Range/High Gain Figure 12. Typical Crystal or Resonator Circuit: Low Range/Low Power 3.9 Internal Clock Source (ICS) Characteristics Table 10. ICS Frequency Specifications (Temperature Range = –40 to 85qC ...

Page 18

Electrical Characteristics Table 10. ICS Frequency Specifications (Temperature Range = –40 to 85qC Ambient) (continued) Num C Total deviation of trimmed DCO output frequency over voltage 8 C and temperature Total deviation of trimmed DCO output frequency over fixed 9 ...

Page 19

Control Timing Num C Bus frequency ( cyc 2 D Internal low power oscillator period 3 D External reset pulse width 4 D Reset low drive BKGD/MS setup time after issuing background debug 5 D ...

Page 20

Electrical Characteristics IRQ/KBIPx 3.10.2 TPM Module Timing Synchronizer circuits determine the shortest input pulses that can be recognized or the fastest clock that can be used as the optional external source to the timer counter. These synchronizers operate from the ...

Page 21

No. C Function Operating frequency — D Master Slave SPSCK period 1 D Master Slave Enable lead time 2 D Master Slave Enable lag time 3 D Master Slave Clock (SPSCK) high or low time 4 D Master Slave Data ...

Page 22

Electrical Characteristics 1 SS (OUTPUT) 2 SPSCK (CPOL = 0) (OUTPUT) SPSCK (CPOL = 1) (OUTPUT MISO 2 MSB IN (INPUT) 9 MOSI MSB OUT (OUTPUT) NOTES output mode (DDS7 = 1, SSOE = 1). 2. ...

Page 23

SS (INPUT) SPSCK (CPOL = 0) (INPUT) 2 SPSCK (CPOL = 1) (INPUT) 7 MISO SLAVE MSB OUT (OUTPUT MOSI MSB IN (INPUT) NOTE: 1. Not defined but normally MSB of character just received SS (INPUT ...

Page 24

Electrical Characteristics Table 14. Analog Comparator Electrical Specifications (continued) C Characteristic D Analog input voltage P Analog input offset voltage Analog comparator hysteresis C P Analog input leakage current C Analog comparator initialization delay 3.12 ADC Characteristics Table 15. 12-bit ...

Page 25

– Figure 22. ADC Input Impedance Equivalency Diagram Table 16. 12-bit ADC Characteristics (V C Characteristic Conditions Supply Current ADLPC=1 T — ADLSMP=1 ADCO=1 Supply Current ADLPC=1 T — ADLSMP=0 ADCO=1 Supply Current ...

Page 26

Electrical Characteristics Table 16. 12-bit ADC Characteristics (V C Characteristic Conditions Conversion Short Sample P Time (Including (ADLSMP=0) sample time) Long Sample C (ADLSMP=1) Short Sample P (ADLSMP=0) Sample Time Long Sample C (ADLSMP=1) T Total 12 bit mode Unadjusted ...

Page 27

Table 16. 12-bit ADC Characteristics (V C Characteristic Conditions 12 bit mode Input Leakage D 10 bit mode Error 8 bit mode –40qC to 25qC Temp Sensor D Slope 25qC to 85qC Temp Sensor D 25qC Voltage 1 Typical values ...

Page 28

Electrical Characteristics 3 The program and erase currents are additional to the standard run I with V = 3.0 V, bus frequency = 4.0 MHz Typical endurance for flash was evaluated for this product family on the 9S12Dx64. ...

Page 29

Table 19. Susceptibility Performance Classification (continued) Result D Hard failure E Damage 4 Ordering Information This section contains ordering information for the device numbering system. Example of the device numbering system: Status (MC = Fully Qualified) Memory (9 = Flash-based) ...

Page 30

...

Page 31

...

Page 32

...

Page 33

...

Page 34

...

Page 35

...

Page 36

...

Page 37

...

Page 38

...

Page 39

...

Page 40

...

Page 41

...

Page 42

...

Page 43

...

Page 44

...

Page 45

...

Page 46

... Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007–2008. All rights reserved. ...

Related keywords