C8051F021-GQ Silicon Laboratories Inc, C8051F021-GQ Datasheet - Page 140

IC 8051 MCU 64K FLASH 64TQFP

C8051F021-GQ

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

Specifications of C8051F021-GQ

Program Memory Type
FLASH
Program Memory Size
64KB (64K x 8)
Package / Case
64-TQFP, 64-VQFP
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
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
Processor Series
C8051F0x
Core
8051
Data Bus Width
8 bit
Data Ram Size
4.25 KB
Interface Type
I2C/SMBus/SPI/UART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
32
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
PK51, CA51, A51, ULINK2
Development Tools By Supplier
C8051F020DK
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 8-bit or 8-ch x 12-bit
On-chip Dac
2-ch x 12-bit
No. Of I/o's
32
Ram Memory Size
4352Byte
Cpu Speed
25MHz
No. Of Timers
5
No. Of Pwm Channels
5
Rohs Compliant
Yes
Data Rom Size
64 KB
A/d Bit Size
12 bit
A/d Channels Available
8
Height
1.05 mm
Length
10 mm
Supply Voltage (max)
3.6 V
Supply Voltage (min)
2.7 V
Width
10 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
336-1200 - DEV KIT FOR F020/F021/F022/F023
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1201

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
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
C8051F020/1/2/3
Write/Erase timing is automatically controlled by hardware. Note that code execution in the 8051 is stalled while the
FLASH is being programmed or erased. Interrupts that are posted during a FLASH write or erase operation are held
pending until the FLASH operation has completed, at which time they are serviced by the CPU in priority order.
15.2. Non-volatile Data Storage
The FLASH memory can be used for non-volatile data storage as well as program code. This allows data such as cal-
ibration coefficients to be calculated and stored at run time. Data is written using the MOVX write instruction (as
described in the previous section) and read using the MOVC read instruction.
An additional 128-byte sector of FLASH memory is included for non-volatile data storage. Its smaller sector size
makes it particularly well suited as general purpose, non-volatile scratchpad memory. Even though FLASH memory
can be written a single byte at a time, an entire sector must be erased first. In order to change a single byte of a multi-
byte data set, the data must be moved to temporary storage. The 128-byte sector-size facilitates updating data without
wasting program memory or RAM space. The 128-byte sector is double-mapped over the 64k byte FLASH memory;
its address ranges from 0x00 to 0x7F (see Figure 15.1). To access this 128-byte sector, the SFLE bit in PSCTL must
be set to logic 1. Code execution from this 128-byte scratchpad sector is not permitted.
15.3. Security Options
The CIP-51 provides security options to protect the FLASH memory from inadvertent modification by software as
well as prevent the viewing of proprietary program code and constants. The Program Store Write Enable (PSCTL.0)
and the Program Store Erase Enable (PSCTL.1) bits protect the FLASH memory from accidental modification by
software. These bits must be explicitly set to logic 1 before software can modify the FLASH memory. Additional
security features prevent proprietary program code and data constants from being read or altered across the JTAG
interface or by software running on the system controller.
A set of security lock bytes stored at 0xFDFE and 0xFDFF protect the FLASH program memory from being read or
altered across the JTAG interface. Each bit in a security lock-byte protects one 8k-byte block of memory. Clearing a
bit to logic 0 in a Read Lock Byte prevents the corresponding block of FLASH memory from being read across the
JTAG interface. Clearing a bit in the Write/Erase Lock Byte protects the block from JTAG erasures and/or writes. The
128-byte scratchpad sector is locked only when all other sectors are locked.
The Read Lock Byte is at location 0xFDFF. The Write/Erase Lock Byte is located at 0xFDFE. Figure 15.1 shows the
location and bit definitions of the security bytes. The 512-byte sector containing the lock bytes can be written to, but
not erased by software. An attempted read of a read-locked byte returns undefined data. Debugging code in a read-
locked sector is not possible through the JTAG port.
140
VDD = 2.7V to 3.6V; T
Erase Cycle Time
Write Cycle Time
PARAMETER
Endurance
a
= -40°C to +85°C
Table 15.1. FLASH Electrical Characteristics
CONDITIONS
Rev. 1.4
MIN
20k
10
40
TYP
100k
12
50
MAX
14
60
Erase/Write
UNITS
ms
µs

Related parts for C8051F021-GQ