●Overview
●The S08SH family is a series of S08 8-bit microcontrollers that offer a new low-end option for applications in the 5-volt range. The S08SH family is pin, tool and software compatible with S08SG, offering greater design flexibility. It also has wide peripheral offering with serial communications interface (SCI), serial peripheral interface (SPI), I²C, analog-to-digital converter (ADC), analog comparator and temperature sensor.
●Product comparison table
●MoreLess
●## Features
●### 8-bit HCS08 Central Processor Unit (CPU)
● Up to 40 MHz HCS08 CPU (20 MHz bus frequency) for 50 ns minimum instruction time
● HC08 instruction set with added BGND instruction
● Support for up to 32 interrupt/reset sources
●### Integrated Third-Generation Flash Memory and RAM
● Embedded flash that is in-application reprogrammable
● Extremely fast, byte-writable programming, as fast as 20 µs/byte
● Up to 100,000 write/erase cycles at typical voltage and temperature (10k minimum write/erase)
● 100 years typical data retention (15 years minimum)
●### Flexible Clock Options
● Internal clock source (ICS) module containing a frequencylocked loop (FLL) controlled by internal or external reference
● Precision trimming of internal reference allows typical 0.1 percent resolution and +0.5 percent to -1 percent deviation over operating temperature and voltage
● Internal reference can be trimmed from 31.25 kHz to 39.065 kHz, allowing for 16 MHz to 20 MHz FLL output
● Low-power oscillator module (XOSC)
● software selectable crystal or ceramic resonator range, 31.25 kHz to 38.4 kHz or 1 MHz to 16 MHz,
● supports external clock source input up to 40 MHz
●### Input/Output
● Up to 23 bidirectional lines
● One Output-Only Line
● Outputs 10 mA each; 60 mA max for package
● Software selectable pull-ups on ports when used as input
● internal pull-up on reset and interrupt request (IRQ) pin
● Software selectable slew rate control and drive strength on ports when used as output
● 8-pin keyboard interrupt module with software selectable polarity on edge or edge/level modes
●### Ganged Output Option for PTB (5:2) and PTC (3:0)
● Allows single write to change state of multiple pins
● Drives up to 80 mA without risk of runaway code shorting
● Provides option to tie multiple pins from different ports to same control registers
● Safely drives multiple outputs
●### Multiple Serial Communication Options
● Serial communications interface module with option for 13-bit break capabilities and double-buffered transmit and receive
● Serial peripheral interface module and I2C bus module
●### Integrated Analog Peripherals
● 16-ch., 10-bit analog-to-digital converter (ADC)
● Automatic compare function, software programmable for greater than/equal to or less than conditions
● Asynchronous clock source
● Temperature sensor
● Internal bandgap reference channel
● Hardware triggerable using the RTI counter
● Low-power and high-speed options
● Analog comparator module (ACMP)
● Option to compare to internal reference
● Option to route comparator output directly to pin
● Output can be optionally routed to TPM module as input capture trigger
● Real-time-counter (RTC)
● 8-bit modulus counter with binary or decimal based prescaler
● External clock source for prescise time base, time-of-day, calendar or task scheduling functions
●### Three Timer Modules
● Programmable 16-bit timer/PWM modules (TPM1 and TPM2)
● 8-bit modulo timer module (MTIM) with 8-bit prescaler
●### System Protection
● Watchdog computer operating properly (COP) reset with option to run from dedicated 1 kHz internal clock source or bus clock
● Low-voltage detection with reset or interrupt
● Illegal opcode detection with reset
● Flexible block protection
● Security feature for flash and RAM
● Always-on power-on reset (POR) circuitry
●### Development Support
● Background Debugging System
● On-Chip In-Circuit Emulation (ICE)
● Real-Time Bus CaptureComparison Table
●### S08SH Family Members
●| ADC Channels
●S08QG| | | | | |
●S08SH32| | | | | |
●RS08KA| | | | | |
●S08QD| | | | | |
●S08SG| | | | | |
●°GPIO count does not include the output-only PTA4/ACMPO/BKGD/MS. °8-Pin package does not contains XOSC, SPI, SCI and has 1 channel by timer module