C8051F022 Silicon Laboratories Inc, C8051F022 Datasheet - Page 197
![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
19.
The Serial Peripheral Interface (SPI0) provides access to a four-wire, full-duplex, serial bus. SPI0 may operate as a
master or a slave, and supports the connection of multiple slaves and masters on the same bus. A slave-select input
(NSS) is included in the SPI0 interface to select SPI0 as a slave; additional general purpose port I/O can be used as
slave-select outputs when SPI0 is operating as a master. Collision detection is provided when two or more masters
attempt a data transfer at the same time. When the SPI is configured as a master, the maximum data transfer rate (bits/
sec) is one-half the system clock frequency.
When the SPI is configured as a slave, the maximum data transfer rate (bits/sec) for full-duplex operation is 1/10 the
system clock frequency, provided that the master issues SCK, NSS, and the serial input data synchronously with the
system clock. If the master issues SCK, NSS, and the serial input data asynchronously, the maximum data transfer
rate (bits/sec) must be less that 1/10 the system clock frequency. In the special case where the master only wants to
transmit data to the slave and does not need to receive data from the slave (i.e. half-duplex operation), the SPI slave
can receive data at a maximum data transfer rate (bits/sec) of 1/4 the system clock frequency. This is provided that the
master issues SCK, NSS, and the serial input data synchronously with the system clock.
SERIAL PERIPHERAL INTERFACE BUS (SPI0)
SYSCLK
S
C
R
7
S
C
R
6
Clock Divide
SPI0CKR
S
C
R
5
SFR Bus
SPI0DAT
Write to
Logic
C
R
S
4
S
C
R
3
Data Path
Control
C
R
S
2
Receive Data Register
S
C
R
7
1
Figure 19.1. SPI Block Diagram
S
C
R
6
0
Shift Register
5
SPI CONTROL LOGIC
4
C
K
P
H
A
3
C
K
P
O
2
L
(Master Mode)
SFR Bus
SPI0CFG
SPI Clock
B
C
2
1
SPI0DAT
SPI0DAT
Read
Bit Count
B
C
0
1
Logic
C
B
0
F
R
S
2
Tx Data
R
F
S
1
Rx Data
F
R
S
0
Rev. 1.4
Pin Control
S
P
F
Control
I
Interface
Logic
Pin
W
O
C
L
M
O
D
F
SPI0CN
O
R
X
V
R
N
T
X
B
S
Y
MOSI
MISO
SCK
NSS
S
L
V
S
E
L
M
S
T
E
N
S
P
E
N
I
C
R
O
S
S
B
A
R
C8051F020/1/2/3
SPI IRQ
Port I/O
197