C8051F38x Full Speed USB Flash MCU Family Analog Peripherals High-Speed 8051 µC Core 10-Bit ADC (C8051F380/1/2/3 only) - - Up to 500 ksps Built-in analog multiplexer with single-ended and differential mode VREF from external pin, internal reference, or VDD Built-in temperature sensor External conversion start input option - Memory - Two Comparators Internal Voltage Reference (C8051F380/1/2/3 Only) Brown-Out Detector and POR Circuitry - - - USB specification 2.0 compliant Full-speed (12 Mbps) or low-speed (1.5 Mbps) operation Integrated clock recovery; no external crystal required for full-speed or low-speed Supports eight flexible endpoints 1 kB USB buffer memory Integrated transceiver; no external resistors required - - - - On-chip debug circuitry facilitates full-speed, non-intrusive, in-system debug (no emulator required) Provides breakpoints, single stepping, inspect/modify memory, and registers Superior performance to emulation systems using ICE-chips, target pods, and sockets Supply Voltage: 1.8 to 3.6 V - Voltages from 2.7 to 5.25 V supported using on-chip voltage regulators 40/25 Port I/O; All 5 V tolerant with high sink current Hardware enhanced SPI™, two I²C/SMBus™, and two enhanced UART serial ports Six general purpose 16-bit counter/timers 16-bit programmable counter array (PCA) with five capture/compare modules External Memory Interface (EMIF) Clock Sources Clock Sources On-Chip Debug - 4352 or 2304 Bytes RAM 64 or 32 kB Flash; In-system programmable in 512-byte sectors Digital Peripherals USB Function Controller - Pipelined instruction architecture; executes 70% of instructions in 1 or 2 system clocks Up to 48 MIPS operation Expanded interrupt handler Internal Oscillator: ±0.25% accuracy with clock recovery enabled. Supports all USB and UART modes External Oscillator: Crystal, RC, C, or clock (1 or 2 Pin modes) Low Frequency (80 kHz) Internal Oscillator Can switch between clock sources on-the-fly Package - 48-pin TQFP (C8051F380/2/4/6) 32-pin LQFP (C8051F381/3/5) 5x5 mm 32-pin QFN (C8051F381/3/5) Temperature Range: –40 to +85 °C C2D Port I/O Configuration Debug / Programming Hardware C2CK/RST UART0 Reset Power-On Reset Supply Monitor VDD Power Net VREG Voltage Regulators Port 0 Drivers P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6/XTAL1 P0.7/XTAL2 Port 1 Drivers P1.0 P1.1 P1.2 P1.3 P1.4/CNVSTR P1.5/VREF P1.6 P1.7 Port 2 Drivers P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7 Port 3 Drivers P3.0 P3.1 P3.2 P3.3 P3.4 P3.5 P3.6 P3.7 Port 4 Drivers P4.0 P4.1 P4.2 P4.3 P4.4 P4.5 P4.6 P4.7 Digital Peripherals CIP-51 8051 Controller Core UART1 Timers 0, 1, 2, 3, 4, 5 64/32k Byte ISP FLASH Program Memory Priority Crossbar Decoder PCA/WDT SMBus0 256 Byte RAM SMBus1 SPI 4/2k Byte XRAM Crossbar Control GND System Clock Setup XTAL1 XTAL2 SFR Bus External Memory Interface External Oscillator P1 Control P2 / P3 Address Internal Oscillator P4 Data Clock Recovery Low Freq. Oscillator Analog Peripherals CP0 VREF USB Peripheral D+ D- VBUS USB Full / Low Speed Transceiver VDD VREF + + - 2 Comparators Controller 1k Byte RAM CP1 10-bit 500ksps ADC A M U X VDD AIN0 - AIN19 Temp Sensor Copyright © 2011 by Silicon Laboratories 03.30.11 C8051F38x Full Speed USB Flash MCU Family Analog Comparators Package Yes Yes Yes Yes 2 TQFP48 25 — Yes Yes Yes 2 LQFP32 C8051F381-GM 48 64k 4352 Yes Yes Yes Yes 2 Yes 2 6 Yes 25 — Yes Yes Yes 2 QFN32 2 TQFP48 2 LQFP32 SMBus/I2C Low Frequency Oscillator RAM MIPS (Peak) C8051F382-GQ 48 32k 2304 Yes Yes Yes Yes 2 Yes 2 6 Yes 40 C8051F383-GQ 48 32k 2304 Yes Yes Yes Yes 2 Yes 2 6 Yes 25 C8051F383-GM 48 32k 2304 Yes Yes Yes Yes 2 Yes 2 6 Yes C8051F384-GQ 48 64k 4352 Yes Yes Yes Yes 2 Yes 2 6 Yes C8051F385-GQ 48 64k 4352 Yes Yes Yes Yes 2 Yes 2 6 Yes 25 C8051F385-GM 48 64k 4352 Yes Yes Yes Yes 2 Yes 2 6 Yes 25 — C8051F386-GQ 48 32k 2304 Yes Yes Yes Yes 2 Yes 2 6 Yes 40 Yes C8051F387-GQ 48 32k 2304 Yes Yes Yes Yes 2 Yes 2 6 Yes 25 — C8051F387-GM 48 32k 2304 Yes Yes Yes Yes 2 Yes 2 6 Yes 25 — Conditions Digital Supply Voltage Digital Supply RAM Data Retention Voltage SYSCLK (System Clock) Specified Operating Temperature Range Min Yes Yes Yes Yes — Yes Yes Yes 25 — Yes Yes Yes 2 QFN32 40 Yes — — — 2 TQFP48 — — — — 2 LQFP32 — — — 2 QFN32 — — — 2 TQFP48 — — — 2 LQFP32 — — — 2 QFN32 C8051F38x Development Kit Selected Electrical Characteristics Parameter Voltage Reference 40 Yes Temperature Sensor Yes 6 10-bit 500ksps ADC External Mem Interface (EMIF) 6 2 Programmable Counter Array 2 Yes Timers (16-bit) Yes 2 UARTs 2 Yes Yes Yes Yes Enhanced SPI Yes Yes Yes Yes 4352 Supply Voltage Regulator 4352 64k USB with 1k Endpoint RAM 64k 48 Calibrated Internal Oscillator 48 C8051F381-GQ Flash Memory (Bytes) C8051F380-GQ Ordering Part Number Digital Port I/O Product Selection Guide Typ Max Units VRST 3.3 3.6 V — 1.5 — V 0 — 48 MHz –40 — +85 °C 2.7 — 5.25 V 3.0 3.3 3.6 — — 100 mA Voltage Regulator (REG0) Input Voltage Range Output Voltage (VDD) Output Current = 1 to 100 mA Output Current V ADC-DC Accuracy Resolution 10 bits SAR Conversion Clock — — 8.33 MHz Throughput Rate — — 500 ksps 2.38 2.42 2.46 V — — 7 mA CP0+ – CP0– = 100 mV — 100 — ns CP0+ – CP0– = –100 mV — 250 — ns Voltage Reference Output Voltage 25 °C ambient VREF Short-Circuit Current Comparators Response Time: Mode 0, Vcm* = 1.5 V USB Copyright © 2011 by Silicon Laboratories Silicon Laboratories and Silicon Labs are trademarks of Silicon Laboratories Inc. Other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders 03.30.11