Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

C8051F041-GQ

Part # C8051F041-GQ
Description MCU 8BIT CISC 64KB FLASH 3V 64TQFP - Trays
Category IC
Availability In Stock
Qty 2
Qty Price
1 + $20.05559
Manufacturer Available Qty
SILICON LABORATORIES
Date Code: 0903
  • Shipping Freelance Stock: 2
    Ships Immediately



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

C8051F040/1/2/3/4/5/6/7
46 Rev. 1.5
Figure 4.4. TQFP-64 Package Drawing
A
A1
A2
b
D
D1
e
E
E1
L
-
0.05
0.95
0.17
-
-
-
-
-
0.45
-
-
-
0.22
12.00
10.00
0.50
12.00
10.00
0.6
1.20
0.15
1.05
0.27
-
-
-
-
-
0.75
MIN
(mm)
NOM
(mm)
MAX
(mm)
1
64
E
E1
e
A1
b
D
D1
PIN 1
DESIGNATOR
A2
A
L
C8051F040/1/2/3/4/5/6/7
Rev. 1.5 47
5. 12-Bit ADC (ADC0, C8051F040/1 Only)
The ADC0 subsystem for the C8051F040/1 consists of a 9-channel, configurable analog multiplexer
(AMUX0), a programmable gain amplifier (PGA0), and a 100 ksps, 12-bit successive-approximation-regis-
ter ADC with integrated track-and-hold and Programmable Window Detector (see block diagram in
Figure 5.1). The AMUX0, PGA0, Data Conversion Modes, and Window Detector are all configurable under
software control via the Special Function Registers shown in Figure 5.1. The voltage reference used by
ADC0 is selected as described in Section “9. Voltage Reference (C8051F040/2/4/6)” on page 113 for
C8051F040 devices, or Section “10. Voltage Reference (C8051F041/3/5/7)” on page 117 for
C8051F041 devices. The ADC0 subsystem (ADC0, track-and-hold and PGA0) 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.
Figure 5.1. 12-Bit ADC0 Functional Block Diagram
5.1. Analog Multiplexer and PGA
The analog multiplexer can input analog signals to the ADC from four external analog input pins (AIN0.0 -
AIN0.3), Port 3 port pins (optionally configured as analog input pins), High Voltage Difference Amplifier, or
an internally connected on-chip temperature sensor (temperature transfer function is shown in Figure 5.6).
AMUX input pairs can be programmed to operate in either differential or single-ended mode. This allows
the user to select the best measurement technique for each input channel, and even accommodates mode
changes "on-the-fly". The AMUX defaults to all single-ended inputs upon reset. There are three registers
associated with the AMUX: the Channel Selection register AMX0SL (SFR Definition 5.2), the Configuration
register AMX0CF (SFR Definition 5.1), and the Port Pin Selection register AMX0PRT (SFR Definition 5.3).
Table 5.1 shows AMUX functionality by channel for each possible configuration. The PGA amplifies the
AMUX output signal by an amount determined by the states of the AMP0GN2-0 bits in the ADC0 Configu-
ration register, ADC0CF (SFR Definition 5.5). The PGA can be software-programmed for gains of 0.5, 2, 4,
8 or 16. Gain defaults to unity on reset.
12-Bit
SAR
ADC
REF
+
-
AV+
TEMP
SENSOR
12
9-to-1
AMUX
(SE or
DIFF)
AV+
24
12
AD0EN
SYSCLK
X
Start Conversion
AGND
AMX0CF
ADC0L ADC0H
ADC0LTLADC0LTHADC0GTLADC0GTH
AMX0SL
AMX0AD0
AMX0AD1
AMX0AD2
AMX0AD3
AIN01IC
AIN23IC
HVDAIC
PORT3IC
ADC0CF
AMP0GN0
AMP0GN1
AMP0GN2
AD0SC0
AD0SC1
AD0SC2
AD0SC3
AD0SC4
ADC0CN
AD0LJST
AD0WINT
AD0CM0
AD0CM1
AD0BUSY
AD0INT
AD0TM
AD0EN
Timer 3 Overflow
00
01
10
11
AD0BUSY (W)
CNVSTR0
AD0WINT
Comb.
Logic
HV
Input
Port 3
I/O Pins
Analog
Input
Pins
AGND Timer 2 Overflow
C8051F040/1/2/3/4/5/6/7
48 Rev. 1.5
5.1.1. Analog Input Configuration
The analog multiplexer routes signals from external analog input pins, Port 3 I/O pins (See Section
“17.1.5. Configuring Port 1, 2, and 3 Pins as Analog Inputs” on page 207), a High Voltage Difference
Amplifier, and an on-chip temperature sensor as shown in Figure 5.2.
Figure 5.2. Analog Input Diagram
Analog signals may be input from four external analog input pins (AIN0.0 through AIN0.3) as differential or
single-ended measurements. Additionally, Port 3 I/O Port Pins may be configured to input analog signals.
Port 3 pins configured as analog inputs are selected using the Port Pin Selection register (AMX0PRT). Any
number of Port 3 pins may be selected simultaneously as inputs to the AMUX. Even numbered Port 3 pins
and odd numbered Port 3 pins are routed to separate AMUX inputs. (Note: Even port pins and odd port
pins that are simultaneously selected will be shorted together as “wired-OR”.) In this way, differential mea-
surements may be made when using the Port 3 pins (voltage difference between selected even and odd
Port 3 pins) as shown in Figure 5.2.
The High Voltage Difference Amplifier (HVDA) will accept analog input signals and reject up to 60 volts
common-mode for differential measurement of up to the reference voltage to the ADC (0 to VREF volts).
The output of the HVDA can be selected as an input to the ADC using the AMUX as any other channel is
selected for input. (See Section “5.2. High-Voltage Difference Amplifier” on page 52).
+
-
+
-
+
-
9-to-1
AMUX
(SE or
DIFF)
AMX0CF
AIN01IC
AIN23IC
HVDAIC
PORT3IC
12-Bit
SAR
ADC
X
TEMP SENSOR
AGND
AIN0.0
AIN0.1
AIN0.2
AIN0.3
AMX0SL
AMX0AD0
AMX0AD1
AMX0AD2
AMX0AD3
0
7
6
5
4
3
2
1
8
HV
AMP
HVCAP
HVREF
HVAIN -
HVAIN +
P3.6
P3.4
P3.2
P3.0
P3.7
P3.5
P3.3
P3.1
(WIRED-OR)
(WIRED-OR)
AMX0PRT
PAIN0EN
PAIN2EN
PAIN4EN
PAIN6EN
PAIN7EN
PAIN5EN
PAIN3EN
PAIN1EN
P3EVEN
P3ODD
+
-
PREVIOUS910111213141516171819202122NEXT