C8051F006-GQ Silicon Laboratories Inc, C8051F006-GQ Datasheet - Page 88
![IC 8051 MCU 32K FLASH 48TQFP](/photos/12/20/122012/c8051f006-gq_sml.jpg)
C8051F006-GQ
Manufacturer Part Number
C8051F006-GQ
Description
IC 8051 MCU 32K FLASH 48TQFP
Manufacturer
Silicon Laboratories Inc
Series
C8051F00xr
Specifications of C8051F006-GQ
Program Memory Type
FLASH
Program Memory Size
32KB (32K x 8)
Package / Case
48-TQFP, 48-VQFP
Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
SMBus (2-Wire/I²C), SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
16
Ram Size
2.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 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
2.25 KB
Interface Type
I2C/SMBus/SPI/UART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
16
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
C8051F005DK
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 12-bit
On-chip Dac
2-ch x 12-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
336-1188 - DEV KIT FOR F005/006/007
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1189
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
C8051F006-GQ
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Company:
Part Number:
C8051F006-GQR
Manufacturer:
SILICON
Quantity:
1 200
Company:
Part Number:
C8051F006-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
11.2.
The Flash memory can be used for non-volatile data storage as well as program code. This allows data such as
calibration coefficients to be calculated and stored at run time. Data is written using the MOVX instruction and
read using the MOVC instruction.
The MCU incorporates an additional 128-byte sector of Flash memory located at 0x8000 – 0x807F. This sector can
be used for program code or data storage. However, 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. Next, the sector is erased, the data set updated and the data set returned to the original
sector. The 128-byte sector-size facilitates updating data without wasting program memory space by allowing the
use of internal data RAM for temporary storage. (A normal 512-byte sector is too large to be stored in the 256-byte
internal data memory.)
11.3.
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.
(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 0x7DFE and 0x7DFF protect the Flash program memory from being read or
altered across the JTAG interface. Each bit in a security lock-byte protects one 4kbyte 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 Read lock byte is at location 0x7DFF. The Write/Erase lock byte is located at 0x7DFE. Figure 11.2 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. Writing to the reserved area should not be performed.
Bits7-2: UNUSED. Read = 000000b, Write = don’t care.
Bit1:
Bit0:
R/W
Bit7
-
Non-volatile Data Storage
Security Options
Setting this bit allows an entire page of the Flash program memory to be erased provided
the PSWE bit is also set. After setting this bit, a write to Flash memory using the MOVX
instruction will erase the entire page that contains the location addressed by the MOVX
instruction. The value of the data byte written does not matter.
0: Flash program memory erasure disabled.
1: Flash program memory erasure enabled.
Setting this bit allows writing a byte of data to the Flash program memory using the
MOVX instruction. The location must be erased before writing data.
0: Write to Flash program memory disabled.
1: Write to Flash program memory enabled.
PSEE: Program Store Erase Enable.
PSWE: Program Store Write Enable.
R/W
Bit6
-
Figure 11.1. PSCTL: Program Store RW Control
R/W
Bit5
-
R/W
Bit4
-
Rev. 1.7
R/W
Bit3
-
R/W
Bit2
-
C8051F000/1/2/5/6/7
C8051F010/1/2/5/6/7
The Program Store Write Enable
PSEE
R/W
Bit1
PSWE
R/W
Bit0
SFR Address:
Reset Value
00000000
0x8F
88