C8051F313R Silicon Labs, C8051F313R Datasheet - Page 113

no-image

C8051F313R

Manufacturer Part Number
C8051F313R
Description
8-bit Microcontrollers - MCU 8KB 10ADC
Manufacturer
Silicon Labs
Datasheet

Specifications of C8051F313R

Product Category
8-bit Microcontrollers - MCU
Core
8051
Data Bus Width
8 bit
Maximum Clock Frequency
25 MHz
Program Memory Size
8 KB
Data Ram Size
1.25 KB
On-chip Adc
Yes
Operating Supply Voltage
2.7 V to 3.6 V
Package / Case
QFN-28
Mounting Style
SMD/SMT
A/d Bit Size
10 bit
A/d Channels Available
17
Data Rom Size
128 B
Interface Type
I2C, SMBus, SPI, UART
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
25
Number Of Timers
5
On-chip Dac
No
Processor Series
C8051
Program Memory Type
Flash
Factory Pack Quantity
1500
Supply Voltage - Max
3.6 V
Supply Voltage - Min
2.7 V
10.3. Security Options
The CIP-51 provides security options to protect the Flash memory from inadvertent modification by soft-
ware as well as to prevent the viewing of proprietary program code and constants. The Program Store
Write Enable (bit PSWE in register PSCTL) and the Program Store Erase Enable (bit PSEE in register
PSCTL) bits protect the Flash memory from accidental modification by software. PSWE must be explicitly
set to ‘1’ before software can modify the Flash memory; both PSWE and PSEE must be set to ‘1’ before
software can erase Flash memory. Additional security features prevent proprietary program code and data
constants from being read or altered across the C2 interface.
A Security Lock Byte located at the last byte of Flash user space offers protection of the Flash program
memory from access (reads, writes, or erases) by unprotected code or the C2 interface. The Flash security
mechanism allows the user to lock n 512-byte Flash pages, starting at page 0 (addresses 0x0000 to
0x01FF), where n is the 1’s complement number represented by the Security Lock Byte. Note that the
page containing the Flash Security Lock Byte is unlocked when no other Flash pages are locked
(all bits of the Lock Byte are ‘1’) and locked when any other Flash pages are locked (any bit of the
Lock Byte is ‘0’). See the example below.
other FLASH pages
FLASH security lock
Locked when any
Flash pages locked:
according to the
Security Lock Byte:
Access limit set
Addresses locked:
1’s Complement:
are locked
byte
Unlocked FLASH Pages
C8051F310/1/6/7
Lock Byte
Reserved
Figure 10.1. Flash Program Memory Map
and 0x3C00 to 0x3DFF or 0x1E00 to 0x1FFF (Lock Byte Page)
3 (First two Flash pages + Lock Byte Page)
0x3E00
0x3DFF
0x3DFE
0x3C00
0x0000
0x0000 to 0x03FF (first two Flash pages)
Rev. 1.7
C8051F310/1/2/3/4/5/6/7
Unlocked FLASH Pages
C8051F312/3/4/5
00000010b
Lock Byte
Reserved
11111101b
0x2000
0x1FFF
0x1FFE
0x1E00
0x0000
organized in 512-byte
FLASH memory
pages
113

Related parts for C8051F313R