C8051F021 Silicon Laboratories Inc, C8051F021 Datasheet - Page 206

no-image

C8051F021

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

Specifications of C8051F021

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
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
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
Package / Case
64-TQFP, 64-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F021
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F021
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
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
Part Number:
C8051F021R
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
C8051F020/1/2/3
20.1. UART0 Operational Modes
UART0 provides four operating modes (one synchronous and three asynchronous) selected by setting configuration
bits in the SCON0 register. These four modes offer different baud rates and communication protocols. The four
modes are summarized in Table 20.1.
20.1.1. Mode 0: Synchronous Mode
Mode 0 provides synchronous, half-duplex communication. Serial data is transmitted and received on the RX0 pin.
The TX0 pin provides the shift clock for both transmit and receive. The MCU must be the master since it generates
the shift clock for transmission in both directions (see the interconnect diagram in Figure 20.2).
Data transmission begins when an instruction writes a data byte to the SBUF0 register. Eight data bits are transferred
LSB first (see the timing diagram in Figure 20.3), and the TI0 Transmit Interrupt Flag (SCON0.1) is set at the end of
the eighth bit time. Data reception begins when the REN0 Receive Enable bit (SCON0.4) is set to logic 1 and the RI0
Receive Interrupt Flag (SCON0.0) is cleared. One cycle after the eighth bit is shifted in, the RI0 flag is set and recep-
tion stops until software clears the RI0 bit. An interrupt will occur if enabled when either TI0 or RI0 are set.
The Mode 0 baud rate is SYSCLK / 12. RX0 is forced to open-drain in Mode 0, and an external pull-up will typically
be required.
206
Mode
0
1
2
3
Synchronization
RX (data out)
Asynchronous
Asynchronous
Asynchronous
RX (data in)
Synchronous
TX (clk out)
TX (clk out)
C8051Fxxx
Figure 20.3. UART0 Mode 0 Timing Diagram
Figure 20.2. UART0 Mode 0 Interconnect
D0
Table 20.1. UART0 Modes
D0
SYSCLK / 32 or SYSCLK / 64
RX
TX
Timer 1 or 2 Overflow
Timer 1 or 2 Overflow
D1
D1
SYSCLK / 12
MODE 0 TRANSMIT
Baud Clock
MODE 0 RECEIVE
Rev. 1.4
D2
D2
D3
D3
CLK
DATA
D4
8 Extra Outputs
D4
D5
D5
Data Bits Start/Stop Bits
Reg.
Shift
D6
8
8
9
9
D6
D7
D7
1 Start, 1 Stop
1 Start, 1 Stop
1 Start, 1 Stop
None

Related parts for C8051F021