C8051F99x-C8051F98x Ultra Low Power, 8-2 kB Flash, Capacitive Sensing MCU Ultra Low Power Consumption High-Speed 8051 C Core - 150 A/MHz in active mode (24.5 MHz clock) - Pipelined instruction architecture executes 70% of instructions in 1 or 2 system clocks - 2 s wakeup time - Up to 25 MIPS throughput with 25 MHz clock - 10 nA sleep mode with memory retention - Expanded interrupt handler - 50 nA sleep mode with brownout detector Memory - 300 nA sleep mode with LFO - 512 bytes RAM - 600 nA sleep mode with external crystal - 8 kB (F990/1/6/7, F980/1/6/7), 4 kB (F982/3/8/9), or Supply Voltage 1.8 to 3.6 V 2 kB (F985) Flash in-system programmable - Built-in LDO regulator allows a high analog supply Digital Peripherals voltage and low digital core voltage - Up to 17 port I/O high sink current and - 2 built-in supply monitors (brownout detector) for programmable drive strength sleep mode and active modes 2 Hardware SMBus/I C, SPI, and UART serial 12-Bit or 10-Bit Analog to Digital Converter ports available concurrently - 1 LSB INL (10-bit mode) 1.5 LSB INL (12-bit mode) no missing codes - Four general purpose 16-bit counter/timers - Programmable throughput up to 300 ksps - Programmable 16-bit counter/timer array with three (10-bit mode) or 75 ksps (12-bit mode) capture/compare modules and watchdog timer - Up to 10 external inputs Clock Sources - On-chip voltage reference 0.5x gain allows measur- - Internal oscillators: 24.5 MHz, 2% accuracy supports UART operation 20 MHz low power ing voltages up to twice the reference voltage oscillator requires very little bias current. - 16-bit auto-averaging accumulator with burst mode provides increased ADC resolution - External oscillator: Crystal, RC, C, or CMOS Clock - Data dependent windowed interrupt generator - SmaRTClock oscillator: 32 kHz Crystal or internal - Built-in temperature sensor - Can switch between clock sources on-the-fly useful in implementing various power saving modes Capacitive Sense Interface (F99x) On-Chip Debug - Supports buttons, sliders, wheels, and capacitive proximity sensing - On-chip debug circuitry facilitates full-speed, non- intrusive in-system debug (no emulator required) - Fast 40 s per channel conversion time - Provides breakpoints, single stepping - 16-bit resolution, up to 14 input channels - Inspect/modify memory and registers - Auto scan and wake-on-touch - Complete development kit - Auto-accumulate up to 64x samples Packages Analog Comparator - 20-pin QFN (3 x 3 mm) - Programmable hysteresis and response time - 24-pin QFN (4 x 4 mm) - Configurable as wake-up or reset source - 24-pin QSOP (easy to hand-solder) 6-Bit Programmable Current Reference Temperature Range: 40 to +85 C - Up to 500 A, can be used as a bias or for generating a custom reference voltage - PWM enhanced resolution mode ANALOG PERIPHERALS DIGITAL I/O UART A 12/10-bit Port 0 SMBus M 75/300 ksps IREF U SPI ADC X PCA Port 1 Timer 0 VREF TEMP Timer 1 + SENSOR VREG Timer 2 Port 2 Timer 3 Capacitive VOLTAGE CRC Sense COMPARATOR 24.5 MHz PRECISION 20 MHz LOW POWER INTERNAL OSCILLATOR INTERNAL OSCILLATOR External Oscillator HARDWARE smaRTClock HIGH-SPEED CONTROLLER CORE 8/4/2 kB 8051 CPU 512B SRAM ISP FLASH (25 MIPS) FLEXIBLE DEBUG POR WDT INTERRUPTS CIRCUITRY Rev. 1.3 6/17 Copyright 2017 by Silicon Laboratories C8051F99x-C8051F98x CROSSBARC8051F99x-C8051F98x Table of Contents 1. System Overview.................................................................................................... 17 1.1. CIP-51 Microcontroller Core.......................................................................... 25 1.1.1. Fully 8051 Compatible.............................................................................. 25 1.1.2. Improved Throughput............................................................................... 25 1.1.3. Additional Features .................................................................................. 25 1.2. Port Input/Output............................................................................................... 26 1.3. Serial Ports ....................................................................................................... 27 1.4. Programmable Counter Array........................................................................... 27 1.5. SAR ADC with 16-bit Auto-Averaging Accumulator and Autonomous Low Power Burst Mode28 1.6. Programmable Current Reference (IREF0) ...................................................... 29 1.7. Comparator....................................................................................................... 29 2. Ordering Information.............................................................................................. 31 3. Pinout and Package Definitions............................................................................ 32 4. Electrical Characteristics....................................................................................... 48 4.1. Absolute Maximum Specifications .................................................................... 48 4.2. Electrical Characteristics................................................................................... 49 5. SAR ADC with 16-bit Auto-Averaging Accumulator and Autonomous Low Power Burst Mode66 5.1. Output Code Formatting ................................................................................... 67 5.2. Modes of Operation .......................................................................................... 68 5.2.1. Starting a Conversion............................................................................... 68 5.2.2. Tracking Modes........................................................................................ 69 5.2.3. Burst Mode............................................................................................... 70 5.2.4. Settling Time Requirements..................................................................... 71 5.2.5. Gain Setting.............................................................................................. 72 5.3. 8-Bit Mode......................................................................................................... 72 5.4. 12-Bit Mode (C8051F980/6 and C8051F990/6 devices only)........................... 72 5.5. Low Power Mode .............................................................................................. 72 5.6. Programmable Window Detector...................................................................... 80 5.6.1. Window Detector In Single-Ended Mode ................................................. 82 5.6.2. ADC0 Specifications................................................................................. 82 5.7. ADC0 Analog Multiplexer.................................................................................. 83 5.8. Temperature Sensor......................................................................................... 85 5.8.1. Calibration ................................................................................................ 86 5.9. Voltage and Ground Reference Options........................................................... 88 5.10.External Voltage Reference.............................................................................. 89 5.11.Internal Voltage Reference............................................................................... 89 5.12.Analog Ground Reference................................................................................ 89 5.13.Temperature Sensor Enable ............................................................................ 89 5.14.Voltage Reference Electrical Specifications..................................................... 90 6. Programmable Current Reference (IREF0) .......................................................... 91 6.1. PWM Enhanced Mode...................................................................................... 91 2 Rev. 1.3