C8051F338-GMR Silicon Laboratories Inc, C8051F338-GMR Datasheet - Page 122

IC MCU 16K FLASH 24QFN

C8051F338-GMR

Manufacturer Part Number
C8051F338-GMR
Description
IC MCU 16K FLASH 24QFN
Manufacturer
Silicon Laboratories Inc
Series
C8051F33xr
Datasheets

Specifications of C8051F338-GMR

Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
SMBus (2-Wire/I²C), SPI, UART/USART
Peripherals
POR, PWM, Temp Sensor, WDT
Number Of I /o
21
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 16x10b; D/A 1x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
24-QFN
Processor Series
C8051F3x
Core
8051
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
I2C, SPI, UART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
21
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
KSK-SL-TOOLSTICK, PK51, CA51, A51, ULINK2
Development Tools By Supplier
C8051F336DK
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
On-chip Dac
10 bit
Height
0.73 mm
Length
4 mm
Supply Voltage (max)
3.6 V
Supply Voltage (min)
2.7 V
Width
4 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Other names
Q4962654
T1084322
C8051F336/7/8/9
20.2. Assigning Port I/O Pins to Analog and Digital Functions
Port I/O pins P0.0 - P2.3 can be assigned to various analog, digital, and external interrupt functions. The
Port pins assigned to analog functions should be configured for analog I/O, and Port pins assigned to
digital or external interrupt functions should be configured for digital I/O.
20.2.1. Assigning Port I/O Pins to Analog Functions
Table 20.1 shows all available analog functions that require Port I/O assignments. Port pins selected for
these analog functions should have their corresponding bit in PnSKIP set to ‘1’. This reserves the
pin for use by the analog function and does not allow it to be claimed by the Crossbar. Table 20.1 shows
the potential mapping of Port I/O to each analog function.
20.2.2. Assigning Port I/O Pins to Digital Functions
Any Port pins not assigned to analog functions may be assigned to digital functions or used as GPIO. Most
digital functions rely on the Crossbar for pin assignment; however, some digital functions bypass the
Crossbar in a manner similar to the analog functions listed above. Port pins used by these digital
functions and any Port pins selected for use as GPIO should have their corresponding bit in
PnSKIP set to ‘1’. Table 20.2 shows all available digital functions and the potential mapping of Port I/O to
each digital function.
122
Analog Function
ADC Input
Comparator0 Input
Voltage Reference (VREF0)
Current DAC Output (IDA0)
External Oscillator in Crystal Mode (XTAL1)
External Oscillator in RC, C, or Crystal Mode (XTAL2)
Digital Function
UART0, SPI0, SMBus, CP0,
CP0A, SYSCLK, PCA0
(CEX0-2 and ECI), T0 or T1.
Any pin used for GPIO
Table 20.1. Port I/O Assignment for Analog Functions
Table 20.2. Port I/O Assignment for Digital Functions
Any Port pin available for assignment by the
Crossbar. This includes P0.0 - P2.3 pins which
have their PnSKIP bit set to ‘0’.
Note: The Crossbar will always assign UART0
pins to P0.4 and P0.5.
Potentially Assignable Port Pins
Rev.1.0
P0.0 - P2.4
Potentially Assignable
P0.0 - P2.3
P0.0 - P2.3
Port Pins
P0.0
P0.1
P0.2
P0.3
OSCXCN, PnSKIP,
OSCXCN, PnSKIP,
CPT0MX, PnSKIP,
REF0CN, PnSKIP,
IDA0CN, PnSKIP,
P0SKIP, P1SKIP,
PnSKIP, PnMDIN
SFR(s) used for
AMX0P, AMX0N,
SFR(s) used for
Assignment
XBR0, XBR1
Assignment
PnMDIN
PnMDIN
PnMDIN
PnMDIN
PnMDIN
P2SKIP

Related parts for C8051F338-GMR