PIC16F1507-I/ML Microchip Technology, PIC16F1507-I/ML Datasheet - Page 32

3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE

PIC16F1507-I/ML

Manufacturer Part Number
PIC16F1507-I/ML
Description
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F1507-I/ML

Processor Series
PIC16
Core
PIC16F
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
3.5 KB
Data Ram Size
128 B
Interface Type
ICSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
18
Number Of Timers
3
Operating Supply Voltage
2.3 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
QFN-20
Minimum Operating Temperature
- 40 C
Operating Temperature Range
- 40 C to + 85 C
Supply Current (max)
30 uA
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
-
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
-
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1507-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC12(L)F1501/PIC16(L)F150X
EXAMPLE 7-4:
DS41573C-page 32
Note 1:
PIC16LF1507
2:
3:
4:
5:
6:
7:
This value is obtained by making all bits of the Configuration Word 1 a ‘1’, but the code-protect bit is ‘0’
(thus, enabled), then converting it to hex, thus having a value of 3F7Fh.
This value is obtained by making all used bits of the Configuration Word 1 a ‘1’, but the code-protect bit
is ‘0’ (thus, enabled), then converting it to hex, thus having a value of 0E7Bh.
This value is obtained by making all bits of the Configuration Word 2 a ‘1’, then converting it to hex, thus
having a value of 3FFFh.
This value is obtained by making all used bits of the Configuration Word 2 a ‘1’, then converting it to hex,
thus having a value of 2E03h.
These values are picked at random for this example; they could be any 16-bit value.
In order to calculate the sum of user IDs, take the 16-bit value of the first user ID location (000Eh), AND
the address to (000Fh), thus masking the MSB. This gives you the value 000Eh, then shift left 12 bits,
giving you E000h. Do the same procedure for the 16-bit value of the second user ID location (0008h),
except shift left 8 bits. Also, do the same for the third user ID location (0005h), except shift left 4 bits. For
the fourth user ID location do not shift. Finally, add up all four user ID values to get the final sum of user
IDs of E858h.
This value is obtained by ANDing the Configuration Word value with the Configuration Word Mask Value
and adding it to the sum of user IDs: (3F7Fh AND 0E7Bh) + (3FFFh AND 2E03h) + E858h = 24D6h.
Checksum
Sum of User IDs
Configuration Word 1
Configuration Word 1 mask
Configuration Word 2
Configuration Word 2 mask
User ID (8000h)
User ID (8001h)
User ID (8002h)
User ID (8003h)
CHECKSUM COMPUTED WITH PROGRAM CODE PROTECTION ENABLED
(CP = 0), PIC16LF1507, 00AAh AT FIRST AND LAST ADDRESS
= (3F7Fh and 0E7Bh) + (3FFFh and 2E03h) + Sum of User IDs
= 24D6h
= E000h + 0800h + 0050h + 0008h
= E858h
= 0E7Bh +2E03h + E858h
= (000Eh and 000Fh) << 12 + (0008h and 000Fh) << 8 +
Advance Information
(0005h and 000Fh) << 4 + (0008h and 000Fh)
000Eh
0008h
0005h
0008h
3F7Fh
0E7Bh
3FFFh
2E03h
(5)
(5)
(5)
(5)
(1)
(4)
(3)
(2)
 2011 Microchip Technology Inc.
(6)
(7)

Related parts for PIC16F1507-I/ML