C8051F021-GQ Silicon Laboratories Inc, C8051F021-GQ Datasheet - Page 138

IC 8051 MCU 64K FLASH 64TQFP

C8051F021-GQ

Manufacturer Part Number
C8051F021-GQ
Description
IC 8051 MCU 64K FLASH 64TQFP
Manufacturer
Silicon Laboratories Inc
Series
C8051F02xr
Datasheets

Specifications of C8051F021-GQ

Program Memory Type
FLASH
Program Memory Size
64KB (64K x 8)
Package / Case
64-TQFP, 64-VQFP
Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
EBI/EMI, SMBus (2-Wire/I²C), SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
32
Ram Size
4.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 8x8b, 8x12b; D/A 2x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
C8051F0x
Core
8051
Data Bus Width
8 bit
Data Ram Size
4.25 KB
Interface Type
I2C/SMBus/SPI/UART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
32
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
PK51, CA51, A51, ULINK2
Development Tools By Supplier
C8051F020DK
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 8-bit or 8-ch x 12-bit
On-chip Dac
2-ch x 12-bit
No. Of I/o's
32
Ram Memory Size
4352Byte
Cpu Speed
25MHz
No. Of Timers
5
No. Of Pwm Channels
5
Rohs Compliant
Yes
Data Rom Size
64 KB
A/d Bit Size
12 bit
A/d Channels Available
8
Height
1.05 mm
Length
10 mm
Supply Voltage (max)
3.6 V
Supply Voltage (min)
2.7 V
Width
10 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
336-1200 - DEV KIT FOR F020/F021/F022/F023
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1201

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F021-GQ
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F021-GQR
Manufacturer:
SiliconL
Quantity:
2 000
Part Number:
C8051F021-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F021-GQR
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
Part Number:
C8051F021-GQR
0
C8051F020/1/2/3
14.1. External Crystal Example
If a crystal or ceramic resonator is used as an external oscillator source for the MCU, the circuit should be as shown
in Figure 14.1, Option 1. The External Oscillator Frequency Control value (XFCN) should be chosen from the Crys-
tal column of the table in Figure 14.3 (OSCXCN register). For example, an 11.0592 MHz crystal requires an XFCN
setting of 111b.
The Crystal Oscillator Valid Flag (XTLVLD in register OSCXCN) is set to logic 1 by hardware when the external
crystal oscillator is running and stable. The XTLVLD detection circuit requires a startup time of at least 1 ms between
enabling the oscillator and checking the XTLVLD bit. Switching to the external oscillator before the crystal oscillator
has stabilized can result in unpredictable behavior. The recommended procedure is:
Important Note: Crystal oscillator circuits are quite sensitive to PCB layout. The crystal should be placed as close as
possible to the XTAL pins on the device, as should the loading capacitors on the crystal pins. The traces should be as
short as possible and shielded with ground plane from any other traces which could introduce noise or interference.
14.2. External RC Example
If an RC network is used as an external oscillator source for the MCU, the circuit should be as shown in Figure 14.1,
Option 2. The capacitor must be no greater than 100 pF; however for small capacitors (less than ~20 pF), the total
capacitance may be dominated by PWB parasitic capacitance. To determine the required External Oscillator Fre-
quency Control value (XFCN) in the OSCXCN Register, first select the RC network value to produce the desired fre-
quency of oscillation. If the frequency desired is 100 kHz, let R = 246 k and C = 50 pF:
f = 1.23( 10
XFCN  log
XFCN  log
XFCN  2, or code 010b
14.3. External Capacitor Example
If a capacitor is used as an external oscillator for the MCU, the circuit should be as shown in Figure 14.1, Option 3.
The capacitor must be no greater than 100 pF; however for small capacitors (less than ~20 pF), the total capacitance
may be dominated by PWB parasitic capacitance. To determine the required External Oscillator Frequency Control
value (XFCN) in the OSCXCN Register, select the capacitor to be used and find the frequency of oscillation from the
equations below. Assume VDD = 3.0 V and C = 50 pF:
f = KF / ( C * VDD ) = KF / ( 50 * 3 )
f = KF / 150
If a frequency of roughly 90 kHz is desired, select the K Factor from the table in Figure 14.3 as KF = 13:
f = 13 / 150 = 0.087 MHz, or 87 kHz
Therefore, the XFCN value to use in this example is 011b.
138
Step 1. Enable the external oscillator.
Step 2. Wait at least 1 ms.
Step 3. Poll for XTLVLD => ‘1’.
Step 4. Switch the system clock to the external oscillator.
3
2
2
) / RC = 1.23 ( 10
( f / 25 kHz )
( 100 kHz / 25 kHz ) = log
3
) / [ 246 * 50 ] = 0.1 MHz = 100 kHz
2
( 4 )
Rev. 1.4

Related parts for C8051F021-GQ