Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

C8051F321-GMR

Part # C8051F321-GMR
Description 16KB,10ADC,USB,28PIN MCU (LEAD FREE) MLP28 -40 TO 85 DEG.
Category IC
Availability In Stock
Qty 560
Qty Price
1 - 24 $10.41286
25 - 60 $8.28296
61 - 128 $7.80964
129 - 275 $7.25745
276 + $6.46859
Manufacturer Available Qty
SILICON LABS
Date Code: 0603
  • Shipping Freelance Stock: 560
    Ships Immediately



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

C8051F320/1
124 Rev. 1.4
SFR Definition 13.5. CLKSEL: Clock Select
Table 13.2. Typical USB Low Speed Clock Settings
Internal Oscillator
Clock Signal Input Source Selection Register Bit Settings
USB Clock Internal Oscillator/2 USBCLK = 001b
Internal Oscillator Divide by 1 IFCN = 11b
External Oscillator
Clock Signal Input Source Selection Register Bit Settings
USB Clock External Oscillator/4 USBCLK = 101b
External Oscillator
Crystal Oscillator Mode
24 MHz Crystal
XOSCMD = 110b
XFCN = 111b
Bit 7: Unused. Read = 0b; Write = don’t care.
Bits6–4: USBCLK2–0: USB Clock Select
These bits select the clock supplied to USB0. When operating USB0 in full-speed mode, the
selected clock should be 48 MHz. When operating USB0 in low-speed mode, the selected
clock should be 6 MHz.
Bits3–2: Unused. Read = 00b; Write = don’t care.
Bits1–0: CLKSL1–0: System Clock Select
These bits select the system clock source.
R/W R/W R/W R/W R/W R/W R/W R/W Reset Value
- USBCLK - - CLKSL 00000000
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 SFR Address
0xA9
USBCLK Selected Clock
000 4x Clock Multiplier
001 Internal Oscillator/2
010 External Oscillator
011 External Oscillator/2
100 External Oscillator/3
101 External Oscillator/4
110 RESERVED
111 RESERVED
CLKSL Selected Clock
00
Internal Oscillator (as determined by the
IFCN bits in register OSCICN)
01 External Oscillator
10 4x Clock Multiplier/2
11 RESERVED
Rev. 1.4 125
C8051F320/1
Table 13.3. Internal Oscillator Electrical Characteristics
–40 to +85 °C unless otherwise specified.
Parameter Conditions Min Typ Max Units
Internal Oscillator Frequency
Reset Frequency 11.82 12 12.18 MHz
Internal Oscillator Supply
Current (from VDD)
OSCICN.7 = 1 450 µA
USB Clock Frequency*
Full Speed Mode
Low Speed Mode
47.88
5.91
48
6
48.12
6.09
MHz
*Note: Applies only to external oscillator sources.
C8051F320/1
126 Rev. 1.4
14. Port Input/Output
Digital and analog resources are available through 25 I/O pins (C8051F320) or 21 I/O pins (C8051F321).
Port pins are organized as shown in Figure 14.1. Each of the Port pins can be defined as general-purpose
I/O (GPIO) or analog input; Port pins
P0.0-P2.3 can be assigned to one of the internal digital resources as
shown in Figure 14.3. The designer has complete control over which functions ar
e assigned, limited only
by the number of physical I/O pins. This resource assi
gnment flexibility is achieved through the use of a
Priority Crossbar Decoder. Note that the state of a Port I/O pin can always be read in the corresponding
Port latch, regardless of the Crossbar settings.
The Crossbar assigns the selected internal digital resou
r
ces to the I/O pins based on the Priority Decoder
(Figure 14.3 and Figure 14.4). The registers XBR0 and XBR1, defined in Figure 14.1 and Figure 14.2, are
used to select internal digital functions.
All Port I/Os are 5 V tolerant (refer to Figure 14.2 for the Port cell circuit). The Port I/O cells are configured
as either push-pull or open-drain in the Port Output M
ode
registers (PnMDOUT, where n = 0,1,2,3). Com-
plete Electrical Specifications for Port
I/O are given in Table 14.1 on page 138.
XBR0, XBR1,
PnSKIP Registers
Digital
Crossbar
Priority
Decoder
2
P0
I/O
Cells
P0.0
P0.7
8
PnMDOUT,
PnMDIN Registers
UART
(Internal Digital Signals)
Highest
Priority
Lowest
Priority
SYSCLK
2
SMBus
T0, T1
2
6
PCA
CP1
Outputs
2
4
SPI
CP0
Outputs
2
P1
I/O
Cells
P1.0
P1.7
8
P2
I/O
Cells
P2.0
P2.7
8
P3
I/O
Cells
P3.0
1
(Port Latches)
P0
(P0.0-P0.7)
(P1.0-P1.7)
(P2.0-P2.7)
(P3.0)
8
8
8
8
P1
P2
P3
Note: P2.4-P2.7 only available
on the C8051F320
Figure 14.1. Port I/O Functional Block Diagram
PREVIOUS3536373839404142434445464748NEXT