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
70 Rev. 1.5
6.1.1. Analog Input Configuration
The analog multiplexer routes signals from external analog input pins, Port 3 I/O pins (programmed to be
analog inputs), a High Voltage Difference Amplifier, and an on-chip temperature sensor as shown in
Figure 6.2.
Figure 6.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 6.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 measurement.
+
-
+
-
+
-
9-to-1
AMUX
(SE or
DIFF)
AMX0CF
AIN01IC
AIN23IC
HVDAIC
PORT3IC
10-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
+
-
C8051F040/1/2/3/4/5/6/7
Rev. 1.5 71
SFR Definition 6.1. AMX0CF: AMUX0 Configuration
SFR Definition 6.2. AMX0SL: AMUX0 Channel Select
Bits7-4: UNUSED. Read = 0000b; Write = don’t care
Bit3: PORT3IC: Port 3 even/odd Pin Input Pair Configuration Bit
0: Port 3 even and odd input channels are independent single-ended inputs
1: Port 3 even and odd input channels are (respectively) +, - differential input pair
Bit2: HVDA2C: HVDA 2’s Compliment Bit
0: HVDA output measured as an independent single-ended input
1: 2’s compliment value Result from HVDA
Bit1: AIN23IC: AIN2, AIN3 Input Pair Configuration Bit
0: AIN2 and AIN3 are independent single-ended inputs
1: AIN2, AIN3 are (respectively) +, - differential input pair
Bit0: AIN01IC: AIN0, AIN1 Input Pair Configuration Bit
0: AIN0 and AIN1 are independent single-ended inputs
1: AIN0, AIN1 are (respectively) +, - differential input pair
NOTE: The ADC0 Data Word is in 2’s complement format for channels configured as differential.
R R R R R/W R/W R/W R/W Reset Value
- - - - PORT3IC HVDA2C AIN23IC AIN01IC 00000000
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 SFR Address:
SFR Address:
SFR Page:
0xBA
0
Bits7-4: UNUSED. Read = 0000b; Write = don’t care
Bits3-0: AMX0AD3-0: AMX0 Address Bits
0000-1111b: ADC Inputs selected per Table 6.1.
R R R R R/W R/W R/W R/W Reset Value
- - - - AMX0AD3 AMX0AD2 AMX0AD1 AMX0AD0 00000000
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
SFR Address:
SFR Page:
0xBB
0
C8051F040/1/2/3/4/5/6/7
72 Rev. 1.5
Note: “P3EVEN” denotes even numbered and “P3ODD” odd numbered Port 3 pins selected in the AMX0PRT
register.
Table 6.1. AMUX Selection Chart (AMX0AD3-0 and AMX0CF3-0 bits)
AMX0AD3-0
0000 0001 0010 0011 0100 0101 0110 0111 1xxx
AMX0CF Bits 3-0
0000
AIN0.0 AIN0.1 AIN0.2 AIN0.3 HVDA AGND P3EVEN P3ODD
TEMP
SENSO
R
0001
+(AIN0.0)
-(AIN0.1)
AIN0.2 AIN0.3 HVDA AGND P3EVEN P3ODD
TEMP
SENSO
R
0010
AIN0.0 AIN0.1
+(AIN0.2)
-(AIN0.3)
HVDA AGND P3EVEN P3ODD
TEMP
SENSO
R
0011
+(AIN0.0)
-(AIN0.1)
+(AIN0.2)
-(AIN0.3)
HVDA AGND P3EVEN P3ODD
TEMP
SENSOR
0100
AIN0.0 AIN0.1 AIN0.2 AIN0.3
+(HVDA)
-(HVREF)
P3EVEN P3ODD
TEMP
SENSO
R
0101
+(AIN0.0)
-(AIN0.1)
AIN0.2 AIN0.3
+(HVDA)
-(HVREF)
P3EVEN P3ODD
TEMP
SENSOR
0110
AIN0.0 AIN0.1
+(AIN0.2)
-(AIN0.3)
+(HVDA)
-(HVREF)
P3EVEN P3ODD
TEMP
SENSO
R
0111
+(AIN0.0)
-(AIN0.1)
+(AIN0.2)
-(AIN0.3)
+(HVDA)
-(HVREF)
P3EVEN P3ODD
TEMP
SENSO
R
1000
AIN0.0 AIN0.1 AIN0.2 AIN0.3 HVDA AGND
+P3EVEN
-P3ODD
TEMP
SENSO
R
1001
+(AIN0.0)
-(AIN0.1)
AIN0.2 AIN0.3 HVDA AGND
+P3EVEN
-P3ODD
TEMP
SENSO
R
1010
AIN0.0 AIN0.1
+(AIN0.2)
-(AIN0.3)
HVDA AGND
+P3EVEN
-P3ODD
TEMP
SENSO
R
1011
+(AIN0.0)
-(AIN0.1)
+(AIN0.2)
-(AIN0.3)
HVDA AGND
+P3EVEN
-P3ODD
TEMP
SENSO
R
1100
AIN0.0 AIN0.1 AIN0.2 AIN0.3
+(HVDA)
-(HVREF)
+P3EVEN
-P3ODD)
TEMP
SENSO
R
1101
+(AIN0.0)
-(AIN0.1)
AIN0.2 AIN0.3
+(HVDA)
-(HVREF)
+P3EVEN
-P3ODD
TEMP
SENSOR
1110
AIN0.0 AIN0.1
+(AIN0.2)
-(AIN0.3)
+(HVDA)
-(HVREF)
+P3EVEN
-P3ODD
TEMP
SENSO
R
1111
+(AIN0.0)
-(AIN0.1)
+(AIN0.2)
-(AIN0.3)
+(HVDA)
-(HVREF)
+P3EVEN
-P3ODD
TEMP
SENSOR
PREVIOUS1718192021222324252627282930NEXT