C8051F331-GM Silicon Laboratories Inc, C8051F331-GM Datasheet - Page 38
![IC 8051 MCU 8K FLASH 20QFN](/photos/12/16/121620/c8051f331-gm_sml.jpg)
C8051F331-GM
Manufacturer Part Number
C8051F331-GM
Description
IC 8051 MCU 8K FLASH 20QFN
Manufacturer
Silicon Laboratories Inc
Series
C8051F33xr
Specifications of C8051F331-GM
Program Memory Type
FLASH
Program Memory Size
8KB (8K x 8)
Package / Case
20-QFN
Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
SMBus (2-Wire/I²C), SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
17
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
C8051F3x
Core
8051
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
I2C/SMBus/SPI/UART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
17
Number Of Timers
4
Operating Supply Voltage
2.7 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
KSK-SL-TOOLSTICK, PK51, CA51, A51, ULINK2
Development Tools By Supplier
C8051F330DK
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 16 Channel
No. Of I/o's
17
Ram Memory Size
768Byte
Cpu Speed
25MHz
No. Of Timers
4
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
770-1006 - ISP 4PORT FOR SILABS C8051F MCU336-1451 - ADAPTER PROGRAM TOOLSTICK F330336-1264 - DEV KIT FOR C8051F330/F331
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1265
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
C8051F331-GM
Manufacturer:
SiliconL
Quantity:
1 630
Part Number:
C8051F331-GM
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
Part Number:
C8051F331-GMR
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
5.
The ADC0 subsystem for the C8051F330/2/4 consists of two analog multiplexers (referred to collectively
as AMUX0) with 16 total input selections, and a 200 ksps, 10-bit successive-approximation-register ADC
with integrated track-and-hold and programmable window detector. The AMUX0, data conversion modes,
and window detector are all configurable under software control via the Special Function Registers shown
in Figure 5.1. ADC0 operates in both Single-ended and Differential modes, and may be configured to mea-
sure Ports0-1, the Temperature Sensor output, or V
tem is enabled only when the AD0EN bit in the ADC0 Control register (ADC0CN) is set to logic 1. The
ADC0 subsystem is in low power shutdown when this bit is logic 0.
5.1.
AMUX0 selects the positive and negative inputs to the ADC. Any of the following may be selected as the
positive input: Ports0-1, the on-chip temperature sensor, or the positive power supply (V
lowing may be selected as the negative input: Ports0-1, V
negative input, ADC0 operates in Single-ended Mode; all other times, ADC0 operates in Differential
Mode. The ADC0 input channels are selected in the AMX0P and AMX0N registers as described in SFR
Definition 5.1 and SFR Definition 5.2.
The conversion code format differs between Single-ended and Differential modes. The registers ADC0H
and ADC0L contain the high and low bytes of the output conversion code from the ADC at the completion
of each conversion. Data can be right-justified or left-justified, depending on the setting of the AD0LJST.
When in Single-ended Mode, conversion codes are represented as 10-bit unsigned integers. Inputs are
Sensor
Temp
10-Bit ADC (ADC0, C8051F330/2/4 only)
VREF
GND
VDD
P0.0
P0.7
P1.0
P1.7
P0.0
P0.7
P1.0
P1.7
Analog Multiplexer
18-to-1
18-to-1
AMUX
AMUX
Figure 5.1. ADC0 Functional Block Diagram
AMX0N
AMX0P
Rev. 1.7
DD
with respect to Ports0-1 or GND. The ADC0 subsys-
(+)
(-)
ADC0CF
REF
, or GND. When GND is selected as the
C8051F330/1/2/3/4/5
ADC
10-Bit
VDD
SAR
ADC0GTH ADC0GTL
ADC0LTH
ADC0CN
ADC0LTL
Conversion
Start
000
001
010
011
100
101
DD
32
). Any of the fol-
AD0WINT
Compare
Window
AD0BUSY (W)
Timer 0 Overflow
Timer 2 Overflow
Timer 1 Overflow
CNVSTR Input
Timer 3 Overflow
Logic
41