PIC16HV540-20I/SO Microchip Technology, PIC16HV540-20I/SO Datasheet - Page 15

IC MCU OTP 512X12 18SOIC

PIC16HV540-20I/SO

Manufacturer Part Number
PIC16HV540-20I/SO
Description
IC MCU OTP 512X12 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16HV540-20I/SO

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
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
18-SOIC (7.5mm Width)
Core
PIC
Processor Series
PIC16H
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Data Ram Size
25 B
Data Rom Size
512 B
Number Of Programmable I/os
12
Number Of Timers
8
Operating Supply Voltage
3.5 V to 15 V
Mounting Style
SMD/SMT
Height
2.05 mm
Length
11.55 mm
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
15 V
Supply Voltage (min)
3.5 V
Width
7.5 mm
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-20I/SO