PIC18LF6310-I/PT Microchip Technology, PIC18LF6310-I/PT Datasheet

IC PIC MCU FLASH 4KX16 64TQFP

PIC18LF6310-I/PT

Manufacturer Part Number
PIC18LF6310-I/PT
Description
IC PIC MCU FLASH 4KX16 64TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF6310-I/PT

Core Size
8-Bit
Program Memory Size
8KB (4K x 16)
Oscillator Type
Internal
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
54
Program Memory Type
FLASH
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 12x10b
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Controller Family/series
PIC18
No. Of I/o's
54
Ram Memory Size
768Byte
Cpu Speed
40MHz
No. Of Timers
4
No. Of Pwm
RoHS Compliant
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF6310-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
1.0
This
specifications for the following devices:
2.0
PIC18F8410/8490/8493
programmed using the high-voltage In-Circuit Serial
Programming
This can be done with the device in the user’s system.
This
PIC18F8410/8490/8493 family devices in all package
types.
TABLE 2-1
© 2007 Microchip Technology Inc.
• PIC18F6310
• PIC18F6410
• PIC18F8310
• PIC18F8410
RG5/MCLR/V
V
V
RB6/PGC
RB7/PGD
Legend: I = Input, O = Output, P = Power
Note 1:
DD (1)
SS
Pin Name
(1)
Programming Specifications for PIC18F8410/8490/8493
programming
document
DEVICE OVERVIEW
PROGRAMMING OVERVIEW
OF THE PIC18F8410/8490/8493
FAMILY
All power supply (V
TM
PP
(ICSP
PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F8410/8490/8493 FAMILY
• PIC18F6390
• PIC18F6490
• PIC18F8390
• PIC18F8490
includes
Pin Name
TM
) method.
PGC
PGD
V
specification
V
V
DD
family
PP
SS
DD
) and ground (V
the
devices
PIC18F8410/8490/8493 FAMILY
• PIC18F6393
• PIC18F6493
• PIC18F8393
• PIC18F8493
Pin Type
Family Flash MCUs
programming
applies
I/O
P
P
P
I
can
SS
) must be connected.
be
Programming Enable
Power Supply
Ground
Serial Clock
to
Serial Data
During Programming
2.1
In
PIC18F8410/8490/8493 family devices require two
programmable power supplies: one for V
MCLR/V
resolution of 0.25V. Refer to Section 6.0 “AC/DC
Characteristics
Program/Verify Test Mode” for additional hardware
parameters.
2.2
The pin diagrams for the PIC18F8410/8490/8493 family
are shown in Figure 2-1 through Figure 2-4.
High-Voltage
PP
Hardware Requirements
Pin Diagrams
. Both supplies should have a minimum
Pin Description
Timing
ICSP
Requirements
DS39624C-page 1
mode,
DD
and one for
the
for

Related parts for PIC18LF6310-I/PT

PIC18LF6310-I/PT Summary of contents

Page 1

... SS RB6/PGC PGC RB7/PGD PGD Legend Input Output Power Note 1: All power supply (V ) and ground (V DD © 2007 Microchip Technology Inc. Family Flash MCUs 2.1 Hardware Requirements In High-Voltage programming PIC18F8410/8490/8493 family devices require two programmable power supplies: one for V • PIC18F6393 MCLR/V ...

Page 2

... RG1/TX2/CK2 4 RG2/RX2/DT2 5 RG3 6 RG5/MCLR RG4 RF7/SS 11 RF6/AN11 12 RF5/AN10/CV REF 13 RF4/AN9 14 RF3/AN8 15 RF2/AN7/C1OUT Note 1: RE7 is the alternate pin for CCP2 multiplexing. DS39624C-page PIC18F6X10 RB0/INT0 48 RB1/INT1 47 RB2/INT2 46 RB3/INT3 45 RB4/KBI0 44 RB5/KBI1 43 RB6/KBI2/PGC OSC2/CLKO/RA6 40 OSC1/CLKI/RA7 RB7/KBI3/PGD 37 RC5/SDO 36 RC4/SDI/SDA 35 RC3/SCK/SCL 34 RC2/CCP1 33 © 2007 Microchip Technology Inc. ...

Page 3

... RG0/CCP3 5 RG1/TX2/CK2 6 RG2/RX2/DT2 7 RG3 8 RG5/MCLR RG4 RF7/SS 13 RF6/AN11 14 RF5/AN10/CV REF 15 RF4/AN9 16 RF3/AN8 17 RF2/AN7/C1OUT 18 RH7 19 RH6 Note 1: RE7 is the alternate pin for CCP2 multiplexing. © 2007 Microchip Technology Inc PIC18F8X10 RJ2/WRL 60 RJ3/WRH 59 RB0/INT0/FLT0 58 RB1/INT1 57 RB2/INT2 56 (1) RB3/INT3/CCP2 55 RB4/KBI0 54 RB5/KBI1 53 RB6/KBI2/PGC OSC2/CLKO/RA6 50 OSC1/CLKI/RA7 49 V ...

Page 4

... RG3/SEG27 6 RG5/MCLR RG4/SEG26 RF7/SS/SEG25 11 RF6/AN11/SEG24 12 RF5/AN10/CV /SEG23 REF 13 RF4/AN9/SEG22 14 RF3/AN8/SEG21 15 RF2/AN7/C1OUT/SEG20 16 Note 1: RE7 is the alternate pin for CCP2 multiplexing. DS39624C-page PIC18F6X90 PIC18F6X93 RB0/INT0 48 RB1/INT1/SEG8 47 RB2/INT2/SEG9 46 RB3/INT3/SEG10 45 RB4/KBI0/SEG11 44 RB5/KBI1 43 RB6/KBI2/PGC OSC2/CLKO/RA6 40 OSC1/CLKI/RA7 RB7/KBI3/PGD 37 RC5/SDO/SEG12 36 RC4/SDI/SDA 35 RC3/SCK/SCL 34 RC2/CCP1/SEG13 © 2007 Microchip Technology Inc. ...

Page 5

... RG1/TX2/CK2/SEG29 6 RG2/RX2/DT2/SEG28 7 RG3/SEG27 8 RG5/MCLR RG4/SEG26 RF7/SS/SEG25 13 RF6/AN11/SEG24 14 RF5/AN10/CV /SEG23 REF 15 RF4/AN9/SEG22 16 RF3/AN8/SEG21 17 RF2/AN7/C1OUT/SEG20 18 RH7/SEG43 19 RH6/SEG42 Note 1: RE7 is the alternate pin for CCP2 multiplexing. © 2007 Microchip Technology Inc PIC18F8X90 PIC18F8X93 RJ2/SEG34 60 RJ3/SEG35 59 RB0/INT0 58 RB1/INT1/SEG8 57 RB2/INT2/SEG9 56 RB3/INT3/SEG10 55 RB4/KBI0/SEG11 54 RB5/KBI1 53 RB6/KBI2/PGC OSC2/CLKO/RA6 50 OSC1/CLKI/RA7 ...

Page 6

... TBLPTRH, at RAM address 0FF7h • TBLPTRL, at RAM address 0FF6h TBLPTRU Addr[21:16] The 4-bit command, ‘0000’ (core instruction), is used to load the Table Pointer prior to using many read or write operations. described in Section 5.0 TBLPTRH TBLPTRL Addr[15:8] Addr[7:0] © 2007 Microchip Technology Inc. ...

Page 7

... Block 0 001FFFh Unimplemented Read as ‘0’ 200000h 200007h 300000h 30000Dh 3FFFFEh 3FFFFFh Note: Sizes of memory areas are not to scale. © 2007 Microchip Technology Inc. Code Memory User ID Space Configuration Bits Space Device ID Space ID Location 1 200000h ID Location 2 200001h ID Location 3 200002h ID Location 4 200003h ...

Page 8

... ID Location 8 200007h CONFIG1L 300000h CONFIG1H 300001h CONFIG2L 300002h CONFIG2H 300003h CONFIG3L 300004h CONFIG3H 300005h CONFIG4L 300006h CONFIG4H 300007h CONFIG5L 300008h CONFIG5H 300009h CONFIG6L 30000Ah CONFIG6H 30000Bh CONFIG7L 30000Ch CONFIG7H 30000Dh Device ID1 3FFFFEh Device ID2 3FFFFFh © 2007 Microchip Technology Inc. ...

Page 9

... FIGURE 2-7: ENTERING HIGH-VOLTAGE PROGRAM/VERIFY MODE P13 P12 P1 D110 MCLR PGD PGC PGD = Input © 2007 Microchip Technology Inc. FIGURE 2-8: bits are then Yes Program Memory Program IDs Verify Program Verify IDs Configuration Bits Configuration Bits HIGH-LEVEL PROGRAMMING FLOW Start ...

Page 10

... Data Payload PGD = Input COMMANDS FOR PROGRAMMING 4-Bit Description Command 0000 0010 1000 1001 1010 1011 1100 1101 1110 1111 SAMPLE COMMAND SEQUENCE Data Core Instruction Payload 3C 40 Table Write, post-increment P5A Fetch Next 4-Bit Command © 2007 Microchip Technology Inc. ...

Page 11

... Verified? Yes Note 1: The erased state of configuration bits are given in Table 5-2. © 2007 Microchip Technology Inc. A “Blank” or “Erased” memory cell will read as a ‘1’. So, “Blank Checking” a device merely means to verify that all bytes read as FFh, except the configuration bits. ...

Page 12

... Write 8Ah TO 3C0004h to erase device NOP Hold PGD low until erase completes. CHIP ERASE FLOW Start Load Address Pointer to 3C0004h Write 018Ah to Erase Device Delay P11 + P10 Time Done P10 P11 16-Bit Erase Time Data Payload © 2007 Microchip Technology Inc. ...

Page 13

... TBLPTR<3:0> TBLPTR<3:0> TBLPTR<3:0> TBLPTR<3:0> TBLPTR<3:0> TBLPTR<3:0> Note: TBLPTR = TBLPTRU:TBLPTRH:TBLPTRL. © 2007 Microchip Technology Inc. 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 PIC18F8410/8490/8493 family device is shown in Table 3-3 ...

Page 14

... Start LoopCount = 0 Configure Device for Writes Addr = 16 x LoopCount Load 16 Bytes to Write Buffer at <Addr> Start Programming Sequence Delay P9 + P10 Time (Hold PGC High for P9 Time and PGC Low for P10 Time) All No Locations Done? Yes Done © 2007 Microchip Technology Inc. ...

Page 15

... F8 0000 0E 00 0000 6E F7 0000 0E 00 0000 6E F6 1101 <LSB><MSB> 1101 <LSB><MSB> 1101 <LSB><MSB> 1111 <LSB><MSB> 0000 00 00 © 2007 Microchip Technology Inc P5A 16-Bit Data Payload 4-Bit Command PGD = Input Table 3-4 demonstrates the code sequence required to write the ID locations ...

Page 16

... NOP - hold PGC high for time P9 INCF TBLPTRL Load 2 bytes and start programming NOP - hold PGC high for time P9 Hold PGC High for a to program two consecutive Start Load Odd Configuration Address Program MSB P9 Time Done © 2007 Microchip Technology Inc. ...

Page 17

... PGD = Input © 2007 Microchip Technology Inc. The 4-bit command is shifted in LSb first. The read is executed during the next 8 clocks, then shifted out on PGD during the last 8 clocks, LSb to MSb. A delay of P6 must be introduced after the falling edge of the 8th PGC of the operand to allow PGD to transition from an input to an output ...

Page 18

... Section 4.1 “Read Code Memory, ID Locations and Configuration Bits” for implementation details of reading configuration data. Set Pointer = 200000h Read Low Byte Read High Byte No Failure, Word = Expect Report Error No Does No Failure, Data? Report Error Yes All ID Locations Verified? Yes Done © 2007 Microchip Technology Inc. ...

Page 19

... PIC18F6493 PIC18F8410 PIC18F8490 PIC18F8493 Note: The ‘x’s in DEVID1 contain the device revision code. © 2007 Microchip Technology Inc 0Fh. In doing so, if the user code inadvertently tries to execute from the ID space, the ID data will execute as a NOP. 5.2 Device ID Word The device ID word for the PIC18F8410/8490/8493 family is located at 3FFFFEh:3FFFFFh ...

Page 20

... BOREN0 PWRTEN ---1 1111 WDTPS0 WDTEN ---1 1111 PM1 PM0 11-- --11 — CCP2MX 1--- -0-1 — STVREN 10-- ---1 — CP ---- ---1 — — ---- ---- — — ---- ---- — — ---- ---- — EBTR ---- ---1 — — ---- ---- REV1 REV0 1xxx xxxx DEV4 DEV3 0000 xxxx © 2007 Microchip Technology Inc. ...

Page 21

... BORV1:BORV0 CONFIG2L WDTEN CONFIG2H Note 1: Unimplemented in PIC18F8410/8490/8493 family devices; maintain the default unprogrammed value. © 2007 Microchip Technology Inc. Description Oscillator Selection bits 1111 = External RC oscillator w/ OSC2 configured as ‘divide by 4 clock output’ 1110 = External RC oscillator w/ OSC2 configured as ‘divide by 4 clock output’ ...

Page 22

... MCLR pin enabled, RG5 disabled 0 = RG5 input pin enabled, MCLR disabled Stack Overflow/Underflow Reset Enable bit 1 = Stack Overflow/Underflow will cause Reset 0 = Stack Overflow/Underflow will not cause Reset Enhanced CPU Enable bit 1 = Enhanced CPU enabled 0 = Enhanced CPU disabled ( Microprocessor w/ © 2007 Microchip Technology Inc. ...

Page 23

... DEV2:DEV0 DEVID1 REV4:REV0 DEVID1 Note 1: Unimplemented in PIC18F8410/8490/8493 family devices; maintain the default unprogrammed value. © 2007 Microchip Technology Inc. Description Background Debugger Enable bit 1 = Background debugger disabled 0 = Background debugger enabled Code Protection bit (code memory area 0000h-3FFFh for PIC18FX410/X490/X493 devices and 0000h-1FFFh for ...

Page 24

... Configuration Word information may be provided. When embedding Configuration Word information in the Hex file, it should start at address 300000h. Microchip Technology Inc. feels strongly that this feature is important for the benefit of the end customer. TABLE 5-4 CHECKSUM COMPUTATION Code ...

Page 25

... HS/PLL mode only) + 1.5 μs (for EC mode only) where T is the Instruction Cycle Time For specific values, refer to the Electrical Characteristics section of the Device Data Sheet for the particular device. © 2007 Microchip Technology Inc. Min Max Units ...

Page 26

... PIC18F8410/8490/8493 FAMILY NOTES: DS39624C-page 26 © 2007 Microchip Technology Inc. ...

Page 27

... PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 28

... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2007 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords