18F8723 Family Data Sheet

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

© 2009 Microchip Technology Inc.

DS39894B

PIC18F8723 Family

Data Sheet

64/80-Pin, 1-Mbit,

Enhanced Flash Microcontrollers

with 12-Bit A/D and nanoWatt Technology

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

DS39894B-page 2

© 2009 Microchip Technology Inc.

Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE.  Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.

Trademarks

The Microchip name and logo, the Microchip logo, dsPIC, 
K

EE

L

OQ

, K

EE

L

OQ

 logo, MPLAB, PIC, PICmicro, PICSTART, 

rfPIC and UNI/O are registered trademarks of Microchip 
Technology Incorporated in the U.S.A. and other countries.

FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, 
MXDEV, MXLAB, SEEVAL and The Embedded Control 
Solutions Company are registered trademarks of Microchip 
Technology Incorporated in the U.S.A.

Analog-for-the-Digital Age, Application Maestro, CodeGuard, 
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, 
ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial 
Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified 
logo, MPLIB, MPLINK, mTouch, Octopus, Omniscient Code 
Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, 
PICtail, PIC

32

 logo, REAL ICE, rfLAB, Select Mode, Total 

Endurance, TSHARC, UniWinDriver, 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.

© 2009, Microchip Technology Incorporated, Printed in the 
U.S.A., All Rights Reserved.

 Printed on recycled paper.

Note the following details of the code protection feature on Microchip devices:

Microchip products meet the specification contained in their particular Microchip Data Sheet.

Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the 
intended manner and under normal conditions.

There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our 
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data 
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.

Microchip is willing to work with the customer who is concerned about the integrity of their code.

Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not 
mean that we are guaranteeing the product as “unbreakable.”

Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.

Microchip received ISO/TS-16949:2002 certification for its worldwide 

headquarters, design and wafer fabrication facilities in Chandler and 

Tempe, Arizona; Gresham, Oregon and design centers in California 

and India. The Company’s quality system processes and procedures 

are for its PIC

®

 

MCUs and dsPIC

®

 DSCs, K

EE

L

OQ

®

 

code hopping 

devices, Serial EEPROMs, microperipherals, nonvolatile memory and 

analog products. In addition, Microchip’s quality system for the design 

and manufacture of development systems is ISO 9001:2000 certified.

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

© 2009 Microchip Technology Inc.

DS39894B-page 3

PIC18F8723 FAMILY

Peripheral Highlights:

• 12-Bit, Up to 16-Channel Analog-to-Digital 

Converter module (A/D): 
- Auto-acquisition capability
- Conversion available during Sleep

• Two Master Synchronous Serial Port (MSSP) 

modules supporting 2/3/4-Wire SPI (all four 
modes) and I

2

C™ Master and Slave modes

• Two Capture/Compare/PWM (CCP) modules
• Three Enhanced Capture/Compare/PWM (ECCP) 

modules:
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-shutdown and auto-restart

• Two Enhanced Addressable USART modules:

- Supports RS-485, RS-232 and LIN 1.2
- Auto-wake-up on Start bit
- Auto-Baud Detect

• Dual Analog Comparators with Input Multiplexing
• High-Current Sink/Source 25 mA/25 mA
• Four Programmable External Interrupts
• Four Input Change Interrupts

External Memory Interface:

• Address Capability of Up to 2 Mbytes
• 8-Bit or 16-Bit Interface
• 8, 12, 16 and 20-Bit Address modes

Power-Managed Modes:

• Run: CPU on, Peripherals on
• Idle: CPU off, Peripherals on
• Sleep: CPU off, Peripherals off
• Idle mode Currents Down to 15

μA Typical

• Sleep Current Down to 0.2

μA Typical

• Timer1 Oscillator: 1.8

μA, 32 kHz, 2V

• Watchdog Timer: 2.1

μA

Special Microcontroller Features:

• C Compiler Optimized Architecture:

- Optional extended instruction set designed to 

optimize re-entrant code

• 100,000 Erase/Write Cycle Enhanced Flash 

Program Memory Typical

• 1,000,000 Erase/Write Cycle Data EEPROM 

Memory Typical

• Flash/Data EEPROM Retention: 100 Years Typical
• Self-Programmable under Software Control
• Priority Levels for Interrupts
• 8 x 8 Single-Cycle Hardware Multiplier
• Extended Watchdog Timer (WDT):

- Programmable period from 4 ms to 131s

• Single-Supply In-Circuit Serial Programming™ 

(ICSP™) via Two Pins

• In-Circuit Debug (ICD) via Two Pins
• Wide Operating Voltage Range: 2.0V to 5.5V
• Fail-Safe Clock Monitor
• Two-Speed Oscillator Start-up
• nanoWatt Technology

Note:

This document is supplemented by the
“PIC18F8722 Family Data Sheet”
(DS39646). See Section 1.0 “Device
Overview”
.

Device

Program Memory

Data Memory

I/O

12-Bit

A/D (ch)

CCP/

ECCP

(PWM)

MSSP

EU

SA

R

T

Co

mp

ar

at

o

rs

Ti

m

er

s

8

/16-

Bi

t

Exte

rn

al 

Bu

s

Flash

(bytes)

# Single-Word

Instructions

 SRAM
(bytes)

EEPROM

(bytes)

SPI

Master

I

2

C™

PIC18F6628

96K

49152

3936

1024

54

12

2/3

2

Y

Y

2

2

2/3

N

PIC18F6723

128K

65536

3936

1024

54

12

2/3

2

Y

Y

2

2

2/3

N

PIC18F8628

96K

49152

3936

1024

70

16

2/3

2

Y

Y

2

2

2/3

Y

PIC18F8723

128K

65536

3936

1024

70

16

2/3

2

Y

Y

2

2

2/3

Y

64/80-Pin, 1-Mbit, Enhanced Flash Microcontrollers

with 12-Bit A/D and nanoWatt Technology

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

PIC18F8723

DS39894B-page 4

© 2009 Microchip Technology Inc.

Pin Diagrams  

Note 1:

The ECCP2/P2A pin placement is determined by the CCP2MX Configuration bit.

1
2
3
4
5
6
7
8
9
10
11
12
13
14

38
37
36
35
34
33

50 49

17 18 19 20 21 22 23 24 25 26

RE2

/CS

/P

2B

RE3

/P3

C

RE4

/P3

B

RE5

/P1

C

RE6

/P1

B

RE7

/ECCP2

(1

)

/P

2

A

(1

)

RD0

/PSP0

V

DD

V

SS

RD1

/PSP1

RD2

/PSP2

RD3

/PSP3

RD4

/PSP4

/S

DO

2

RD5

/PSP5

/S

DI

2/

SDA2

RD6

/PSP6

/S

CK2

/SCL

2

RD7

/PSP7

/SS2

RE1/WR/P2C

RE0/RD/P2D

RG0/ECCP3/P3A

RG1/TX2/CK2

RG2/RX2/DT2

RG3/CCP4/P3D

RG5/MCLR/V

PP

RG4/CCP5/P1D

V

SS

V

DD

RF7/SS1

RF6/AN11

RF5/AN10/CV

REF

RF4/AN9
RF3/AN8

RF2/AN7/C1OUT

RB0/INT0
RB1/INT1
RB2/INT2
RB3/INT3
RB4/KBI0
RB5/KBI1/PGM
RB6/KBI2/PGC
V

SS

OSC2/CLKO/RA6
OSC1/CLKI/RA7
V

DD

RB7/KBI3/PGD

RC4/SDI1/SDA1
RC3/SCK1/SCL1
RC2/ECCP1/P1A

RF

0/

A

N

5

RF

1

/AN6

/C2

OUT

AV

DD

AV

SS

RA3

/A

N

3

/V

RE

F

+

R

A

2/A

N

2/

V

RE

F

-

RA1

/A

N

1

RA0

/A

N

0

V

SS

V

DD

RA4

/T

0

CKI

R

A

5/A

N

4/

H

LV

D

IN

RC1

/T

1O

SI

/ECCP2

(1

)

/P

2A

(1

)

RC0

/T

1

O

S

O/T

13

CK

I

RC7/RX

1

/DT

1

R

C

6/T

X

1/C

K

1

RC5/SDO1

15
16

31

40
39

27 28 29 30

32

48
47
46
45
44
43
42
41

54 53 52 51

58 57 56 55

60 59

64 63 62 61

64-Pin TQFP

PIC18F6628
PIC18F6723

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

© 2009 Microchip Technology Inc.

DS39894B-page 5

PIC18F8723

Pin Diagrams (Continued)

3
4
5
6
7
8
9
10
11
12
13
14
15
16

48
47
46
45
44
43
42
41

40

39

64 63 62 61

21 22 23 24 25 26 27 28 29 30 31 32

RE2

/A

D

1

0/CS

/P

2B

R

E

3/

A

D

11

/P

3C

(2

)

R

E

4/

A

D

12

/P

3B

(2

)

R

E

5/

A

D

13

/P

1C

(2

)

R

E

6/

A

D

14

/P

1B

(2

)

RE7

/A

D

1

5/ECCP2

(1

)

/P

2A

(1

)

RD0

/A

D0

/PSP0

V

DD

V

SS

RD1

/A

D1

/PSP1

RD2

/A

D2

/PSP2

RD3

/A

D3

/PSP3

RD4

/A

D4

/PSP4

/S

DO

2

RD5

/A

D5

/PSP5

/S

DI

2

/SDA2

RD6

/A

D6

/PSP6

/S

CK2

/SCL

2

RD7

/A

D7

/PSP7

/SS2

RE1/AD9/WR/P2C

RE0/AD8/RD/P2D

RG0/ECCP3/P3A

RG1/TX2/CK2

RG2/RX2/DT2

RG3/CCP4/P3D

RG5/MCLR/V

PP

RG4/CCP5/P1D

V

SS

V

DD

RF7/SS1

RB0/INT0
RB1/INT1
RB2/INT2
RB3/INT3/ECCP2

(1)

/P2A

(1)

RB4/KBI0
RB5/KBI1/PGM
RB6/KBI2/PGC
V

SS

OSC2/CLKO/RA6
OSC1/CLKI/RA7
V

DD

RB7/KBI3/PGD

RC4/SDI1/SDA1
RC3/SCK1/SCL1
RC2/ECCP1/P1A

RF

0/

AN5

RF

1

/AN6

/C2

OUT

AV

DD

AV

SS

RA3

/AN3

/V

RE

F

+

RA2

/AN2

/V

RE

F

-

RA1

/AN1

RA0

/AN0

V

SS

V

DD

RA4

/T

0CKI

RA5

/AN4

/HL

VDIN

RC1

/T

1O

SI/ECCP2

(1

)

/P

2A

(1

)

R

C

0/T

1OS

O

/T1

3C

K

I

RC7

/R

X1

/DT

1

RC6

/T

X

1

/CK

1

RC5/SDO1

RJ0

/AL

E

RJ1

/OE

RH1

/A1

7

RH

0/

A

16

1
2

RH2/A18
RH3/A19

17
18

RH7/AN15/P1B

(2)

RH6/AN14/P1C

(2)

R

H

5/A

N

13

/P

3B

(2

)

RH4

/AN1

2

/P3

C

(2

)

RJ

5/

CE

RJ

4

/BA0

37

RJ7/UB
RJ6/LB

50
49

RJ2/WRL
RJ3/WRH

19
20

33 34 35 36

38

58
57
56
55
54
53
52
51

60
59

68 67 66 65

72 71 70 69

74 73

78 77 76 75

79

80

80-Pin TQFP

Note 1:

The ECCP2/P2A pin placement is determined by the CCP2MX Configuration bit and Processor mode settings.

2:

 P1B, P1C, P3B and P3C pin placement is determined by the ECCPMX Configuration bit.

RF5/AN10/CV

REF

RF4/AN9
RF3/AN8

RF2/AN7/C1OUT

RF6/AN11

PIC18F8628
PIC18F8723

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

PIC18F8723

DS39894B-page 6

© 2009 Microchip Technology Inc.

Table of Contents 

1.0

Device Overview .......................................................................................................................................................................... 9

2.0

12-Bit Analog-to-Digital Converter (A/D) Module ....................................................................................................................... 31

3.0

Special Features of the CPU...................................................................................................................................................... 41

4.0

Electrical Characteristics  ........................................................................................................................................................... 43

5.0

Packaging Information................................................................................................................................................................ 49

Appendix A: Revision History............................................................................................................................................................... 51
Appendix B: Device Differences........................................................................................................................................................... 51
Appendix C: Conversion Considerations ............................................................................................................................................. 52
Appendix D: Migration From Baseline to Enhanced Devices............................................................................................................... 52
Appendix E: Migration From Mid-Range to Enhanced Devices ........................................................................................................... 53
Appendix F: Migration From High-End to Enhanced Devices.............................................................................................................. 53
Index .................................................................................................................................................................................................... 55
The Microchip Web Site ....................................................................................................................................................................... 57
Customer Change Notification Service ................................................................................................................................................ 57
Customer Support ................................................................................................................................................................................ 57
Reader Response ................................................................................................................................................................................ 58
PIC18F8723 family Product Identification System ............................................................................................................................... 59

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

© 2009 Microchip Technology Inc.

DS39894B-page 7

PIC18F8723

TO OUR VALUED CUSTOMERS

It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced. 
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at docerrors@microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We
welcome your feedback.

Most Current Data Sheet

To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:

http://www.microchip.com

You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).

Errata

An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.

Customer Notification System

Register on our web site at www.microchip.com to receive the most current information on all of our products.

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

PIC18F8723

DS39894B-page 8

© 2009 Microchip Technology Inc.

NOTES:

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

© 2009 Microchip Technology Inc.

DS39894B-page 9

PIC18F8723 FAMILY

1.0

DEVICE OVERVIEW

This document contains device-specific information for
the following devices:

The PIC18F8723 family of devices offers the
advantages of all PIC18 microcontrollers – namely, high
computational performance at an economical price –
with the addition of high-endurance, Enhanced Flash
program memory. In addition to these features, the
PIC18F8723 introduces design enhancements that
make these microcontrollers a logical choice for many
high-performance, power-sensitive applications.

1.1

Special Features

• 12-Bit A/D Converter: The PIC18F8723 family 

implements a 12-bit A/D Converter. A/D Converters 
in both families incorporate programmable acquisi-
tion time. This allows for a channel to be selected 
and a conversion to be initiated, without waiting for 
a sampling period and thus, reducing code 
overhead.

1.2

Details on Individual Family 
Members

Devices in the PIC18F8723 family are available in
64-pin and 80-pin packages. Block diagrams for the
two groups are shown in Figure 1-1 and Figure 1-2. 
The devices are differentiated from each other in the
following ways:
• Flash program memory (96 Kbytes for 

PIC18FX628 devices and 128 Kbytes for 
PIC18FX723).

• A/D channels (12 for PIC18F6628/6723 devices 

and 16 for PIC18F8628/8723 devices).

• I/O ports (seven bidirectional ports on 

PIC18F6628/6723 devices and nine bidirectional 
ports on PIC18F8628/8723 devices).

• External Memory Bus, configurable for 8 and 

16-bit operation

All other features for devices in this family are identical.
These are summarized in Table 1-1.
The pinouts for all devices are listed in Table 1-2 and
Table 1-3.
Like all Microchip PIC18 devices, members of the
PIC18F8723 family are available as both standard and
low-voltage devices. Standard devices with Enhanced
Flash memory, designated with an “F” in the part
number (such as PIC18F6628), accommodate an
operating V

DD

 range of 4.2V to 5.5V. Low-voltage

parts, designated by “LF” (such as PIC18LF6628),
function over an extended V

DD

 range of 2.0V to 5.5V. 

• PIC18F6628

• PIC18LF6628

• PIC18F6723

• PIC18LF6723

• PIC18F8628

• PIC18LF8628

• PIC18F8723

• PIC18LF8723

Note: This data sheet documents only the devices’

features and specifications that are in addition
to the features and specifications of the
PIC18F8722 family devices. For information
on the features and specifications shared by
the PIC18F8723 family and PIC18F8722 fam-
ily devices, see the “PIC18F8722 Family Data
Sheet”
 (DS39646).

/var/www/html/datasheet/sites/default/files/pdfhtml_dummy/39894b-html.html
background image

PIC18F8723 FAMILY

DS39894B-page 10

© 2009 Microchip Technology Inc.

TABLE 1-1:

DEVICE FEATURES    

  

Features

PIC18F6628

PIC18F6723

PIC18F8628

PIC18F8723

Operating Frequency

DC – 40 MHz

DC – 40 MHz

DC – 40 MHz

DC – 40 MHz

Program Memory (Bytes)

96K

128K

96K

128K

Program Memory (Instructions)

49152

65536

49152

65536

Data Memory (Bytes)

3936

3936

3936

3936

Data EEPROM Memory (Bytes)

1024

1024

1024

1024

Interrupt  Sources

28

28

29

29

I/O Ports

Ports A, B, C, D, E, F, G Ports A, B, C, D, E, F, G

Ports A, B, C, D, E, 

F, G, H, J

Ports A, B, C, D, E, 

F, G, H, J

Timers

5

5

5

5

Capture/Compare/PWM 
Modules

2

2

2

2

Enhanced Capture/Compare/
PWM Modules

3

3

3

3

Enhanced USART

2

2

2

2

Serial Communications

MSSP, 

Enhanced USART

MSSP, 

Enhanced USART

MSSP, 

Enhanced USART

MSSP, 

Enhanced USART

Parallel Communications (PSP)

Yes

Yes

Yes

Yes

12-Bit Analog-to-Digital Module

12 Input Channels

12 Input Channels

16 Input Channels

16 Input Channels

Resets (and Delays)

POR, BOR, 

RESET Instruction, 

Stack Full, Stack 

Underflow (PWRT, OST), 

MCLR (optional), WDT

POR, BOR, 

RESET Instruction, 

Stack Full, Stack 

Underflow (PWRT, OST), 

MCLR (optional), WDT

POR, BOR, 

RESET Instruction, 

Stack Full, Stack 

Underflow (PWRT, OST), 

MCLR (optional), WDT

POR, BOR, 

RESET Instruction, 

Stack Full, Stack 

Underflow (PWRT, OST), 

MCLR (optional), WDT

Programmable 
High/Low-Voltage Detect

Yes

Yes

Yes

Yes

Programmable Brown-out 
Reset

Yes

Yes

Yes

Yes

Instruction Set

75 Instructions; 

83 with Extended 

Instruction Set Enabled

75 Instructions; 

83 with Extended 

Instruction Set Enabled

75 Instructions; 

83 with Extended 

Instruction Set Enabled

75 Instructions; 

83 with Extended 

Instruction Set Enabled

Packages

64-Pin TQFP

64-Pin TQFP

80-Pin TQFP

80-Pin TQFP

Maker
Microchip Technology Inc.
Datasheet PDF Download