C8051F018-GQR Silicon Laboratories Inc, C8051F018-GQR Datasheet - Page 37

no-image

C8051F018-GQR

Manufacturer Part Number
C8051F018-GQR
Description
IC 8051 MCU 16K FLASH 64TQFP
Manufacturer
Silicon Laboratories Inc
Series
C8051F018r
Datasheets

Specifications of C8051F018-GQR

Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
SMBus (2-Wire/I²C), SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
32
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
1.25K x 8
Voltage - Supply (vcc/vdd)
2.8 V ~ 3.6 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP, 64-VQFP
Processor Series
C8051F0x
Core
8051
Data Bus Width
8 bit
Data Ram Size
1.25 KB
Interface Type
I2C, SMBus, SPI, UART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
32
Number Of Timers
4 bit
Operating Supply Voltage
2.8 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Development Tools By Supplier
C8051F005DK
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F018-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
6. COMPARATORS
The C8051F018/9 have two on-chip analog voltage comparators as shown in Figure 6.1. The inputs of each
Comparator are available at the package pins. The output of each comparator is optionally available at the package
pins via the I/O crossbar (see Section 13.1). When assigned to package pins, each comparator output can be
programmed to operate in open drain or push-pull modes (see section 13.3).
The hysteresis of each comparator is software-programmable via its respective Comparator control register
(CPT0CN, CPT1CN). The user can program both the amount of hysteresis voltage (referred to the input voltage)
and the positive and negative-going symmetry of this hysteresis around the threshold voltage. The output of the
comparator can be polled in software, or can be used as an interrupt source. Each comparator can be individually
enabled or disabled (shutdown). When disabled, the comparator output (if assigned to a Port I/O pin via the
Crossbar) defaults to the logic low state, its interrupt capability is suspended and its supply current falls to less than
1A. Comparator 0 inputs can be externally driven from -0.25V to (AV+) + 0.25V without damage or upset.
The Comparator 0 hysteresis is programmed using bits 3-0 in the Comparator 0 Control Register CPT0CN (shown
in Figure 6.3). The amount of negative hysteresis voltage is determined by the settings of the CP0HYN bits. As
shown in Figure 6.2, settings of 10, 4 or 2mV of negative hysteresis can be programmed, or negative hysteresis can
be disabled. In a similar way, the amount of positive hysteresis is determined by the setting the CP0HYP bits.
Comparator interrupts can be generated on both rising-edge and falling-edge output transitions. (For Interrupt
enable and priority control, see Section 8.4). The CP0FIF flag is set upon a Comparator 0 falling-edge interrupt,
and the CP0RIF flag is set upon the Comparator 0 rising-edge interrupt. Once set, these bits remain set until cleared
by the CPU. The Output State of Comparator 0 can be obtained at any time by reading the CP0OUT bit. Note the
comparator output and interrupt should be ignored until the comparator settles after power-up. Comparator 0 is
enabled by setting the CP0EN bit, and is disabled by clearing this bit. Note there is a 20usec settling time for the
comparator output to stabilize after setting the CP0EN bit or a power-up. Comparator 0 can also be programmed as
a reset source. For details, see Section 11.
The operation of Comparator 1 is identical to that of Comparator 0, except the Comparator 1 is controlled by the
CPT1CN Register (Figure 6.4). Comparator 1 can not be programmed as a reset source. The complete electrical
specifications for the Comparators are given in Table 6.1.
37
C8051F018
C8051F019
CP0+
CP0-
CP1+
CP1-
Figure 6.1. Comparator Functional Block Diagram
CP0HYP1
CP0HYP0
CP0HYN1
CP0HYN0
CP1HYP1
CP1HYP0
CP1HYN1
CP1HYN0
CP0OUT
CP1OUT
CP0RIF
CP1RIF
CP0EN
CP0FIF
CP1EN
CP1FIF
Rev. 1.2
+
-
+
-
AV+
AV+
AGND
AGND
Decision
(SYNCHRONIZER)
(SYNCHRONIZER)
Reset
D
D
Tree
SET
CLR
SET
CLR
Q
Q
Q
Q
D
D
SET
CLR
SET
CLR
Q
Q
Q
Q
Crossbar
Crossbar
Interrupt
Interrupt
Handler
Handler

Related parts for C8051F018-GQR