Opens in a new tab

MC9S08QG8CDTE

8-bit HCS08 MCU, 8KB Flash, DIP-8, 10-bit ADC, UART

2345

Effective Inventory

Image for reference only

Manufacturer Part:

MC9S08QG8CDTE

Package:

PDIP-8 (9.27 x 6.35 x 5.33 mm)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The MC9S08QG8CDTE from NXP (Freescale) is an 8-bit HCS08 microcontroller with 8KB Flash, 512B RAM, and rich peripherals in a DIP-8 package.

Key Specifications

Type 8-bit HCS08 Microcontroller
CPU HCS08, 10 MHz bus frequency
Flash 8 KB
RAM 512 bytes
I/O Pins 6
ADC 8-channel, 10-bit
Timers 2 (1x 16-bit TPM, 1x 8-bit MTIM)
Communication 1x SCI (UART)
Supply Voltage 1.8 V to 5.5 V
Package DIP-8 (PDIP-8)
Operating Temperature -40C to +85C

Features

  • 8-bit HCS08 core with background debug
  • 8KB Flash with 512B RAM in DIP-8 package
  • 10-bit ADC with 8 channels
  • Timer/PWM module (TPM)
  • Single SCI (UART) communication
  • 1.8V to 5.5V wide supply range

Applications

  • Simple sensor interface and data logging
  • Small appliance control
  • Hobby and educational projects
  • Low-pin-count embedded control
Product Introduction: MC9S08QG8CDTE Product Introduction

The MC9S08QG8CDTE from NXP (formerly Freescale) is a member of the HCS08 family of 8-bit microcontrollers, offering 8KB Flash and 512 bytes RAM in an ultra-compact DIP-8 through-hole package. Despite the minimal 8-pin package, the device provides 6 GPIO pins with peripheral functions including an 8-channel 10-bit ADC, a 16-bit Timer/PWM Module (TPM), an 8-bit Modulo Timer (MTIM), and an SCI (UART) serial communication interface. The 1.8V to 5.5V supply range supports both 3.3V and 5V systems. The Background Debug Controller (BDC) provides single-wire debug access, eliminating the need for a full JTAG interface. The DIP-8 package makes this device ideal for prototyping, hobby, and educational applications where through-hole soldering is preferred.

Working Principle: MC9S08QG8CDTE Working Principle

The MC9S08QG8CDTE uses the HCS08 CPU core, an enhanced version of the HC08 architecture with improved instruction set efficiency and a background debug mode. The core executes a mix of 8-bit and 16-bit instructions from the internal Flash at up to 10 MHz bus frequency. The 8KB Flash is organized in 512-byte sectors for flexible erase granularity. The 512-byte SRAM supports stack and variable storage. The internal clock generator (ICG) can be configured for internal RC oscillator, external crystal, or external clock modes. The 16-bit TPM module supports input capture, output compare, and PWM generation with selectable clock prescaler. The 10-bit ADC uses a successive approximation architecture with an internal sample-and-hold circuit, supporting both single-channel and continuous scan modes. The SCI module provides standard asynchronous serial communication with configurable baud rate. The Background Debug Controller allows real-time debug access through a single BKGD pin without affecting CPU operation.

Pin Description: MC9S08QG8CDTE Pin Definition and Functions
Pin Name Type Function
1 PTA0/BKGD/MS I/O GPIO / Background Debug / Mode Select
2 PTA1/IRQ/ADP1 I/O GPIO / IRQ / ADC Ch1
3 PTA2/ADP2 I/O GPIO / ADC Ch2
4 VSS Power Ground
5 VDD Power Supply (1.8-5.5V)
6 PTB6/ADP6/TCH0 I/O GPIO / ADC Ch6 / TPM Ch0
7 PTB7/ADP7/TCH1/RxD I/O GPIO / ADC Ch7 / TPM Ch1 / SCI RxD
8 PTB5/TxD I/O GPIO / SCI TxD
Application Scenarios: In which products and applications is MC9S08QG8CDTE used
  • Temperature sensor data logger with 10-bit ADC and UART output to PC
  • DIP-8 hobby servo controller with TPM PWM output
  • Simple LED dimmer with ADC pot input and TPM PWM output
  • Educational 8-pin MCU lab project with BDC debug
Alternative Models: What chips are recommended as replacements for MC9S08QG8CDTE
Manufacturer Part Number Package Notes
NXP MC9S08QG8CFFE QFN-8 Same die, QFN SMD package
Microchip PIC12F675-I/P DIP-8 8-pin 8-bit MCU, similar class
Atmel ATtiny85-20PU DIP-8 8KB Flash, 8-pin, popular alternative
Microchip PIC12F1822-I/P DIP-8 Enhanced 8-pin PIC, more peripherals
NXP MC9S08QG4CDTE DIP-8 4KB Flash, smaller memory version

Recommend Parts

TMP275AIDR

0.5C I2C temp sensor, 12-bit, 2.7-5.5V, alert output, 8-SOIC

Brand: TI

Package: 8-SOIC (4.90 x 3.91 x 1.50 mm)

IN STOCK: 3681pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IL485E

NVE IL485E IsoLoop isolated RS-485 transceiver, 2.5kVrms isolation, 35Mbps, 16-SOIC WB

Brand: nve

Package: SOIC-16 WB

IN STOCK: 5280pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFS4227TRLPBF

IRFS4227TRLPBF – 200V N-Channel HEXFET PDP Switch Power MOSFET, 26 mΩ RDS(on), D2PAK (TO-263)

Brand: infineon

Package: D2PAK (TO-263)

IN STOCK: 4334pcs

Cargo cycle: 3-7 Days

The minimum order is 1

CD4070BM96

Quad 2-input XOR gate, 3-18V CMOS, 65ns at 10V, SOIC-14

Brand: TI

Package: SOIC-14 (8.75 x 3.9 x 1.5mm)

IN STOCK: 4245pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AB1526

Bluetooth 5.0 Dual Mode Audio SoC, TWS, AAC, Dual-mic ENC, Integrated Charger, BGA

Brand: airoha

Package: BGA

IN STOCK: 25000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

LP2980IM5-5.0

50mA micropower ultra-low-dropout regulator, 5V, SOT-23-5

Brand: TI

Package: SOT-23-5 (2.9 x 1.6 x 1.1 mm)

IN STOCK: 2557pcs

Cargo cycle: 3-7 Days

The minimum order is 1