PIC18F47J13 FAMILY
PIC18F47J13 Family 28/44-Pin, High-Performance Microcontrollers
with XLP Technology
Power Management Features with XLP
for eXtreme Low Power:
• Deep Sleep mode: CPU Off, Peripherals Off, SRAM Off,
Currents Down to 9 nA and 700 nA with RTCC:
- Able to wake-up on external triggers, programmable WDT
or RTCC alarm
- Ultra Low-Power Wake-up (ULPWU)
• Sleep mode: CPU Off, Peripherals Off, SRAM On, Fast
Wake-up, Currents Down to 0.2
A,
2V Typical
• Idle: CPU Off, SRAM On, Currents Down to
1.7
A
Typical
• Run: CPU On, SRAM On, Currents Down to
5.8
A
Typical
• Timer1 Oscillator w/RTCC: 0.7
A,
32 kHz Typical
• Watchdog Timer: 0.33
A,
2V Typical
Peripheral Highlights (cont.):
• Seven Capture/Compare/PWM (CCP) modules
• Two Master Synchronous Serial Port (MSSP) modules
featuring:
- 3-wire SPI (all 4 modes)
- SPI Direct Memory Access (DMA) channel
w/1024 byte count
- I
2
C Master and Slave modes
• 8-Bit Parallel Master Port/Enhanced Parallel Slave Port
• Three Analog Comparators with Input Multiplexing
• 12-Bit Analog-to-Digital (A/D) Converter module:
- Up to 13 input channels
- Auto-acquisition capability
- 10-bit mode for 100 ksps conversion speed
- Conversion available during Sleep
• High/Low-Voltage Detect module
• Charge Time Measurement Unit (CTMU):
- Provides a precise resolution time measurement
for both flow measurement and simple temperature
sensing
- Supports capacitive touch sensing for touch
screens and capacitive switches
• Two Enhanced USART modules:
- Supports RS-485, RS-232 and LIN/J2602
- Auto-wake-up on Start bit
- Auto-Baud Detect (ABD)
Flexible Oscillator Structure:
•
•
•
•
•
•
•
•
Two External Clock modes, Up to 48 MHz (12 MIPS)
Integrated Crystal/Resonator Driver
Low-Power 31 kHz Internal RC Oscillator
Tunable Internal Oscillator (31 kHz to 8 MHz,
±0.15% Typical, ±1% Max.)
Precision 48 MHz PLL or 4x PLL Options
Low-Power Secondary Oscillator using Timer1 @ 32 kHz
Fail-Safe Clock Monitor (FSCM):
- Allows for safe shutdown if any clock stops
Programmable Reference Clock Output Generator
Special Microcontroller Features:
•
•
•
•
•
•
•
•
•
•
•
•
5.5V Tolerant Inputs (digital only pins)
Low-Power, High-Speed CMOS Flash Technology
C Compiler Optimized Architecture for Re-Entrant Code
Priority Levels for Interrupts
Self-Programmable under Software Control
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) with 3 Breakpoints via Two Pins
Operating Voltage Range of 2.0V to 3.6V
On-Chip 2.5V Regulator
Flash Program Memory of 10,000 Erase/Write Cycles
Minimum and 20-Year Data Retention
Peripheral Highlights:
• Peripheral Pin Select:
- Allows independent I/O mapping of many peripherals
- Continuous hardware integrity checking and safety
interlocks prevent unintentional configuration changes
• Hardware Real-Time Clock/Calendar (RTCC):
- Provides clock, calendar and alarm functions
• High-Current Sink/Source 25 mA/25mA
(PORTB and PORTC)
• Four Programmable External Interrupts
• Four Input Change Interrupts
• Three Enhanced Capture/Compare/PWM
(ECCP) modules:
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-shutdown and auto-restart
- Pulse steering control
2010-2017 Microchip Technology Inc.
DS30009974C-page 1
PIC18FX7J13
Pin Diagrams
44-Pin TQFP
RC6/CCP9/PMA5/TX1/CK1/RP17
RC5/SDO1/RP16
RC4/SDI1/SDA1/RP15
RD3/PMD3/RP20
RD2/PMD2/RP19
RD1/PMD1/SDA2
RD0/PMD0/SCL2
RC3/SCK1/SCL1/RP14
RC2/AN11/C2IND/CTPLS/RP13
RC1/CCP8/T1OSI/RP12
NC
= Pins are up to 5.5V tolerant
44
43
42
41
40
39
38
37
36
35
34
Legend:
RPn
represents remappable pins.Some input and output functions are routed through the Peripheral Pin
Select (PPS) module and can be dynamically assigned to any of the RPn pins. For a list of the input and
output functions, see
Table 10-13
and
Table 10-14,
respectively. For details on configuring the PPS module,
see
Section 10.7 “Peripheral Pin Select (PPS)”.
2010-2017 Microchip Technology Inc.
NC
NC
RB4/CCP4/PMA1/KBI0/RP7
RB5/CCP5/PMA0/KBI1/RP8
RB6/CCP6/KBI2/PGC/RP9
RB7/CCP7/KBI3/PGD/RP10
MCLR
RA0/AN0/C1INA/ULPWU/PMA6/RP0
RA1/AN1/C2INA/V
BG
/CTDIN/PMA7/RP1
RA2/AN2/C2INB/C1IND/C3INB/V
REF
-/CV
REF
RA3/AN3/C1INB/V
REF
+
12
13
14
15
16
17
18
19
20
21
22
RC7/CCP10/PMA4/RX1/DT1/RP18
RD4/PMD4/RP21
RD5/PMD5/RP22
RD6/PMD6/RP23
RD7/PMD7/RP24
V
SS
1
V
DD
1
RB0/AN12/C3IND/INT0/RP3
RB1/AN10/C3INC/PMBE/RTCC/RP4
RB2/AN8/C2INC/CTED1/PMA3/REFO/RP5
RB3/AN9/C3INA/CTED2/PMA2/RP6
1
2
3
4
5
6
7
8
9
10
11
PIC18F4XJ13
33
32
31
30
29
28
27
26
25
24
23
NC
RC0/T1OSO/T1CKI/RP11
OSC2/CLKO/RA6
OSC1/CLKI/RA7
V
SS
2
V
DD
2
RE2/AN7/PMCS
RE1/AN6/PMWR
RE0/AN5/PMRD
RA5/AN4/C1INC/SS1/HLVDIN/RP2
V
DDCORE
/V
CAP
DS30009974C-page 3
PIC18FX7J13
Pin Diagrams (Continued)
44-Pin QFN
RC6/CCP9/PMA5/TX1/CK1/RP17
RC5/SDO1/RP16
RC4/SDI1/SDA1/RP15
RD3/PMD3/RP20
RD2/PMD2/RP1
RD1/PMD1/SDA2
RD0/PMD0/SCL2
RC3/SCK1/SCL1/RP14
RC2/AN11/C2IND/CTPLS/RP13
RC1/CCP8/T1OSI/RP12
RC0/T1OSO/T1CKI/RP11
= Pins are up to 5.5V tolerant
44
43
42
41
40
39
38
37
36
35
34
Legend:
RPn
represents remappable pins.Some input and output functions are routed through the Peripheral Pin
Select (PPS) module and can be dynamically assigned to any of the RPn pins. For a list of the input and
output functions, see
Table 10-13
and
Table 10-14,
respectively. For details on configuring the PPS module,
see
Section 10.7 “Peripheral Pin Select (PPS)”.
For the QFN package, it is recommended that the bottom pad be connected to V
SS
.
Note:
2010-2017 Microchip Technology Inc.
RB3/AN9/C3INA/CTED2/PMA2/RP6
NC
RB4/CCP4/PMA1/KBI0/RP7
RB5/CCP5/PMA0/KBI1/RP8
RB6/CCP6/KBI2/PGC/RP9
RB7/CCP7/KBI3/PGD/RP10
MCLR
RA0/AN0/C1INA/ULPWU/PMA6/RP0
RA1/AN1/C2INA/V
BG
/CTDIN/PMA7/RP1
RA2/AN2/C2INB/C1IND/C3INB/V
REF
-/CV
REF
RA3/AN3/C1INB/V
REF
+
12
13
14
15
16
17
18
19
20
21
22
RC7/CCP10/PMA4/RX1/DT1/RP18
RD4/PMD4/RP21
RD5/PMD5/RP22
RD6/PMD6/RP23
RD7/PMD7/RP24
V
SS
1
AV
DD
1
V
DD
1
RB0/AN12/C3IND/INT0/RP3
RB1/AN10/C3INC/PMBE/RTCC/RP4
RB2/AN8/C2INC/CTED1/PMA3/REFO/RP5
1
2
3
4
5
6
7
8
9
10
11
PIC18F4XJ13
33
32
31
30
29
28
27
26
25
24
23
OSC2/CLKO/RA6
OSC1/CLKI/RA7
V
SS
2
AV
SS
1
V
DD
2
AV
DD
2
RE2/AN7/PMCS
RE1/AN6/PMWR
RE0/AN5/PMRD
RA5/AN4/C1INC/SS1/HLVDIN/RP2
V
DDCORE
/V
CAP
DS30009974C-page 4
PIC18FX7J13
Pin Diagrams (Continued)
28-Pin SPDIP/SOIC/SSOP
MCLR
RA0/AN0/C1INA/ULPWU/RP0
RA1/AN1/C2INA/V
BG
/CTDIN/RP1
RA2/AN2/C2INB/C1IND/C3INB/V
REF
-/CV
REF
RA3/AN3/C1INB/V
REF
+
V
DDCORE
/V
CAP
RA5/AN4/C1INC/SS1/HLVDIN/RP2
V
SS
1
OSC1/CLKI/RA7
OSC2/CLKO/RA6
RC0/T1OSO/T1CKI/RP11
RC1/CCP8/T1OSI/RP12
RC2/AN11/C2IND/CTPLS/RP13
RC3/SCK1/SCL1/RP14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
= Pins are up to 5.5V tolerant
RB7/CCP7/KBI3/PGD/RP10
RB6/CCP6/KBI2/PGC/RP9
RB5/CCP5/KBI1/SDA2/RP8
RB4/CCP4/KBI0/SCL2/RP7
RB3/AN9/C3INA/CTED2/RP6
RB2/AN8/C2INC/CTED1/REFO/RP5
RB1/AN10/C3INC/RTCC/RP4
RB0/AN12/C3IND/INT0/RP3
V
DD
V
SS
2
RC7/CCP10/RX1/DT1/RP18
RC6/CCP9/TX1/CK1/RP17
RC5/SDO1/RP16
RC4/SDI1/SDA1/RP15
RA2/AN2/C1INB/C1IND/C3INB/V
REF
-/CV
REF
RA3/AN3/C1INB/V
REF
+
V
DDCORE
/V
CAP
RA5/AN4/C1INC/SS1/HLVDIN/RP2
V
SS
1
OSC1/CLKI/RA7
OSC2/CLKO/RA6
1
2
3
4
5
6
7
RA1/AN1/C2INA/V
BG
/CTDIN/RP1
RA0/AN0/C1INA/ULPWU/RP0
MCLR
RB7/CCP7/KBI3/PGD/RP10
RB6/CCP6/KBI2/PGC/RP9
RB5/CCP5/KBI1/SDA2/RP8
RB4/CCP4/KBI0/SCL2/RP7
28 27 26 25 24 23 22
21
20
19
18
17
16
15
RB3/AN9/C3INA/CTED2/RP6
RB2/AN8/C2INC/CTED1/REFO/RP5
RB1/AN10/C3INC/RTCC/RP4
RB0/AN12/C3IND/INT0/RP3
V
DD
V
SS
2
RC7/CCP10/RX1/DT1/RP18
28-Pin QFN
PIC18F2XJ13
8 9 10 11 12 13 14
RC0/T1OSO/T1CKI/RP11
RC1/CCP8/T1OSI/RP12
RC2/AN11/C2IND/CTPLS/RP13
RC3/SCK1/SCL1/RP14
RC4/SDI1/SDA1/RP15
RC5/SDO1/RP16
RC6/CCP9/TX1/CK1/RP17
Legend:
RPn
represents remappable pins.Some input and output functions are routed through the Peripheral Pin
Select (PPS) module and can be dynamically assigned to any of the RPn pins. For a list of the input and
output functions, see
Table 10-13
and
Table 10-14,
respectively. For details on configuring the PPS module,
see
Section 10.7 “Peripheral Pin Select (PPS)”.
For the QFN package, it is recommended that the bottom pad be connected to V
SS
.
Note:
2010-2017 Microchip Technology Inc.
PIC18F2XJ13
DS30009974C-page 5