Example: confidence

Silicon Labs C8051F320, C8051F321 Data Sheet - Keil

Full Speed USB, 16k ISP FLASH MCU FamilyC8051F320/1 Preliminary Rev. 12/03 Copyright 2003 by Silicon LaboratoriesC8051F320/1-DS11 This information applies to a product under development. Its characteristics and specifications are subject to change without PERIPHERALS-10-Bit ADC Up to 200 ksps Up to 17 or 13 External Single-Ended or Differential Inputs VREF from External Pin, Internal Reference, or VDD Built-in Temperature Sensor External Conversion Start Input-Two Comparators-Internal Voltage Reference-POR/Brown-Out DetectorUSB FUNCTION CONTROLLER-USB Specification Compliant-Full Speed (12 Mbps) or Low Speed ( Mbps) Operation-Integrated Clock Recovery; No External Crystal Required for Full Speed or Low Speed-Supports Eight Flexible Endpoints-1k Byte USB Buffer Memory-Integrated Transceiver; No External Resistors RequiredON-CHIP DEBUG-On-Chip Debug Circuitry Facilitates Full Speed, Non-Intrusive In-System Debug (No Emulator Required!)

c8051f320/1 rev. 1.1 3 table of contents 1. system overview .....17

Tags:

  Sheet, Data, Data sheet

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Silicon Labs C8051F320, C8051F321 Data Sheet - Keil

1 Full Speed USB, 16k ISP FLASH MCU FamilyC8051F320/1 Preliminary Rev. 12/03 Copyright 2003 by Silicon LaboratoriesC8051F320/1-DS11 This information applies to a product under development. Its characteristics and specifications are subject to change without PERIPHERALS-10-Bit ADC Up to 200 ksps Up to 17 or 13 External Single-Ended or Differential Inputs VREF from External Pin, Internal Reference, or VDD Built-in Temperature Sensor External Conversion Start Input-Two Comparators-Internal Voltage Reference-POR/Brown-Out DetectorUSB FUNCTION CONTROLLER-USB Specification Compliant-Full Speed (12 Mbps) or Low Speed ( Mbps) Operation-Integrated Clock Recovery; No External Crystal Required for Full Speed or Low Speed-Supports Eight Flexible Endpoints-1k Byte USB Buffer Memory-Integrated Transceiver; No External Resistors RequiredON-CHIP DEBUG-On-Chip Debug Circuitry Facilitates Full Speed, Non-Intrusive In-System Debug (No Emulator Required!)

2 -Provides Breakpoints, Single Stepping, Inspect/Modify Memory and Registers-Superior Performance to Emulation Systems Using ICE-Chips, Target Pods, and SocketsVOLTAGE REGULATOR INPUT: TO SPEED 8051 C Core-Pipelined Instruction Architecture; Executes 70% of Instructions in 1 or 2 System Clocks-Up to 25 MIPS Throughput with 25 MHz Clock-Expanded Interrupt HandlerMEMORY-2304 Bytes Internal RAM (1k + 256 + 1k USB FIFO)-16k Bytes FLASH; In-system programmable in 512-byte SectorsDIGITAL PERIPHERALS-25/21 Port I/O; All 5 V tolerant with High Sink Current-Hardware Enhanced SPI , Enhanced UART, and SMBus Serial Ports-Four General Purpose 16-Bit Counter/Timers-16-Bit Programmable Counter Array (PCA) with Five Capture/Compare Modules-Real Time Clock Mode using External Clock Source and PCA or TimerCLOCK SOURCES-Internal Oscillator: Accuracy with Clock Recovery enabled.

3 Supports all USB and UART Modes-External Oscillator: Crystal, RC, C, or Clock (1 or 2 Pin Modes)-Can Switch Between Clock Sources on-the-fly; Useful in Power Saving StrategiesPACKAGES-32-pin LQFP (C8051F320)-28-pin MLP ( C8051F321 )TEMPERATURE RANGE: -40 C TO +85 CANALOGPERIPHERALS10-bit200kspsADC16 KBISP FLASH2304 BSRAMPORDEBUGCIRCUITRY16 INTERRUPTS8051 CPU(25 MIPS)DIGITAL I/O PRECISION INTERNALOSCILLATORHIGH-SPEED CONTROLLER COREAMUXCROSSBAR+- WDT+-USB Controller /TransceiverUARTSMBusPCAT imer 0 Timer 1 Timer 2 Timer 3 SPIPort 0 Port 1 Port 2 Port 3 TEMPSENSORVREGVREFC8051F320/12 Rev. OF CONTENTS1. SYSTEM OVERVIEW .. CIP-51 Microcontroller Core .. Fully 8051 Compatible .. Improved Throughput .. Additional Features .. On-Chip Memory .. Universal Serial Bus Voltage On-Chip Debug Circuitry .. Programmable Digital I/O and Crossbar.

4 Serial Programmable Counter Array .. 10-Bit Analog to Digital Converter .. Comparators ..282. ABSOLUTE MAXIMUM RATINGS ..293. GLOBAL DC ELECTRICAL CHARACTERISTICS ..304. PINOUT AND PACKAGE DEFINITIONS ..315. 10-BIT ADC (ADC0) .. Analog Multiplexer .. Temperature Modes of Operation .. Starting a Tracking Modes .. Settling Time Requirements .. Programmable Window Detector .. Window Detector In Single-Ended Mode .. Window Detector In Differential VOLTAGE REFERENCE ..557. COMPARATORS ..578. VOLTAGE REGULATOR (REG0) .. Regulator Mode Selection .. VBUS Detection ..699. CIP-51 MICROCONTROLLER .. Instruction Instruction and CPU Timing .. MOVX Instruction and Program Memory Organization .. Program Memory .. data Memory .. General Purpose Registers .. Bit Addressable Locations.

5 Special Function Register Descriptions .. Interrupt Handler .. MCU Interrupt Sources and Vectors .. External Interrupts .. Interrupt Priorities .. Interrupt Interrupt Register Descriptions .. Power Management Modes .. Idle Mode .. Stop Mode ..9610. RESET SOURCES .. Power-On Power-Fail Reset / VDD External Missing Clock Detector Reset .. Comparator0 Reset .. PCA Watchdog Timer Reset .. FLASH Error Reset .. Software USB Reset ..10311. FLASH MEMORY .. Programming The FLASH Memory .. FLASH Lock and Key Functions .. FLASH Erase FLASH Write Procedure .. Non-volatile data Storage .. Security Options ..10912. EXTERNAL RAM .. Accessing User XRAM .. Accessing USB FIFO Programmable Internal Oscillator .. Programming the Internal Oscillator on C8051F320/1 Devices .. Internal Oscillator Suspend Mode.

6 External Oscillator Drive Clocking Timers Directly Through the External Oscillator .. External Crystal Example .. External RC Example .. External Capacitor Example .. 4x Clock Multiplier .. System and USB Clock Selection .. System Clock Selection .. USB Clock Selection ..12414. PORT INPUT/OUTPUT .. Priority Crossbar Decoder ..129C8051F320/1 Rev. Port I/O General Purpose Port UNIVERSAL SERIAL BUS CONTROLLER (USB0) .. Endpoint Addressing .. USB Transceiver .. USB Register USB Clock Configuration .. FIFO FIFO Split Mode .. FIFO Double Buffering .. FIFO Access .. Function Function Configuration and Control .. Interrupts .. The Serial Interface Engine .. SETUP Transactions .. IN Transactions .. OUT Transactions .. Endpoints1-3 .. Endpoints1-3 IN .. IN Interrupt or Bulk Mode .. IN Isochronous Mode .. Endpoints1-3 OUT.

7 OUT Interrupt or Bulk Mode .. OUT Isochronous Mode ..17016. Supporting Documents .. SMBus SMBus Operation .. Clock Low SCL Low Timeout .. SCL High (SMBus Free) Timeout .. Using the SMBus Configuration SMB0CN Control Register .. data SMBus Transfer Master Transmitter Mode .. Master Receiver Mode .. Slave Receiver Mode .. Slave Transmitter SMBus Status UART0 ..193C8051F320/16 Rev. Enhanced Baud Rate Operational Modes .. 8-Bit 9-Bit Multiprocessor ENHANCED SERIAL PERIPHERAL INTERFACE (SPI0) .. Signal Master Out, Slave In (MOSI) .. Master In, Slave Out (MISO) .. Serial Clock (SCK) .. Slave Select (NSS) .. SPI0 Master Mode SPI0 Slave Mode Operation .. SPI0 Interrupt Serial Clock Timing .. SPI Special Function Registers ..21019. TIMERS .. Timer 0 and Timer Mode 0: 13-bit Mode 1: 16-bit Mode 2: 8-bit Counter/Timer with Auto-Reload.

8 Mode 3: Two 8-bit Counter/Timers (Timer 0 Only) .. Timer 2 .. 16-bit Timer with Auto-Reload .. 8-bit Timers with Auto-Reload .. USB Start-of-Frame Capture .. Timer 3 .. 16-bit Timer with Auto-Reload .. 8-bit Timers with Auto-Reload .. USB Start-of-Frame Capture ..23220. PROGRAMMABLE COUNTER ARRAY (PCA0) .. PCA Capture/Compare Edge-triggered Capture Mode .. Software Timer (Compare) High Speed Output Mode .. Frequency Output Mode .. 8-Bit Pulse Width Modulator Mode .. 16-Bit Pulse Width Modulator Mode .. Watchdog Timer Watchdog Timer Operation .. Watchdog Timer Usage .. Register Descriptions for PCA ..24821. C2 INTERFACE .. C2 Interface Registers ..253C8051F320/1 Rev. C2 Pin OF FIGURES AND TABLES1. SYSTEM OVERVIEW ..17 Table Product Selection Guide ..17 Figure C8051F320 Block C8051F321 Block Comparison of Peak MCU Execution On-Chip Clock and Reset.

9 21 Figure On-Board Memory Map ..22 Figure USB Controller Block Diagram ..23 Figure Development/In-System Debug Diagram ..24 Figure Digital Crossbar PCA Block PCA Block 10-Bit ADC Block Comparator0 Block Diagram ..282. ABSOLUTE MAXIMUM RATINGS ..29 Table Absolute Maximum Ratings*..293. GLOBAL DC ELECTRICAL CHARACTERISTICS ..30 Table Global DC Electrical PINOUT AND PACKAGE DEFINITIONS ..31 Table Pin Definitions for the C8051F320/1 ..31 Figure LQFP-32 Pinout Diagram (Top View)..33 Figure LQFP-32 Package LQFP-32 Package MLP-28 Pinout Diagram (Top View) ..35 Figure MLP-28 Package Drawing ..36 Table MLP-28 Package Dimensions ..36 Figure Typical MLP-28 Landing Diagram ..37 Figure Typical MLP-28 Solder Mask ..385. 10-BIT ADC (ADC0) ..39 Figure ADC0 Functional Block Diagram.

10 39 Figure Typical Temperature Sensor Transfer 10-Bit ADC Track and Conversion Example Timing ..43 Figure ADC0 Equivalent Input Circuits ..44 Figure AMX0P: AMUX0 Positive Channel Select Register ..45 Figure AMX0N: AMUX0 Negative Channel Select ADC0CF: ADC0 Configuration Register ..47 Figure ADC0H: ADC0 data Word MSB ADC0L: ADC0 data Word LSB Register ..48 Figure ADC0CN: ADC0 Control Register ..49 Figure ADC0 GTH: ADC0 Greater-Than data High Byte Register ..50 Figure ADC0 GTL: ADC0 Greater-Than data Low Byte Register ..50 Figure ADC0 LTH: ADC0 Less-Than data High Byte Register ..51 Figure ADC0 LTL: ADC0 Less-Than data Low Byte Register ..51C8051F320/110 Rev. ADC Window Compare Example: Right-Justified Single-Ended ADC Window Compare Example: Left-Justified Single-Ended data ..52 Figure ADC Window Compare Example: Right-Justified Differential data .


Related search queries