PIC18F46K20-I/PT Microchip Technology, PIC18F46K20-I/PT Datasheet - Page 17

IC PIC MCU FLASH 32KX16 44-TQFP

PIC18F46K20-I/PT

Manufacturer Part Number
PIC18F46K20-I/PT
Description
IC PIC MCU FLASH 32KX16 44-TQFP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F46K20-I/PT

Program Memory Type
FLASH
Program Memory Size
64KB (32K x 16)
Package / Case
44-TQFP, 44-VQFP
Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Eeprom Size
1K x 8
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3936 B
Interface Type
CCP, ECCP, EUSART, I2C, MSSP, SPI
Maximum Clock Frequency
64 MHz
Number Of Programmable I/os
36
Number Of Timers
4
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 14 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164112 - VOLTAGE LIMITER MPLAB ICD2 VPPDM164124 - KIT STARTER FOR PIC18F4XK20AC164305 - MODULE SKT FOR PM3 44TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F46K20-I/PT
Manufacturer:
MICROCHIP
Quantity:
21 400
Part Number:
PIC18F46K20-I/PT
Manufacturer:
Microchi
Quantity:
5 110
Part Number:
PIC18F46K20-I/PT
Manufacturer:
MICROC
Quantity:
5 620
Part Number:
PIC18F46K20-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F46K20-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F46K20-I/PT
0
3.2
Programming code memory is accomplished by first
loading data into the write buffer and then initiating a
programming sequence. The write and erase buffer
sizes shown in Table 3-4 can be mapped to any loca-
tion of the same size beginning at 000000h. The actual
memory write sequence takes the contents of this buf-
fer and programs the proper amount of code memory
that contains the Table Pointer.
The programming duration is externally timed and is
controlled by PGC. After a Start Programming
command is issued (4-bit command, ‘1111’), a NOP is
issued, where the 4th PGC is held high for the duration
of the programming time, P9.
TABLE 3-4:
TABLE 3-5:
© 2009 Microchip Technology Inc.
PIC18F26K20, PIC18F46K20
PIC18F24K20, PIC18F25K20, PIC18F44K20, PIC18F45K20
PIC18F23K20, PIC18F43K20
Step 1: Direct access to code memory.
Step 2: Point to row to write.
Step 3: Load write buffer. Repeat for all but the last two bytes.
Step 4: Load write buffer for last two bytes and start programming.
To continue writing data, repeat steps 2 through 4, where the Address Pointer is incremented by 2 at each iteration of
the loop.
Command
0000
0000
0000
0000
0000
0000
0000
0000
0000
1101
1111
0000
4-bit
Code Memory Programming
WRITE AND ERASE BUFFER SIZES
WRITE CODE MEMORY CODE SEQUENCE
0E <Addr[21:16]>
0E <Addr[15:8]>
0E <Addr[7:0]>
Devices (Arranged by Family)
<MSB><LSB>
<MSB><LSB>
Data Payload
9C A6
8E A6
6E F8
6E F7
6E F6
84 A6
00 00
BSF
BCF
BSF
MOVLW <Addr[21:16]>
MOVWF TBLPTRU
MOVLW <Addr[15:8]>
MOVWF TBLPTRH
MOVLW <Addr[7:0]>
MOVWF TBLPTRL
Write 2 bytes and post-increment address by 2.
Write 2 bytes and start programming.
NOP - hold PGC high for time P9 and low for time P10.
Advance Information
EECON1, EEPGD
EECON1, CFGS
EECON1, WREN
After PGC is brought low, the programming sequence
is terminated. PGC must be held low for the time
specified by parameter P10 to allow high-voltage
discharge of the memory array.
The code sequence to program a PIC18F2XK20/
4XK20 device is shown in Table 3-5. The flowchart
shown in Figure 3-4 depicts the logic necessary to
completely write a PIC18F2XK20/4XK20 device. The
timing diagram that details the Start Programming
command and parameters P9 and P10 is shown in
Figure 3-5.
PIC18F2XK20/4XK20
Note:
Core Instruction
Write Buffer Size
The TBLPTR register must point to the
same region when initiating the program-
ming sequence as it did when the write
buffers were loaded.
(bytes)
64
32
16
Erase Size (bytes)
DS41297F-page 17
64
64
64

Related parts for PIC18F46K20-I/PT