C8051F022 Silicon Laboratories Inc, C8051F022 Datasheet - Page 216
![no-image](/images/manufacturer_photos/0/6/609/silicon_laboratories_inc_sml.jpg)
C8051F022
Manufacturer Part Number
C8051F022
Description
IC 8051 MCU 64K FLASH 100TQFP
Manufacturer
Silicon Laboratories Inc
Series
C8051F02xr
Specifications of C8051F022
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
64
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, 8x10b; D/A 2x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
100-TQFP, 100-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
C8051F022
Manufacturer:
SILICON
Quantity:
513
Company:
Part Number:
C8051F022
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Company:
Part Number:
C8051F022-GQ
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F022-GQ
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
Company:
Part Number:
C8051F022-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Company:
Part Number:
C8051F022R
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
C8051F020/1/2/3
21.1. UART1 Operational Modes
UART1 provides four operating modes (one synchronous and three asynchronous) selected by setting configuration
bits in the SCON1 register. These four modes offer different baud rates and communication protocols. The four
modes are summarized in Table 21.1.
21.1.1. Mode 0: Synchronous Mode
Mode 0 provides synchronous, half-duplex communication. Serial data is transmitted and received on the RX1 pin.
The TX1 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 21.2).
Data transmission begins when an instruction writes a data byte to the SBUF1 register. Eight data bits are transferred
LSB first (see the timing diagram in Figure 21.3), and the TI1 Transmit Interrupt Flag (SCON1.1) is set at the end of
the eighth bit time. Data reception begins when the REN1 Receive Enable bit (SCON1.4) is set to logic 1 and the RI1
Receive Interrupt Flag (SCON1.0) is cleared. One cycle after the eighth bit is shifted in, the RI1 flag is set and recep-
tion stops until software clears the RI1 bit. An interrupt will occur if enabled when either TI1 or RI1 are set.
The Mode 0 baud rate is SYSCLK / 12. RX1 is forced to open-drain in Mode 0, and an external pull-up will typically
be required.
216
Mode
0
1
2
3
Synchronization
RX (data out)
Asynchronous
Asynchronous
Asynchronous
RX (data in)
Synchronous
TX (clk out)
TX (clk out)
C8051Fxxx
Figure 21.3. UART1 Mode 0 Timing Diagram
Figure 21.2. UART1 Mode 0 Interconnect
D0
Table 21.1. UART1 Modes
D0
SYSCLK / 32 or SYSCLK / 64
RX
TX
Timer 1 or 4 Overflow
Timer 1 or 4 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