PIC16HV540-04I/SS Microchip Technology, PIC16HV540-04I/SS Datasheet - Page 15

IC MCU OTP 512X12 20SSOP

PIC16HV540-04I/SS

Manufacturer Part Number
PIC16HV540-04I/SS
Description
IC MCU OTP 512X12 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16HV540-04I/SS

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
768B (512 x 12)
Program Memory Type
OTP
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3.5 V ~ 15 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
Processor Series
PIC16H
Core
PIC
Data Bus Width
8 bit
Data Ram Size
25 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
12
Number Of Timers
8
Operating Supply Voltage
3.5 V to 15 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
For Use With
309-1016 - ADAPTER 20-SSOP TO 18-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
4.5
The OPTION2 register is a 6-bit wide, write-only regis-
ter which contains various control bits to configure the
added features on the PIC16HV540. A Power-on Reset
sets the OPTION2<5:0> bits.
Example 4-2 illustrates how to initialize the OPTION2
register.
EXAMPLE 4-2:
movlw
tris
REGISTER 4-3: OPTION2 REGISTER (TRIS 07H)
Note:
bit7
2000 Microchip Technology Inc.
bit 7-6:
bit 5:
bit 4:
bit 3:
bit 2:
bit 1:
bit 0:
U-0
OPTION2 Register
All Power-on Resets will disable the
Brown-out Detect circuit. All subsequent
resets will not disable the Brown-out
Detect if enabled.
‘0001 0111’b
0x07
Unimplemented
PCWU: Wake-up on Pin Change
1 = Disabled
0 = Enabled
SWDTEN: Software Controlled WDT Enable bit
1 = WDT is turned off it the WDTEN configuration bit = 0
0 = WDT is on if the WDTEN configuration bit = 0; if WDTEN bit = 1, then SWDTEN is ‘don’t care’
RL: Regulated Voltage Level Select bit
1 = 5 volt
0 = 3 volt
SL: Sleep Voltage Level Select bit
1 = RL bit setting
0 = 3 volt
BODL: Brown-out Voltage Level Select bit
1 = RL bit setting, but SL during SLEEP
0 = 3 volt
BODEN: Brown-out Enabled
1 = Disabled
0 = Enabled
U-0
INSTRUCTIONS FOR INITIALIZING OPTION2 REGISTER
PCWU
W-1
; load OPTION2 setup value into W
; initialize OPTION2 register
SWDTEN
W-1
W-1
RL
Preliminary
W-1
SL
BODL
W-1
BODEN
W-1
0
PIC16HV540
W = Writable bit
U = Unimplemented bit
- n = Value at POR reset
DS40197B-page 15

Related parts for PIC16HV540-04I/SS