PIC32MZ
PIC32MZ
PIC32MZ
Packages
Type LFBGA LQFP
Pin Count 169 288 176
I/O Pins (up to) 120 120 120
Contact/Lead Pitch 0.8 mm 0.8 mm 0.4 mm
Dimensions 11x11 mm 15x15 mm 20x20 mm
Analog Comparators
12-bit ADC Channels
Ethernet
I/O Pins
CTMU
GLCD
SDHC
RTCC
Trace
JTAG
CAN 2.0B
Compare
GPU
PMP
SQI
EBI
I2C
SPI/I2S
UART
Interface (Internal/External)
Program Memory (KB)
DDR2 Controller
(Programmable/
(Programmable/
DMA Channels
DMA Channels
DDR2 SDRAM
DDR2 SDRAM
Memory (KB)
Crypto/RNG
Crypto/RNG
Dedicated)
Dedicated)
Size (MB)
Size (MB)
Devices
Devices
Data
(Programmable/Dedicated)
Program Memory (KB)
DDR2 Controller
DMA Channels
Crypto/RNG
Devices
PIC32MZ1025DAA288 N 8/24
256
PIC32MZ1025DAB288 Y 8/26
1024
PIC32MZ1064DAA288 N 8/24
640
PIC32MZ1064DAB288 Yes Y 8/26
PIC32MZ2025DAA288 (EXT) N 8/24
256
PIC32MZ2025DAB288 Y 8/26
2048
PIC32MZ2064DAA288 N 8/24
640
PIC32MZ2064DAB288 Y 8/26
Ball/Pin Ball/Pin
Full Pin Name Full Pin Name
Number Number
A1 No Connect C5 EBIA2/AN23/C2INC/RPG9/PMA2/RG9
A2 VBUS C6 TDO/AN31/RPF12/RF12
A3 RPF2/SDA3/RF2 C7 EBID7/AN15/PMD7/RE7
A4 EBID1/AN39/PMD1/RE1 C8 AVSS
A5 AN21/RG15 C9 VDDCORE
A6 TDI/AN17/SCK5/RF13 C10 VREF+/CVREF+/AN28/RA10
A7 EBIWE/AN34/RPC3/PMWR/RC3 C11 CVREFOUT/AN5/RPB10/RB10
A8 EBID12/AN10/RPC2/PMD12/RC2 C12 PGED1/AN0/RPB0/CTED2/RB0
A9 EBID10/AN4/RPB8/PMD10/RB8 C13 SOSCI/RPC13(6)/RC13(6)
A10 AN8/RPB3/RB3 D1 TRD3/SDDATA3/SQID3/RA7
A11 EBIA5/AN7/PMA5/RA5 D2 TMS/SDCD/RA0
A12 AN2/C1INB/RB4 D3 USBID
A13 AN1/C2INB/RPB2/RB2 D4 AN20/RH4
B1 D- D5 AN13/C1INC/RPG7/SDA4/RG7
B2 VUSB3V3 D6 AN26/RPE9/RE9
B3 EBID4/AN18/PMD4/RE4 D7 PGEC2/RPB6/RB6
B4 VDDCORE D8 AVSS
B5 AN30/C2IND/RPG8/SCL4/RG8 D9 AVDD
B6 VDDIO D10 VBAT
B7 EBID5/AN12/RPC1/PMD5/RC1 D11 AN45/RPB5/RB5
B8 EBIOE/AN19/RPC4/PMRD/RC4 D12 PGED2/C1INA/AN46/RPB7/RB7
B9 PGEC1/AN9/RPB1/CTED1/RB1 D13 SOSCO/RPC14(6)/T1CK/RC14(6)
B10 AN3/C2INA/RPB15/OCFB/RB15 E1 TRD2/SDDATA2/SQID2/RG14
B11 VREF-/CVREF-/AN27/RA9 E2 TRD0/SDDATA0/SQID0/RG13
B12 EBIA7/AN47/HLVDIN/RPB9/PMA7/RB9 E3 TRD1/SDDATA1/SQID1/RG12
B13 AN6/RB12 E4 TRCLK/SDCK/SQICLK/RA6
C1 D+ E5 AN14/C1IND/SCK2/RG6
C2 VSS E6 AN25/RPE8/RE8
C3 INT0/RH14 E7 AN49/RB11
C4 EBID0/PMD0/RE0 E8 GD20/EBIA22/RJ3
Note 1: The RPn pins can be used by remappable peripherals. See Table 1 and Table 2 for the available peripherals and 12.4 Peripheral Pin
Select (PPS) for restrictions.
2: Every I/O port pin (RAx-RKx) can be used as a change notification pin (CNAx-CNKx). See 12.0 I/O Ports for more information.
3: Shaded pins are 5V tolerant.
4: This pin must be tied to Vss through a 20k resistor in devices without DDR.
5: This pin is a No Connect in devices without DDR.
6: These pins are restricted to input functions only.
Ball/Pin Ball/Pin
Full Pin Name Full Pin Name
Number Number
E9 AN22/RPD14/RD14 H2 SCK4/RD10
E10 AN29/SCK3/RB14 H3 RTCC/RPD0/RD0
E11 TCK/AN24/RA1 H4 VSS1V8
E12 OSC1/CLKI/RC12 H5 VDDR1V8(4)
E13 OSC2/CLKO/RC15 H6 VDDR1V8(4)
F1 SDCMD/SQICS0/RPD4/RD4 H7 VSS
F2 SQICS1/RPD5/RD5 H8 VSS
F3 EBIA6/RPE5/PMA6/RE5 H9 VDDIO
F4 DDRVREF(5) H10 GD13/EBIA18/RK4
F5 VSS H11 EBIA3/AN11/PMA3/RK2
F6 EBID6/AN16/PMD6/RE6 H12 SDWP/EBIRP/RH2
F7 AN48/CTPLS/RB13 H13 EBIA0/PMA0/RJ15
F8 GD18/EBIBS1/RJ10 J1 GD7/EBIA12/RPD12/PMA12/RD12
F9 GD9/EBIBS0/RJ12 J2 GD22/EBIA13/PMA13/RD13
F10 EBIRDY3/AN32/RJ2 J3 RPF8/SCL3/RF8
F11 AN33/SCK6/RD15 J4 VSS1V8
F12 HSYNC/EBICS1/RJ5 J5 VDDR1V8(4)
F13 VSYNC/EBICS0/RJ4 J6 VDDR1V8(4)
G1 SCK1/RD1 J7 VSS
G2 GD10/EBIA14/RPD2/PMA14/PMCS1/RD2 J8 VSS
G3 GD11/EBIA15/RPD3/PMA15/PMCS2/RD3 J9 VDDIO
G4 VSS1V8 J10 GD14/EBIA19/RK5
G5 VSS J11 EBIA1/AN38/PMA1/RK1
G6 VSS J12 EBIA4/AN36/PMA4/RH7
G7 VSS J13 AN35/RH3
G8 VSS K1 MCLR
G9 VDDIO K2 GD16/EBID8/RPF5/SCL5/PMD8/RF5
G10 GD8/EBID11/PMD11/RJ14 K3 GD5/EBIA10/RPF1/PMA10/RF1
G11 GCLK/EBICS2/RJ6 K4 VSS1V8
G12 GD0/EBID13/PMD13/RJ13 K5 VDDR1V8(4)
G13 GEN/EBICS3/RJ7 K6 VDDR1V8(4)
H1 GD2/EBID15/RPD9/PMD15/RD9 K7 Vss
Note 1: The RPn pins can be used by remappable peripherals. See Table 1 and Table 2 for the available peripherals and 12.4 Peripheral Pin
Select (PPS) for restrictions.
2: Every I/O port pin (RAx-RKx) can be used as a change notification pin (CNAx-CNKx). See 12.0 I/O Ports for more information.
3: Shaded pins are 5V tolerant.
4: This pin must be tied to Vss through a 20k resistor in devices without DDR.
5: This pin is a No Connect in devices without DDR.
6: These pins are restricted to input functions only.
Ball/Pin Ball/Pin
Full Pin Name Full Pin Name
Number Number
K8 VSS M5 ERXDV/ECRSDV/RH13
K9 VDDIO M6 ECOL/RH10
K10 EMDIO/RJ1 M7 ETXD3/RH1
K11 ETXEN/RPD6/RD6 M8 ETXD2/RH0
K12 GD23/EBIA16/RK0 M9 ETXD1/RJ9
K13 EBIRDY2/AN37/RH11 M10 ETXCLK/RPD7/RD7
L1 GD6/EBIA11/RPF0/PMA11/RF0 M11 RPA14/SCL1/RA14
L2 GD21/EBIA23/RH15 M12 GD19/EBIA21/RK7
L3 GD17/EBID9/RPF4/SDA5/PMD9/RF4 M13 GD15/EBIA20/RK6
L4 VSS1V8 N1 VDDCORE
L5 VSS1V8 N2 GD3/EBIA8/RPG0/PMA8/RG0
L6 VDDIO N3 EBID2/PMD2/RE2
L7 VDDIO N4 ERXD2/RH6
L8 VDDCORE N5 ECRS/RH12
L9 VDDIO N6 ERXD3/RH9
L10 ETXERR/RJ0 N7 ERXD0/RH8
L11 GD1/EBID14/PMD14/RA4 N8 ERXCLK/EREFCLK/RJ11
L12 SCL2/RA2 N9 ETXD0/RJ8
L13 GD12/EBIA17/RK3 N10 EMDC/RPD11/RD11
M1 ERXERR/RPF3/RF3 N11 RPA15/SDA1/RA15
M2 GD4/EBIA9/RPG1/PMA9/RG1 N12 EBIRDY1/SDA2/RA3
M3 EBID3/RPE3/PMD3/RE3 N13 No Connect
M4 ERXD1/RH5
Note 1: The RPn pins can be used by remappable peripherals. See Table 1 and Table 2 for the available peripherals and 12.4 Peripheral Pin
Select (PPS) for restrictions.
2: Every I/O port pin (RAx-RKx) can be used as a change notification pin (CNAx-CNKx). See 12.0 I/O Ports for more information.
3: Shaded pins are 5V tolerant.
4: This pin must be tied to Vss through a 20k resistor in devices without DDR.
5: This pin is a No Connect in devices without DDR.
6: These pins are restricted to input functions only.
N6
PIC32MZ1025DAA288 F6
PIC32MZ1025DAB288
PIC32MZ1064DAA288
PIC32MZ1064DAB288 N13
PIC32MZ2025DAA288
PIC32MZ2025DAB288 F13
V18
PIC32MZ2064DAA288
PIC32MZ2064DAB288
A18
Polarity Indicator
Ball/Pin Ball/Pin
Full Pin Name Full Pin Name
Number Number
A1 No Connect B17 AN2/C1INB/RB4
A2 DDRUDQS B18 EBIA5/AN7/PMA5/RA5
A3 DDRDM1 C1 DDRDQ8
A4 D- C2 DDRDQ15
A5 VSS C3 DDRDQ9
A6 INT0/RH14 C4 VUSB3V3
A7 RPF2/SDA3/RF2 C5 VBUS
A8 AN21/RG15 C6 USBID
A9 AN14/C1IND/SCK2/RG6 C7 VSS
A10 TDI/AN17/SCK5/RF13 C8 No Connect
A11 TDO/AN31/RPF12/RF12 C9 AN30/C2IND/RPG8/SCL4/RG8
A12 EBID5/AN12/RPC1/PMD5/RC1 C10 AN25/RPE8/RE8
A13 EBIOE/AN19/RPC4/PMRD/RC4 C11 EBID6/AN16/PMD6/RE6
A14 PGEC1/AN9/RPB1/CTED1/RB1 C12 No Connect
A15 EBID10/AN4/RPB8/PMD10/RB8 C13 EBID12/AN10/RPC2/PMD12/RC2
A16 AN8/RPB3/RB3 C14 AN49/RB11
A17 VREF-/CVREF-/AN27/RA9 C15 VREF+/CVREF+/AN28/RA10
A18 No Connect C16 VDDIO
B1 No Connect C17 AN1/C2INB/RPB2/RB2
B2 DDRUDQS C18 AN6/RB12
B3 DDRDQ14 D1 DDRDQ13
B4 D+ D2 DDRDQ10
B5 VSS D3 VSS1V8
B6 EBID4/AN18/PMD4/RE4 D4 TMS/SDCD/RA0
B7 EBID0/PMD0/RE0 D5 VUSB3V3
B8 AN20/RH4 D6 No Connect
B9 EBIA2/AN23/C2INC/RPG9/PMA2/RG9 D7 VDDCORE
B10 AN26/RPE9/RE9 D8 EBID1/AN39/PMD1/RE1
B11 EBID7/AN15/PMD7/RE7 D9 AN13/C1INC/RPG7/SDA4/RG7
B12 No Connect D10 VSS
B13 EBIWE/AN34/RPC3/PMWR/RC3 D11 VSS
B14 PGEC2/RPB6/RB6 D12 VSS
B15 AN48/CTPLS/RB13 D13 VSS
B16 AN3/C2INA/RPB15/OCFB/RB15 D14 VDDCORE
Note 1: The RPn pins can be used by remappable peripherals. See Table 1 and Table 4 for the available peripherals and 12.4 Peripheral Pin
Select (PPS) for restrictions.
2: Every I/O port pin (RAx-RKx) can be used as a change notification pin (CNAx-CNKx). See 12.0 I/O Ports for more information.
3: Shaded pins are 5V tolerant.
4: This pin must be tied to Vss through a 20k resistor when DDR is not connected in the system.
5: This pin is a No Connect when DDR is not connected in the system.
6: These pins are restricted to input functions only.
N6
PIC32MZ1025DAA288 F6
PIC32MZ1025DAB288
PIC32MZ1064DAA288
PIC32MZ1064DAB288 N13
PIC32MZ2025DAA288
PIC32MZ2025DAB288 F13
V18
PIC32MZ2064DAA288
PIC32MZ2064DAB288
A18
Polarity Indicator
Ball/Pin Ball/Pin
Full Pin Name Full Pin Name
Number Number
D15 VDDIO G8 VSS1V8
D16 VDDIO G9 VSS1V8
D17 PGED2/C1INA/AN46/RPB7/RB7 G10 VSS
D18 PGED1/AN0/RPB0/CTED2/RB0 G11 VDDIO
E1 DDRLDQS G12 AVSS
E2 DDRLDQS G13 AVDD
E3 DDRDQ12 G15 VDDIO
E4 TRCLK/SDCK/SQICLK/RA6 G16 No Connect
E15 VDDIO G17 OSC1/CLKI/RC12
E16 EBIA7/AN47/HLVDIN/RPB9/PMA7/RB9 G18 OSC2/CLKO/RC15
E17 AN45/RPB5/RB5 H1 DDRDQ2
E18 CVREFOUT/AN5/RPB10/RB10 H2 DDRDQ5
F1 DDRDQ0 H3 DDRDQ6
F2 DDRDQ7 H4 TRD0/SDDATA0/SQID0/RG13
F3 DDRDQ11 H6 VDDR1V8(4)
F4 TRD3/SDDATA3/SQID3/RA7 H7 VDDR1V8(4)
F6 VSS1V8 H8 VDDR1V8(4)
F7 VSS1V8 H9 VSS1V8
F8 VSS1V8 H10 VSS
F9 VSS H11 VDDIO
F10 VSS H12 VDDIO
F11 VDDIO H13 VDDIO
F12 AVSS H15 VDDIO
F13 AVDD H16 TCK/AN24/RA1
F15 VDDIO H17 SOSCI/RPC13(6)/RC13(6)
F16 VBAT H18 SOSCO/RPC14(6)/T1CK/RC14(6)
F17 No Connect J1 DDRVREF(5)
F18 No Connect J2 No Connect
G1 DDRDQ3 J3 DDRDQ1
G2 DDRDQ4 J4 TRD2/SDDATA2/SQID2/RG14
G3 DDRDM0 J6 VDDR1V8(4)
G4 TRD1/SDDATA1/SQID1/RG12 J7 VDDR1V8(4)
G6 VSS1V8 J8 VDDR1V8(4)
G7 VSS1V8 J9 VSS1V8
Note 1: The RPn pins can be used by remappable peripherals. See Table 1 and Table 4 for the available peripherals and 12.4 Peripheral Pin
Select (PPS) for restrictions.
2: Every I/O port pin (RAx-RKx) can be used as a change notification pin (CNAx-CNKx). See 12.0 I/O Ports for more information.
3: Shaded pins are 5V tolerant.
4: This pin must be tied to Vss through a 20k resistor when DDR is not connected in the system.
5: This pin is a No Connect when DDR is not connected in the system.
6: These pins are restricted to input functions only.
N6
PIC32MZ1025DAA288 F6
PIC32MZ1025DAB288
PIC32MZ1064DAA288
PIC32MZ1064DAB288 N13
PIC32MZ2025DAA288
PIC32MZ2025DAB288 F13
V18
PIC32MZ2064DAA288
PIC32MZ2064DAB288
A18
Polarity Indicator
Ball/Pin Ball/Pin
Full Pin Name Full Pin Name
Number Number
J10 VDDIO L12 VDDIO
J11 VSS L13 VSS
J12 VSS L15 VSS
J13 VSS L16 GEN/EBICS3/RJ7
J15 VDDIO L17 GCLK/EBICS2/RJ6
J16 AN33/SCK6/RD15 L18 HSYNC/EBICS1/RJ5
J17 AN29/SCK3/RB14 M1 DDRRAS
J18 AN22/RPD14/RD14 M2 DDRBA0
K1 DDRCK M3 DDRBA1
K2 DDRCK M4 SCK1/RD1
K3 EBIA6/RPE5/PMA6/RE5 M6 VSS1V8
K4 SDCMD/SQICS0/RPD4/RD4 M7 VSS1V8
K6 VDDR1V8(4) M8 VSS1V8
K7 VDDR1V8(4) M9 VSS1V8
K8 VDDR1V8(4) M10 VSS
K9 VSS1V8 M11 VSS
K10 VDDIO M12 VDDIO
K11 VSS M13 VDDIO
K12 VSS M15 VDDIO
K13 VSS M16 GD0/EBID13/PMD13/RJ13
K15 VSS M17 GD9/EBIBS0/RJ12
K16 EBIRDY3/AN32/RJ2 M18 GD18/EBIBS1/RJ10
K17 GD20/EBIA22/RJ3 N1 DDRODT
K18 VSYNC/EBICS0/RJ4 N2 DDRCS0
L1 DDRWE N3 DDRA2
L2 DDRCKE N4 GD22/EBIA13/PMA13/RD13
L3 DDRA1 N6 VSS1V8
L4 SQICS1/RPD5/RD5 N7 VSS1V8
L6 VDDR1V8(4) N8 VSS1V8
L7 VDDR1V8(4) N9 VSS1V8
L8 VDDR1V8(4) N10 VSS
L9 VSS1V8 N11 VSS
L10 VSS N12 VDDIO
L11 VDDIO N13 VDDIO
Note 1: The RPn pins can be used by remappable peripherals. See Table 1 and Table 4 for the available peripherals and 12.4 Peripheral Pin
Select (PPS) for restrictions.
2: Every I/O port pin (RAx-RKx) can be used as a change notification pin (CNAx-CNKx). See 12.0 I/O Ports for more information.
3: Shaded pins are 5V tolerant.
4: This pin must be tied to Vss through a 20k resistor when DDR is not connected in the system.
5: This pin is a No Connect when DDR is not connected in the system.
6: These pins are restricted to input functions only.
N6
PIC32MZ1025DAA288 F6
PIC32MZ1025DAB288
PIC32MZ1064DAA288
PIC32MZ1064DAB288 N13
PIC32MZ2025DAA288
PIC32MZ2025DAB288 F13
V18
PIC32MZ2064DAA288
PIC32MZ2064DAB288
A18
Polarity Indicator
Ball/Pin Ball/Pin
Full Pin Name Full Pin Name
Number Number
N15 EBIA4/AN36/PMA4/RH7 T5 No Connect
N16 SDWP/EBIRP/RH2 T6 GD11/EBIA15/RPD3/PMA15/PMCS2/RD3
N17 EBIA0/PMA0/RJ15 T7 GD16/EBID8/RPF5/SCL5/PMD8/RF5
N18 GD8/EBID11/PMD11/RJ14 T8 GD4/EBIA9/RPG1/PMA9/RG1
P1 DDRA10 T9 EBID3/RPE3/PMD3/RE3
P2 DDRCAS T10 ERXD2/RH6
P3 DDRA4 T11 ECOL/RH10
P4 RPF8/SCL3/RF8 T12 ETXD3/RH1
P15 GD13/EBIA18/RK4 T13 ETXD1/RJ9
P16 GD23/EBIA16/RK0 T14 No Connect
P17 EBIRDY2/AN37/RH11 T15 ETXCLK/RPD7/RD7
P18 AN35/RH3 T16 RPA14/SCL1/RA14
R1 DDRA0 T17 GD19/EBIA21/RK7
R2 DDRA3 T18 GD15/EBIA20/RK6
R3 DDRA9 U1 DDRA6
R4 VSS1V8 U2 DDRA8
R5 MCLR U3 DDRA13
R6 GD10/EBIA14/RPD2/PMA14/PMCS1/RD2 U4 DDRBA2
R7 VSS U5 GD7/EBIA12/RPD12/PMA12/RD12
R8 VSS U6 GD2/EBID15/RPD9/PMD15/RD9
R9 VDDIO U7 GD5/EBIA10/RPF1/PMA10/RF1
R10 VDDIO U8 ERXERR/RPF3/RF3
R11 VDDCORE U9 GD17/EBID9/RPF4/SDA5/PMD9/RF4
R12 VDDIO U10 ERXD1/RH5
R13 VDDIO U11 ECRS/RH12
R14 VDDIO U12 ERXD0/RH8
R15 GD14/EBIA19/RK5 U13 ERXCLK/EREFCLK/RJ11
R16 GD12/EBIA17/RK3 U14 EMDIO/RJ1
R17 EBIA3/AN11/PMA3/RK2 U15 EMDC/RPD11/RD11
R18 EBIA1/AN38/PMA1/RK1 U16 RPA15/SDA1/RA15
T1 DDRA5 U17 EBIRDY1/SDA2/RA3
T2 DDRA7 U18 SCL2/RA2
T3 DDRA12 V1 No Connect
T4 DDRA14 V2 DDRA11
Note 1: The RPn pins can be used by remappable peripherals. See Table 1 and Table 4 for the available peripherals and 12.4 Peripheral Pin
Select (PPS) for restrictions.
2: Every I/O port pin (RAx-RKx) can be used as a change notification pin (CNAx-CNKx). See 12.0 I/O Ports for more information.
3: Shaded pins are 5V tolerant.
4: This pin must be tied to Vss through a 20k resistor when DDR is not connected in the system.
5: This pin is a No Connect when DDR is not connected in the system.
6: These pins are restricted to input functions only.
N6
PIC32MZ1025DAA288 F6
PIC32MZ1025DAB288
PIC32MZ1064DAA288
PIC32MZ1064DAB288 N13
PIC32MZ2025DAA288
PIC32MZ2025DAB288 F13
V18
PIC32MZ2064DAA288
PIC32MZ2064DAB288
A18
Polarity Indicator
Ball/Pin Ball/Pin
Full Pin Name Full Pin Name
Number Number
V3 DDRA15 V11 ERXDV/ECRSDV/RH13
V4 VDDCORE V12 ERXD3/RH9
V5 RTCC/RPD0/RD0 V13 ETXD2/RH0
V6 SCK4/RD10 V14 ETXD0/RJ8
V7 GD6/EBIA11/RPF0/PMA11/RF0 V15 ETXERR/RJ0
V8 GD21/EBIA23/RH15 V16 ETXEN/RPD6/RD6
V9 GD3/EBIA8/RPG0/PMA8/RG0 V17 GD1/EBID14/PMD14/RA4
V10 EBID2/PMD2/RE2 V18 No Connect
Note 1: The RPn pins can be used by remappable peripherals. See Table 1 and Table 4 for the available peripherals and 12.4 Peripheral Pin
Select (PPS) for restrictions.
2: Every I/O port pin (RAx-RKx) can be used as a change notification pin (CNAx-CNKx). See 12.0 I/O Ports for more information.
3: Shaded pins are 5V tolerant.
4: This pin must be tied to Vss through a 20k resistor when DDR is not connected in the system.
5: This pin is a No Connect when DDR is not connected in the system.
6: These pins are restricted to input functions only.
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:
Microchips 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.
OSC2/CLKO POSC/SOSC
OSC1/CLKI Oscillators Voltage , SS
VDDIOV
Regulator Power-up
FRC Timer MCLR
SOSC SOSC
Oscillator Oscillator Precision
Band Gap Oscillator
VBAT SPLL Reference Start-up Timer
Power
Switch UPLL
VDDIO MPLL USBCLK Power-on
LPRC Reset
INT0 SYSCLK
Oscillator DIVIDERS 6 PORTA
PBCLKx Brown-out
Timing Reset PORTB
DSWDT Generation
Deep Sleep PORTC
PORTD
RTCC
PORTE
DSCTRL PORTF
EVIC Deep Sleep PORTG
PORTH
EJTAG INT
PORTJ
MIPS32
Controller
CRYPTO
HS USB
Ethernet
DMAC
CAN1
CAN2
SQI
EBI
SDHC
I1 I3 I2 T22 I11 T12 I9 T11 I4 T10 T23 I8 I7 I5 I6 T9 T8
T19 I14
System Bus
T15,
T1 T16,
T5 I10 T2 T3 T13 I12 T14 T20, T18 I13 T6 T7
T21
Peripheral Bridge 1 Peripheral Peripheral
Controller
Prefetch
Controller
Controller
Bridge 2 Bridge 3
Cache
SRAM2
SRAM1
Flash
DDR2
Flash
RNG
GPU
LCD
CFG
Timer1-9
PPS
128 I12 T17 I13 OC1-9
128
CVREF
PFM Flash IC1-9
Wrapper SPI1-6
WDT
Comparator
140-bit Wide I2C1-5 1-2
DMT
Dual Panel
Flash Memory 6 S&H
HLVD UART1-6 12-bit ADC
PMP CTMU
Note: Not all features are available on all devices. Refer to Table 1 through Table 4 for the list of features by device.
TABLE 1-7: TIMER1 THROUGH TIMER9 AND RTCC PINOUT I/O DESCRIPTIONS
Pin Number
Pin Buffer
Pin Name 169-pin 176-pin 288-pin Description
Type Type
LFBGA LQFP LFBGA
Timer1 through Timer9
T1CK D13 161 H18 I ST Timer1 External Clock Input
T2CK PPS PPS PPS I ST Timer2 External Clock Input
T3CK PPS PPS PPS I ST Timer3 External Clock Input
T4CK PPS PPS PPS I ST Timer4 External Clock Input
T5CK PPS PPS PPS I ST Timer5 External Clock Input
T6CK PPS PPS PPS I ST Timer6 External Clock Input
T7CK PPS PPS PPS I ST Timer7 External Clock Input
T8CK PPS PPS PPS I ST Timer8 External Clock Input
T9CK PPS PPS PPS I ST Timer9 External Clock Input
Real-Time Clock and Calendar
RTCC(1) H3 79 V5 O Real-Time Clock Alarm/Seconds Output
Legend: CMOS = CMOS-compatible input or output Analog = Analog input P = Power
ST = Schmitt Trigger input with CMOS levels O = Output I = Input
TTL = Transistor-transistor Logic input buffer PPS = Peripheral Pin Select
Note 1: RTCC pin function in not available during VBAT operation.
Voltage Reference
DDRVREF F4 66 J11 P 1.8V Voltage Reference to DDR2 SDRAM memory.
(Note 3) (Note 3)
VREF+ C10 2 C15 I Analog Analog Voltage Reference (High) Input
VREF- B11 1 A17 I Analog Analog Voltage Reference (Low) Input
Legend: CMOS = CMOS-compatible input or output Analog = Analog input P = Power
ST = Schmitt Trigger input with CMOS levels O = Output I = Input
TTL = Transistor-transistor Logic input buffer PPS = Peripheral Pin Select
Note 1: The metal plane at the bottom of the device is internally tied to VSS1V8 and must be connected to 1.8V ground externally.
2: This pin must be tied to Vss through a 20k resistor in devices without DDR.
3: This pin is a No Connect in devices without DDR.
L1(4)
0.01 F 0.01 F 0.01 F 0.01 F 0.01 F
R
0.01 F 0.01 F
R1
0.1 F 0.1 F MCLR
C
Note 1: There are multiple power and ground pairs and minimum connection rules apply for each power source (i.e., VDDIO, VDDCORE,
AVDD, VUSB3V3, VBAT, VDDR1V8) and each ground source (VSS, AVSS, VSS1V8).
2: Voltage on VDDIO must always be greater than or equal to VDDCORE during power-up.
3: If the USB module is not used, this pin must be connected to VSS.
4: As an option, instead of a hard-wired connection, an inductor (L1) can be substituted between VDDIO and AVDD to improve ADC
noise rejection. The inductor impedance should be less than 1 and the inductor capacity greater than 10 mA.
Where: F C NV
f = -------------
- (i.e., ADC conversion rate/2)
2
1 -
f = -----------------------
2 LC
1 - 2
L = ---------------------
2f C
10k
The TMS, TDO, TDI and TCK pins are used for testing
R R1(1) and debugging according to the Joint Test Action
MCLR Group (JTAG) standard. It is recommended to keep the
0.1 F(2) 1 k
C trace length between the JTAG connector and the
PIC32 JTAG pins on the device as short as possible. If the
1 JTAG connector is expected to experience an ESD
5
4
PGECx(3) event, a series resistor is recommended, with the value
ICSP
2.6 Trace
2.4 ICSP Pins
The trace pins can be connected to a hardware
The PGECx and PGEDx pins are used for In-Circuit
trace-enabled programmer to provide a compressed
Serial Programming (ICSP) and debugging pur-
real-time instruction trace. When used for trace, the
poses. It is recommended to keep the trace length
TRD3, TRD2, TRD1, TRD0 and TRCLK pins should
between the ICSP connector and the ICSP pins on
be dedicated for this use. The trace hardware
the device as short as possible. If the ICSP connec-
requires a 22 Ohm series resistor between the trace
tor is expected to experience an ESD event, a series
pins and the trace connector.
resistor is recommended, with the value in the range
of a few tens of Ohms, not to exceed 100 Ohms.
SQI
PIC32MZ Flash
50 Device
Traces VDD
0.01 F
Ferrite
- Higher-priority signals should have the shortest Chips
traces
0.1 F 0.1 F
- Follow vendor-recommended layout guidelines for
the DDR2 interface
VDD
VSS
VDD
VSS
VDD
VSS
PIC32
GD<23:0>(1)
GCLK
GLCD I/F
GLCD HSYNC DISPLAY
VSYNC
System Bus GEN
RAM(2)
GPU
DDRCS0
DDRCK, DDRCK
DDR2 SDRAM Controller I/F
DDRUDQS, DDRUDQS
DDRLDQS, DDRLDQS
ODT
I-Cache
Decode microMIPS I-Cache
PBCLK7
(MIPS32/microMIPS) Controller
GPR
(8 sets)
Execution Unit MMU
BIU System Bus
(TLB)
ALU/Shift Enhanced MDU
Atomic/LdSt (with DSP ASE)
DSP ASE
D-Cache
Controller
Debug/Profiling D-Cache
System System Break Points
Interface Coprocessor iFlowtrace
Fast Debug Channel
Interrupt Performance Counters Power
Interface Sampling
Secure Debug Management
bit 31 Reserved: This bit is hardwired to 1 to indicate the presence of the Config1 register.
bit 30-25 Unimplemented: Read as 0
bit 24 ISP: Instruction Scratch Pad RAM bit
0 = Instruction Scratch Pad RAM is not implemented
bit 23 DSP: Data Scratch Pad RAM bit
0 = Data Scratch Pad RAM is not implemented
bit 22 UDI: User-defined bit
0 = CorExtend User-Defined Instructions are not implemented
bit 21 SB: SimpleBE bit
1 = Only simple byte enables are allowed on the internal bus interface
bit 20 MDU: Multiply/Divide Unit bit
0 = Fast, high-performance MDU
bit 19 Unimplemented: Read as 0
bit 18-17 MM<1:0>: Merge Mode bits
10 = Merging is allowed
bit 16 BM: Burst Mode bit
0 = Burst order is sequential
bit 15 BE: Endian Mode bit
0 = Little-endian
bit 14-13 AT<1:0>: Architecture Type bits
00 = MIPS32
bit 12-10 AR<2:0>: Architecture Revision Level bits
001 = MIPS32 Release 2
bit 9-7 MT<2:0>: MMU Type bits
001 = microAptiv MPU Microprocessor core uses a TLB-based MMU
bit 6-3 Unimplemented: Read as 0
bit 2-0 K0<2:0>: Kseg0 Coherency Algorithm bits
010 = Uncached
bit 31 Reserved: This bit is hardwired to a 1 to indicate the presence of the Config2 register.
bit 30-25 MMU Size<5:0>: Contains the number of TLB entries minus 1
011111 = 32 TLB entries
bit 24-22 IS<2:0>: Instruction Cache Sets bits
011 = Contains 512 instruction cache sets per way
bit 21-19 IL<2:0>: Instruction-Cache Line bits
011 = Contains instruction cache line size of 16 bytes
bit 18-16 IA<2:0: Instruction-Cache Associativity bits
011 = Contains 4-way instruction cache associativity
bit 15-13 DS<2:0>: Data-Cache Sets bits
011 = Contains 512 data cache sets per way
bit 12-10 DL<2:0>: Data-Cache Line bits
011 = Contains data cache line size of 16 bytes
bit 9-7 DA<2:0>: Data-Cache Associativity bits
011 = Contains the 4-way set associativity for the data cache
bit 6-5 Unimplemented: Read as 0
bit 4 PC: Performance Counter bit
1 = The processor core contains Performance Counters
bit 3 WR: Watch Register Presence bit
1 = Four Watch registers are present
bit 2 CA: Code Compression Implemented bit
0 = No MIPS16e present
bit 1 EP: EJTAG Present bit
1 = Core implements EJTAG
bit 0 FP: Floating Point Unit bit
0 = Floating Point Unit is not implemented
bit 31 Reserved: This bit is hardwired as 1 to indicate the presence of the Config4 register
bit 30-23 Unimplemented: Read as 0
bit 22-21 IPLW<1:0>: Width of the Status IPL and Cause RIPL bits
01 = IPL and RIPL bits are 8-bits in width
bit 20-18 MMAR<2:0>: microMIPS Architecture Revision Level bits
000 = Release 1
bit 17 MCU: MIPS MCU ASE Implemented bit
1 = MCU ASE is implemented
bit 16 ISAONEXC: ISA on Exception bit(1)
1 = microMIPS is used on entrance to an exception vector
0 = MIPS32 ISA is used on entrance to an exception vector
bit 15-14 ISA<1:0>: Instruction Set Availability bits(1)
11 = Both MIPS32 and microMIPS are implemented; microMIPS is used when coming out of reset
10 = Both MIPS32 and microMIPS are implemented; MIPS32 ISA used when coming out of reset
bit 13 ULRI: UserLocal Register Implemented bit
1 = UserLocal Coprocessor 0 register is implemented
bit 12 RXI: RIE and XIE Implemented in PageGrain bit
1 = RIE and XIE bits are implemented
bit 11 DSP2P: MIPS DSP ASE Revision 2 Presence bit
1 = DSP Revision 2 is present
bit 10 DSPP: MIPS DSP ASE Presence bit
1 = DSP is present
bit 9 Unimplemented: Read as 0
bit 8 ITL: Indicates that iFlowtrace hardware is present
1 = The iFlowtrace is implemented in the core
bit 7 Unimplemented: Read as 0
bit 6 VEIC: External Vector Interrupt Controller bit
1 = Support for an external interrupt controller is implemented.
bit 5 VINT: Vector Interrupt bit
1 = Vector interrupts are implemented
bit 4 SP: Small Page bit
0 = 4 KB page size
bit 3 CDMM: Common Device Memory Map bit
1 = CDMM is implemented
bit 2-1 Unimplemented: Read as 0
bit 0 TL: Trace Logic bit
0 = Trace logic is not implemented (this is old trace logic, which is replaced by iFlowtrace (ITL bit))
Note 1: These bits are set based on the value of the BOOTISA Configuration bit (DEVCFG0<6>).
Legend: r = Reserved
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Virtual Physical
Memory Map(1) Memory Map(1)
0xFFFFFFFF 0xFFFFFFFF
Reserved
(not cacheable)
0xF4000000
0xF3FFFFFF External Memory via
KSEG3(3)
0xF0000000 SQI
Reserved Reserved
0xE4000000
0xE3FFFFFF External Memory via
0xE0000000 EBI
Reserved
0xD4000000 0x34000000
0xD3FFFFFF External Memory via (cacheable) 0x33FFFFFF
KSEG2(3)
Reserved
0x1F900000
Reserved
KSEG1
0x1F8FFFFF
SFRs
Program Flash (see Table 4-2)
0xBD000000 (see Table 4-1) 0x1F800000
Reserved
Reserved
DDR2 SDRAM(4)
0xA8000000 (see Table 4-1)
Reserved Reserved
0x9FC74000
0x9FC73FFF Boot Flash
0x9FC00000 (see Figure 4-2)
DDR2 SDRAM(4)
Reserved (see Table 4-1)
DDR2 SDRAM(4)
(see Table 4-1) RAM(2)
0x88000000
(see Table 4-1)
Reserved
0x00000000
RAM(2)
0x80000000 (see Table 4-1)
Reserved
0x00000000
Sequence/Configuration Space(3)
0x1FC50000 Crypto 0x5000
0x1FC4FF00
USB 0x3000
Boot Flash 1 SQI1 0x2000
0x1FC40000 EBI 0x1000
Prefetch 0x0000
Reserved
0x1FC34000 DSCTRL 0x0200
0xBF8C0000
RTCC 0x0000
(5) 0x1FC30000 USBCR
Unused Configuration Space 0x4000
0x1FC2FF00
Ethernet 0xBF880000 0x2000
Upper Boot Alias CAN1 and CAN2 0x0000
0x1FC20000
PORTA-PORTK 0xBF860000 0x0000
Reserved CTMU 0xC200
0x1FC14000 Comparator 1, 2 0xC000
ADC 0xB000
0x1FC10000 0xBF840000
Configuration Space(2,3) OC1-OC9 0x4000
0x1FC0FF00
IC1-IC9 0x2000
Lower Boot Alias Timer1-Timer9 0x0000
0x1FC00000
PMP 0xE000
Note 1: Memory areas are not shown to scale. UART1-UART6 0x2000
0xBF820000
2: Memory locations 0x1FC0FF40 SPI1-SPI6 0x1000
through 0x1FC0FFFC are used to
initialize Configuration registers (see I2C1-I2C5 0x0000
Section 41.0 Special Features). DMA 0x1000
3: Refer toSection 4.1.1 Boot Flash 0xBF810000
Sequence and Configuration
Interrupt Controller 0x0000
Spaces for more information. HLVD 0x1800
4: Memory locations 0x1FC54020 and
PPS 0x1400
0x1FC54024 contain a unique device
serial number (see Section 41.0 Oscillator 0x1200
Special Features).
CVREF 0x0E00
5: This configuration space cannot be 0xBF800000
used for executing code in the upper Deadman Timer 0x0A00
boot alias. Watchdog Timer 0x0800
Flash Controller 0x0600
Configuration 0x0000
Note 1: Refer to 4.4 System Bus Arbitration
for important legal information.
Virtual Address
Bit Range
(BFC4_#)
All Reset
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
FF3C ABF1DEVCFG4
31:0 xxxx
FF40 ABF1DEVCFG3
31:0 xxxx
FF44 ABF1DEVCFG2
31:0 xxxx
FF48 ABF1DEVCFG1
31:0 xxxx
FF4C ABF1DEVCFG0
31:0 xxxx
FF50 ABF1DEVCP3
31:0 xxxx
FF54 ABF1DEVCP2
31:0 Note: See Table 41-2 for the bit descriptions. xxxx
FF58 ABF1DEVCP1
31:0 xxxx
FF5C ABF1DEVCP0
31:0 xxxx
FF60 ABF1DEVSIGN3
31:0 xxxx
FF64 ABF1DEVSIGN2
31:0 xxxx
FF68 ABF1DEVSIGN1
31:0 xxxx
FF6C ABF1DEVSIGN0
31:0 xxxx
31:16 CSEQ<15:0> xxxx
FF70 ABF1SEQ3
15:0 TSEQ<15:0> xxxx
31:16 xxxx
FFF4 ABF1SEQ2
15:0 xxxx
31:16 xxxx
FF78 ABF1SEQ1
15:0 xxxx
31:16 xxxx
FF7C ABF1SEQ0
15:0 xxxx
FFBC BF1DEVCFG4 31:0 xxxx
FFC0 BF1DEVCFG3 31:0 xxxx
FFC4 BF1DEVCFG2 31:0 xxxx
FFC8 BF1DEVCFG1 31:0 xxxx
FFCC BF1DEVCFG0 31:0 xxxx
FFD0 BF1DEVCP3 31:0 xxxx
FFD4 BF1DEVCP2 31:0 Note: See Table 41-1 for the bit descriptions. xxxx
FFD8 BF1DEVCP1 31:0 xxxx
2015-2017 Microchip Technology Inc.
Bits
Virtual Address
All Resets
Bit Range
(BFC6_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
FF3C ABF2DEVCFG4
31:0 xxxx
FF40 ABF2DEVCFG3
31:0 xxxx
FF44 ABF2DEVCFG2
31:0 xxxx
FF48 ABF2DEVCFG1
31:0 xxxx
FF4C ABF2DEVCFG0
31:0 xxxx
FF50 ABF2DEVCP3
31:0 xxxx
FF54 ABF2DEVCP2
31:0 Note: See Table 41-2 for the bit descriptions. xxxx
FF58 ABF2DEVCP1
31:0 xxxx
FF5C ABF2DEVCP0
31:0 xxxx
FF60 ABF2DEVSIGN3
31:0 xxxx
FF64 ABF2DEVSIGN2
31:0 xxxx
FF68 ABF2DEVSIGN1
31:0 xxxx
FFF0 BF2SEQ3
15:0 TSEQ<15:0> xxxx
31:16 xxxx
FFF4 BF2SEQ2
15:0 xxxx
31:16 xxxx
FFF8 BF2SEQ1
15:0 xxxx
31:16 xxxx
FFFC BF2SEQ0
15:0 xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
PIC32MZ Graphics (DA) Family
Note: The BFxSEQ0 through BFxSEQ2 and ABFxSEQ0 through ABFxSEQ2 registers are used for Quad Word
programming operation when programming the BFxSEQ3/ABFxSEQ3 registers, and do not contain any
valid information.
DDRCK
DLL Clock
DDRCK
Buffer
Bank 3
DDRCKE Bank 2
Bank 1
Bank 0
Control
DDRCS0 Signal
DDRRAS Command Generator
DDRCAS Decoder
DDRWE
DDRODT
DDRDQ<15:0>
DDRA<0> DDRLDQS
Mode Memory
Register Array ODT DDRLDQS
DDRA<9:0> Control
DDRA<11> Address DDRUDQS
DDRA<12> Buffer DDRUDQS
DDRBA0
DDRBA1 DDRLDM
DDRUDM
Refresh Column
Counter Counter
Initiator ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Target
Number DMA DMA Ethernet Ethernet Flash
Name CPU USB CAN1 CAN2 SQI1 Crypto GLCD GPU SDHC
Read Write Read Write Controller
Flash Memory:
Program Flash
1 X X X X X X X
Boot Flash
Prefetch Module
2 RAM Bank 1 Memory X X X X X X X X X X X X X X
3 RAM Bank 2 Memory X X X X X X X X X X X X X X
Peripheral Set 1:
System Control
Flash Control
DMT
CVREF
5 X
PPS Input
PPS Output
Interrupts
DMA
13 RNG Module X
14 Graphics LCD Controller X
15 External Memory via DDR2 and DDR2 Target 0 X
16 External Memory via DDR2 and DDR2 Targets 1 and 2 X X X X X X X X X X X
17 External Memory via DDR2 and DDR2 Targets 3 and 4 X(1) X(1)
Note 1: The GLCD and GPU are directly connected to the DDR2 SDRAM Controller to use DDR2 SDRAM for frame buffers. Arbitration control is done through the DDR2 SDRAM Controller arbitration engine.
Refer to Section 55. DDR2 SDRAM Controller (DS60001321) in the PIC32 Family Reference Manual for additional information.
DS60001361E-page 66
TABLE 4-6: INITIATORS TO TARGETS ACCESS ASSOCIATION (CONTINUED)
Read Write
Target
Target Description Permission Permission
Protection Region Base Physical Region Size
(see Note 5) Region Priority Priority (GROUP3, (GROUP3,
Number Name (BASE<21:0>) Start (SIZE<4:0>) Name Name
Size (PRI) Level GROUP2, GROUP2,
(see Note 2) Address (see Note 3)
GROUP1, GROUP1,
GROUP0) GROUP0)
0 System Bus SBT0REG0 R 0x1F8F0000 R 64 KB 0 SBT0RD0 0,1,1,1 SBT0WR0 0,1,1,1
SBT0REG1 R 0x1F8F8000 R 32 KB 3 SBT0RD1 0,0,0,1 SBT0WR1 0,0,0,1
1 Flash Memory(6): SBT1REG0 R 0x1D000000 R(4) R(4) 0 SBT1RD0 0,0,0,0 SBT1WR0 0,0,0,0
Program Flash SBT1REG2 R 0x1F8E0000 R 4 KB 1 2 SBT1RD2 R/W(1) SBT1WR2 R/W(1)
Boot Flash Prefetch
SBT1REG3 R/W R/W R/W R/W 1 2 SBT1RD3 0,0,0,0 SBT1WR3 0,0,0,0
SBT1REG4 R/W R/W R/W R/W 1 2 SBT1RD4 0,0,0,0 SBT1WR4 0,0,0,0
SBT1REG5 R/W R/W R/W R/W 1 2 SBT1RD5 0,0,0,0 SBT1WR5 0,0,0,0
SBT1REG6 R/W R/W R/W R/W 1 2 SBT1RD6 0,0,0,0 SBT1WR6 0,0,0,0
SBT1REG7 R/W R/W R/W R/W 0 1 SBT1RD7 0,0,0,0 SBT1WR7 0,0,0,0
SBT1REG8 R/W R/W R/W R/W 0 1 SBT1RD8 0,0,0,0 SBT1WR8 0,0,0,0
2 RAM Bank 1 Memory SBT2REG0 R 0 R(4) R(4) 0 SBT2RD0 R/W(1) SBT2WR0 R/W(1)
SBT2REG1 R/W R/W R/W R/W 3 SBT2RD1 R/W(1) SBT2WR1 R/W(1)
SBT2REG2 R/W R/W R/W R/W 0 1 SBT2RD2 R/W(1) SBT2WR2 R/W(1)
(4) (4) (4) (4) (1)
3 RAM Bank 2 Memory SBT3REG0 R R R R 0 SBT3RD0 R/W SBT3WR0 R/W(1)
SBT3REG1 R/W R/W R/W R/W 3 SBT3RD1 R/W(1) SBT3WR1 R/W(1)
SBT3REG2 R/W R/W R/W R/W 0 1 SBT3RD2 R/W(1) SBT3WR2 R/W(1)
(1)
4 External Memory via DDR2 and SBT4REG0 R 0x08000000 R R(4) 0 SBT4RD0 R/W SBT4WR0 R/W(1)
DDR2 Target 0 SBT4REG1 R/W R/W R/W R/W 3 SBT4RD1 R/W(1) SBT4WR1 R/W(1)
SBT4REG2 R/W R/W R/W R/W 1 2 SBT4RD2 R/W(1) SBT4WR2 R/W(1)
SBT4REG3 R/W R/W R/W R/W 1 2 SBT4RD3 R/W(1) SBT4WR3 R/W(1)
SBT4REG4 R/W R/W R/W R/W 1 2 SBT4RD4 R/W(1) SBT4WR4 R/W(1)
5 External Memory via DDR2 and SBT5REG0 R 0x08000000 R R(4) 0 SBT5RD0 R/W(1) SBT5WR0 R/W(1)
DDR2 Targets 1 and 2 R/W(1) R/W(1)
2015-2017 Microchip Technology Inc.
Read Write
Target
Target Description Permission Permission
Protection Region Base Physical Region Size
(see Note 5) Region Priority Priority (GROUP3, (GROUP3,
Number Name (BASE<21:0>) Start (SIZE<4:0>) Name Name
Size (PRI) Level GROUP2, GROUP2,
(see Note 2) Address (see Note 3)
GROUP1, GROUP1,
GROUP0) GROUP0)
6 External Memory via EBI and EBI SBT6REG0 R 0x20000000 R 64 MB 0 SBT6RD0 R/W(1) SBT6WR0 R/W(1)
Module(6) SBT6REG2 R 0x1F8EC000 R 4 KB 0 1 SBT6RD2 R/W (1)
SBT6WR2 R/W(1)
7 System Controller SBT7REG0 R 0x1F800000 R 0 SBT7RD0 R/W(1) SBT7WR0 R/W(1)
Flash Controller SBT7REG1 R/W R/W R/W R/W 3 SBT7RD1 R/W(1) SBT7WR1 R/W(1)
(1)
DMT/WDT SBT7REG2 R/W R/W R/W R/W 0 1 SBT7RD2 R/W SBT7WR2 R/W(1)
CVREF
PPS Input
PPS Output
Interrupts
DMA
Legend: R = Read; R/W = Read/Write; x in a register name = 0-13; y in a register name = 0-8.
Note 1: Reset values for these bits are 0, 1, 1, 1, respectively.
2: The BASE<21:0> bits must be set to the corresponding Physical Address and right shifted by 10 bits. For Read-only bits, this value is set by hardware on Reset.
3: The SIZE<4:0> bits must be set to the corresponding Region Size, based on the following formula: Region Size = 2(SIZE-1) x 1024 bytes. For read-only bits, this value is set by hardware on Reset.
4: Refer to the Device Memory Map (Figure 4-1) for specific device memory sizes and start addresses.
5: See Table 4-2 for information on specific target memory size and start addresses.
6: The SBTxREG1 SFRs are reserved, and therefore, are not listed in this table for this target.
7: The x' in the SBTxREGy, SBTxRDy, and SBTxWRy registers represents the target protection number and not the actual target number (e.g., for SQI x = 13 and not 11, whereas 11 is the actual
target number).
DS60001361E-page 70
TABLE 4-8: SYSTEM BUS TARGETS AND ASSOCIATED PROTECTION REGISTERS (CONTINUED)
Read Write
Target
Target Description Permission Permission
Protection Region Base Physical Region Size
(see Note 5) Region Priority Priority (GROUP3, (GROUP3,
Number Name (BASE<21:0>) Start (SIZE<4:0>) Name Name
Size (PRI) Level GROUP2, GROUP2,
(see Note 2) Address (see Note 3)
GROUP1, GROUP1,
GROUP0) GROUP0)
14 DSCTRL SBT14REG0 R 0x1F8C0000 R 4 KB 0 SBT14RD0 R/W(1) SBT14WR0 R/W(1)
RTCC SBT14REG1 R/W R/W R/W R/W 3 SBT14RD1 R/W(1) SBT14WR1 R/W(1)
(1)
15 USB SBT15REG0 R 0x1F8E0000 R 4 KB 0 SBT15RD0 R/W SBT15WR0 R/W(1)
Crypto R 0x1F8E5000 R 4 KB 0 R/W(1) R/W(1)
RNG R 0x1F8E6000 R 4 KB 0 R/W(1) R/W(1)
SDHC R 0x1F8EC000 R 4 KB 0 R/W(1) R/W(1)
16 External Memory via DDR2 and SBT16REG0 R 0x08000000 R R(4) 0 SBT16RD0 R/W(1) SBT16WR0 R/W(1)
DDR2 Targets 3 and 4 SBT16REG1 R/W R/W R/W R/W 3 SBT16RD1 R/W (1)
SBT16WR1 R/W(1)
SBT16REG2 R/W R/W R/W R/W 1 2 SBT16RD2 R/W(1) SBT16WR2 R/W(1)
SBT16REG3 R/W R/W R/W R/W 1 2 SBT16RD3 R/W(1) SBT16WR3 R/W(1)
(1)
SBT16REG4 R/W R/W R/W R/W 1 2 SBT16RD4 R/W SBT16WR4 R/W(1)
Legend: R = Read; R/W = Read/Write; x in a register name = 0-13; y in a register name = 0-8.
Note 1: Reset values for these bits are 0, 1, 1, 1, respectively.
2: The BASE<21:0> bits must be set to the corresponding Physical Address and right shifted by 10 bits. For Read-only bits, this value is set by hardware on Reset.
3: The SIZE<4:0> bits must be set to the corresponding Region Size, based on the following formula: Region Size = 2(SIZE-1) x 1024 bytes. For read-only bits, this value is set by hardware on Reset.
4: Refer to the Device Memory Map (Figure 4-1) for specific device memory sizes and start addresses.
5: See Table 4-2 for information on specific target memory size and start addresses.
6: The SBTxREG1 SFRs are reserved, and therefore, are not listed in this table for this target.
7: The x' in the SBTxREGy, SBTxRDy, and SBTxWRy registers represents the target protection number and not the actual target number (e.g., for SQI x = 13 and not 11, whereas 11 is the actual
target number).
2015-2017 Microchip Technology Inc.
TABLE 4-9: SYSTEM BUS VIOLATION FLAG REGISTER MAP
2015-2017 Microchip Technology Inc.
Virtual Address
Bits
Bit Range
(BFxx_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note: For reset values listed as xxxx, please refer to Table 4-8 for the actual reset values.
TABLE 4-11: SYSTEM BUS TARGET PROTECTION GROUP 1 REGISTER MAP
2015-2017 Microchip Technology Inc.
Virtual Address
Bits
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note: For reset values listed as xxxx, please refer to Table 4-8 for the actual reset values.
TABLE 4-12: SYSTEM BUS TARGET PROTECTION GROUP 2 REGISTER MAP
2015-2017 Microchip Technology Inc.
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
8898 SBT2WR2
15:0 GROUP3 GROUP2 GROUP1 GROUP0 xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note: For reset values listed as xxxx, please refer to Table 4-8 for the actual reset values.
TABLE 4-13: SYSTEM BUS TARGET PROTECTION GROUP 3 REGISTER MAP
DS60001361E-page 76
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
9098 SBT4WR2
15:0 GROUP3 GROUP2 GROUP1 GROUP0 xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note: For reset values listed as xxxx, please refer to Table 4-8 for the actual reset values.
DS60001361E-page 78
TABLE 4-14: SYSTEM BUS TARGET PROTECTION GROUP 4 REGISTER MAP (CONTINUED)
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 xxxx
90B0 SBT4RD3
15:0 GROUP3 GROUP2 GROUP1 GROUP0 xxxx
31:16 xxxx
90B8 SBT4WR3
15:0 GROUP3 GROUP2 GROUP1 GROUP0 xxxx
31:16 BASE<21:6> xxxx
90C0 SBT4REG4
15:0 BASE<5:0> PRI SIZE<4:0> xxxx
31:16 xxxx
90D0 SBT4RD4
15:0 GROUP3 GROUP2 GROUP1 GROUP0 xxxx
31:16 xxxx
90D8 SBT4WR4
15:0 GROUP3 GROUP2 GROUP1 GROUP0 xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note: For reset values listed as xxxx, please refer to Table 4-8 for the actual reset values.
2015-2017 Microchip Technology Inc.
TABLE 4-15: SYSTEM BUS TARGET PROTECTION GROUP 5 REGISTER MAP
2015-2017 Microchip Technology Inc.
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
9498 SBT5WR2
15:0 GROUP3 GROUP2 GROUP1 GROUP0 xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note: For reset values listed as xxxx, please refer to Table 4-8 for the actual reset values.
DS60001361E-page 80
TABLE 4-15: SYSTEM BUS TARGET PROTECTION GROUP 5 REGISTER MAP (CONTINUED)
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF8F_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF90_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF90_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF90_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note: For reset values listed as xxxx, please refer to Table 4-8 for the actual reset values.
TABLE 4-20: SYSTEM BUS TARGET PROTECTION GROUP 10 REGISTER MAP
2015-2017 Microchip Technology Inc.
Bit Range
(BF90_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF90_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note: For reset values listed as xxxx, please refer to Table 4-8 for the actual reset values.
TABLE 4-22: SYSTEM BUS TARGET PROTECTION GROUP 12 REGISTER MAP
2015-2017 Microchip Technology Inc.
Bit Range
(BF90_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF91_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note: For reset values listed as xxxx, please refer to Table 4-8 for the actual reset values.
TABLE 4-24: SYSTEM BUS TARGET PROTECTION GROUP 14 REGISTER MAP
2015-2017 Microchip Technology Inc.
Virtual Address
Bits
Bit Range
(BF91_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF91_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Virtual Address
Bits
Bit Range
(BF92_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bit Range
(BF92_#)
Register
Resets
Name
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note 1: System Bus 0 represents an internal sub-system element and should be treated as a general System Bus
violation.
Note: All errors are cleared at the source (i.e., SBTxELOG1, SBTxELOG2, SBTxECLRS, or SBTxECLRM
registers).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note 1: System Bus 1 represents an internal sub-system element and should be treated as a general System Bus
violation.
2: This bit reports violations on Targets 14 (GLCD), 18 (GPU), 20 (DDR2PHY) and 21 (DDR2SFR).
Note: All errors are cleared at the source (i.e., SBTxELOG1, SBTxELOG2, SBTxECLRS, or SBTxECLRM
registers).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note 1: System Bus 2 represents an internal sub-system element and should be treated as a general System Bus vio-
lation.
2: This bit reports violations on Targets 10 (USB), 12 (Crypto), 13 (RNG) and 19 (SDHC).
Note: All errors are cleared at the source (i.e., SBTxELOG1, SBTxELOG2, SBTxECLRS, or SBTxECLRM registers).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note 1: System Bus 3 represents an internal sub-system element and should be treated as a general System Bus
violation.
Note: All errors are cleared at the source (i.e., SBTxELOG1, SBTxELOG2, SBTxECLRS, or SBTxECLRM
registers).
Note: Refer to Table 4-8 for the list of available targets and their descriptions.
Note: Refer to Table 4-8 for the list of available targets and their descriptions.
REGISTER 4-7: SBTxELOG2: SYSTEM BUS TARGET x ERROR LOG REGISTER 2 (x = 0-13)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
15:8
U-0 U-0 U-0 U-0 U-0 U-0 R-0 R-0
7:0
GROUP<1:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note: Refer to Table 4-8 for the list of available targets and their descriptions.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note: Refer to Table 4-8 for the list of available targets and their descriptions.
REGISTER 4-9: SBTxECLRS: SYSTEM BUS TARGET x SINGLE ERROR CLEAR REGISTER
(x = 0-13)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
15:8
U-0 U-0 U-0 U-0 U-0 U-0 U-0 R-0
7:0
CLEAR
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note: Refer to Table 4-8 for the list of available targets and their descriptions.
REGISTER 4-10: SBTxECLRM: SYSTEM BUS TARGET x MULTIPLE ERROR CLEAR REGISTER
(x = 0-13)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
15:8
U-0 U-0 U-0 U-0 U-0 U-0 U-0 R-0
7:0
CLEAR
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note: Refer to Table 4-8 for the list of available targets and their descriptions.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note 1: Refer to Table 4-8 for the list of available targets and their descriptions.
2: For some target regions, certain bits in this register are read-only with preset values. See Table 4-8 for
more information.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note 1: Refer to Table 4-8 for the list of available targets and their descriptions.
2: For some target regions, certain bits in this register are read-only with preset values. See Table 4-8 for
more information.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Note 1: Refer to Table 4-8 for the list of available targets and their descriptions.
2: For some target regions, certain bits in this register are read-only with preset values. See Table 4-8 for
more information.
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0600 NVMCON(1)
15:0 WR WREN WRERR LVDERR PFSWAP BFSWAP NVMOP<3:0> 0000
31:16 0000
0610 NVMKEY NVMKEY<31:0>
15:0 0000
31:16 0000
0620 NVMADDR(1) NVMADDR<31:0>
15:0 0000
31:16 0000
0630 NVMDATA0 NVMDATA0<31:0>
15:0 0000
31:16 0000
0640 NVMDATA1 NVMDATA1<31:0>
15:0 0000
31:16 0000
0650 NVMDATA2 NVMDATA2<31:0>
15:0 0000
31:16 0000
0660 NVMDATA3 NVMDATA3<31:0>
15:0 0000
NVMSRC 31:16 0000
0670 NVMSRCADDR<31:0>
ADDR 15:0 0000
31:16 PWPULOCK PWP<23:16> 8000
0680 NVMPWP(1)
15:0 PWP<15:0> 0000
31:16 0000
0690 NVMBWP(1)
15:0 LBWPULOCK LBWP4 LBWP3 LBWP2 LBWP1 LBWP0 UBWPULOCK UBWP4 UBWP3 UBWP2 UBWP1 UBWP0 9FDF
31:16 00xx
06A0 NVMCON2(1)
15:0 SWAPLOCK<1:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
2015-2017 Microchip Technology Inc.
Note 1: This register has corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for more
information.
PIC32MZ Graphics (DA) Family
Note 1: These bits are only reset by a Power-on Reset (POR) and are not affected by other reset sources.
2: This operation results in a no operation (NOP) when the Dynamic Flash ECC Configuration bits = 00
(FECCCON<1:0> (DVCFG0<9:8>)), which enables ECC at all times. For all other FECCCON<1:0> bit
settings, this command will execute, but will not write the ECC bits for the word and can cause DED errors
if dynamic Flash ECC is enabled (FECCCON<1:0> = 01). Refer to Section 52. Flash Program Memory
with Support for Live Update (DS60001193) for information regarding ECC and Flash programming.
3: This bit can only be modified when the WREN bit = 0, the NVMKEY unlock sequence is satisfied, and the
SWAPLOCK<1:0> bits (NVMCON2<7:6>) are cleared to 0.
4: The BFSWAP value is determined by the values the user programmed Sequence Numbers in each boot
panel.
Note 1: These bits are only reset by a Power-on Reset (POR) and are not affected by other reset sources.
2: This operation results in a no operation (NOP) when the Dynamic Flash ECC Configuration bits = 00
(FECCCON<1:0> (DVCFG0<9:8>)), which enables ECC at all times. For all other FECCCON<1:0> bit
settings, this command will execute, but will not write the ECC bits for the word and can cause DED errors
if dynamic Flash ECC is enabled (FECCCON<1:0> = 01). Refer to Section 52. Flash Program Memory
with Support for Live Update (DS60001193) for information regarding ECC and Flash programming.
3: This bit can only be modified when the WREN bit = 0, the NVMKEY unlock sequence is satisfied, and the
SWAPLOCK<1:0> bits (NVMCON2<7:6>) are cleared to 0.
4: The BFSWAP value is determined by the values the user programmed Sequence Numbers in each boot
panel.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register is used as part of the unlock sequence to prevent inadvertent writes to the PFM.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
NVMOP<3:0>
Flash Address Bits (NVMADDR<31:0>)
Selection
Page Erase Address identifies the page to erase (NVMADDR<13:0> are ignored).
Row Program Address identifies the row to program (NVMADDR<11:0> are ignored).
Word Program Address identifies the word to program (NVMADDR<1:0> are ignored).
Quad Word Program Address identifies the quad word (128-bit) to program (NVMADDR<3:0> bits are
ignored).
Note 1: For all other NVMOP<3:0> bit settings, the Flash address is ignored.
Note: The bits in this register are only reset by a Power-on Reset (POR) and are not affected by other reset
sources.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register are only reset by a Power-on Reset (POR) and are not affected by other reset
sources.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register are only reset by a Power-on Reset (POR) and are not affected by other reset
sources.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register are only writable when the NVMKEY unlock sequence is followed.
Legend: r = Reserved
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: These bits are only available when the NVMKEY unlock sequence is performed and the associated Lock
bit (LBWPULOCK or UBWPULOCK) is set.
Note: The bits in this register are only writable when the NVMKEY unlock sequence is followed.
Note 1: These bits are only available when the NVMKEY unlock sequence is performed and the associated Lock
bit (LBWPULOCK or UBWPULOCK) is set.
Note: The bits in this register are only writable when the NVMKEY unlock sequence is followed.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: These bits can only be modified when the NVMKEY unlock sequence is satisfied and the
SWAPLOCK<1:0> bits 11. If the SWAPLOCK<1:0> bits == 11, only a Reset can clear these bits.
MCLR
MCLR
Glitch Filter
DMT
Time-out
Voltage Regulator Enabled
Power-up POR(1)
VDDIO Timer
VDDIO Rise
SYSRST
Detect
VDDCORE
POR
Brown-out BOR(1)
Reset
Configuration
CMR
Mismatch
Reset
SWR
Software Reset
High-Voltage HVD1V8R(1)
Detect
VDDR1V8
VBAT VBPOR(1)
Monitor
VBAT
All Resets
Bit Range
(BF80_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Note 1: User software must clear this bit to view the next detection.
Note 1: User software must clear this bit to view the next detection.
Note 1: The system unlock sequence must be performed before the SWRST bit can be written. Refer to the
Section 42. Oscillators with Enhanced PLL (DS60001250) in the PIC32 Family Reference Manual
for details.
2: Once this bit is set, any read of the RSWRST register will cause a reset to occur.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: If a Watchdog Timer NMI event (when not in Sleep mode) or a Deadman Timer NMI event is cleared
before this counter reaches 0, no device Reset is asserted. This NMI reset counter is only applicable to
these two specific NMI events.
Note: The system unlock sequence must be performed before the SWRST bit can be written. Refer to Section
42. Oscillators with Enhanced PLL (DS60001250) in the PIC32 Family Reference Manual for details.
Note 1: If a Watchdog Timer NMI event (when not in Sleep mode) or a Deadman Timer NMI event is cleared
before this counter reaches 0, no device Reset is asserted. This NMI reset counter is only applicable to
these two specific NMI events.
Note: The system unlock sequence must be performed before the SWRST bit can be written. Refer to Section
42. Oscillators with Enhanced PLL (DS60001250) in the PIC32 Family Reference Manual for details.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
FIGURE 7-1: CPU EXCEPTIONS AND INTERRUPT CONTROLLER MODULE BLOCK DIAGRAM
Priority Level
Interrupt Controller CPU Core
(Exception Handling)
SYSCLK
WATCH A reference to an address that is in one of the EBASE+0x180 EXL 0x17 _general_exception_handler
Watch registers (fetch).
AdEL Fetch address alignment error. Fetch reference to EBASE+0x180 EXL 0x04 _general_exception_handler
protected address.
TLBL Fetch TLB miss or fetch TLB hit to page with V = 0. EBASE if Status.EXL = 0 0x02
EBASE+0x180 if 0x02 _general_exception_handler
Status.EXL == 1
TLBL Execute- An instruction fetch matched a valid TLB entry that EBASE+0x180 EXL 0x14 _general_exception_handler
Inhibit had the XI bit set.
IBE Instruction fetch bus error. EBASE+0x180 EXL 0x06 _general_exception_handler
TABLE 7-1: MIPS32 microAptiv MICROPROCESSOR CORE EXCEPTION TYPES (CONTINUED)
2015-2017 Microchip Technology Inc.
Exception Type
Status Debug Bits
(In Order of Description Branches to EXCCODE XC32 Function Name
Bits Set Set
Priority)
Instruction An instruction could not be completed because it EBASE+0x180 EXL 0x0A or _general_exception_handler
Validity was not allowed to access the required resources 0x0B
Exceptions (Coprocessor Unusable) or was illegal (Reserved
Instruction). If both exceptions occur on the same
instruction, the Coprocessor Unusable Exception
takes priority over the Reserved Instruction
Exception.
Execute An instruction-based exception occurred: Integer EBASE+0x180 EXL 0x08-0x0C _general_exception_handler
Exception overflow, trap, system call, breakpoint, floating
point, or DSP ASE state disabled exception.
Tr Execution of a trap (when trap condition is true). EBASE+0x180 EXL 0x0D _general_exception_handler
DDBL/DDBS EJTAG Data Address Break (address only) or 0xBFC0_0480 DDBL or
ADC Digital Comparator 4 _ADC_DC4_VECTOR 49 OFF049<17:1> IFS1<17> IEC1<17> IPC12<12:10> IPC12<9:8> Yes
ADC Digital Comparator 5 _ADC_DC5_VECTOR 50 OFF050<17:1> IFS1<18> IEC1<18> IPC12<20:18> IPC12<17:16> Yes
ADC Digital Comparator 6 _ADC_DC6_VECTOR 51 OFF051<17:1> IFS1<19> IEC1<19> IPC12<28:26> IPC12<25:24> Yes
Note 1: Not all interrupt sources are available on all devices. See the Family Features tables (Table 1 through Table 2) for the list of available peripherals.
2: Upon Reset, the GLCD interrupt (both HSYNC and VSYNC) are persistent. However, through the IRQCON bit (GLCDINT<31>), the type of interrupt can be
changed to non-persistent.
DS60001361E-page 128
TABLE 7-2: INTERRUPT IRQ, VECTOR AND BIT LOCATION (CONTINUED)
ADC Digital Filter 1 _ADC_DF1_VECTOR 52 OFF052<17:1> IFS1<20> IEC1<20> IPC13<4:2> IPC13<1:0> Yes
ADC Digital Filter 2 _ADC_DF2_VECTOR 53 OFF053<17:1> IFS1<21> IEC1<21> IPC13<12:10> IPC13<9:8> Yes
ADC Digital Filter 3 _ADC_DF3_VECTOR 54 OFF054<17:1> IFS1<22> IEC1<22> IPC13<20:18> IPC13<17:16> Yes
ADC Digital Filter 4 _ADC_DF4_VECTOR 55 OFF055<17:1> IFS1<23> IEC1<23> IPC13<28:26> IPC13<25:24> Yes
ADC Digital Filter 5 _ADC_DF5_VECTOR 56 OFF056<17:1> IFS1<24> IEC1<24> IPC14<4:2> IPC14<1:0> Yes
ADC Digital Filter 6 _ADC_DF6_VECTOR 57 OFF057<17:1> IFS1<25> IEC1<25> IPC14<12:10> IPC14<9:8> Yes
ADC Fault _ADC_FAULT_VECTOR 58 OFF058<17:1> IFS1<26> IEC1<26> IPC14<20:18> IPC14<17:16> Yes
ADC Data 0 _ADC_DATA0_VECTOR 59 OFF059<17:1> IFS1<27> IEC1<27> IPC14<28:26> IPC14<25:24> Yes
ADC Data 1 _ADC_DATA1_VECTOR 60 OFF060<17:1> IFS1<28> IEC1<28> IPC15<4:2> IPC15<1:0> Yes
ADC Data 2 _ADC_DATA2_VECTOR 61 OFF061<17:1> IFS1<29> IEC1<29> IPC15<12:10> IPC15<9:8> Yes
ADC Data 3 _ADC_DATA3_VECTOR 62 OFF062<17:1> IFS1<30> IEC1<30> IPC15<20:18> IPC15<17:16> Yes
ADC Data 4 _ADC_DATA4_VECTOR 63 OFF063<17:1> IFS1<31> IEC1<31> IPC15<28:26> IPC15<25:24> Yes
ADC Data 5 _ADC_DATA5_VECTOR 64 OFF064<17:1> IFS2<0> IEC2<0> IPC16<4:2> IPC16<1:0> Yes
ADC Data 6 _ADC_DATA6_VECTOR 65 OFF065<17:1> IFS2<1> IEC2<1> IPC16<12:10> IPC16<9:8> Yes
ADC Data 7 _ADC_DATA7_VECTOR 66 OFF066<17:1> IFS2<2> IEC2<2> IPC16<20:18> IPC16<17:16> Yes
ADC Data 8 _ADC_DATA8_VECTOR 67 OFF067<17:1> IFS2<3> IEC2<3> IPC16<28:26> IPC16<25:24> Yes
ADC Data 9 _ADC_DATA9_VECTOR 68 OFF068<17:1> IFS2<4> IEC2<4> IPC17<4:2> IPC17<1:0> Yes
ADC Data 10 _ADC_DATA10_VECTOR 69 OFF069<17:1> IFS2<5> IEC2<5> IPC17<12:10> IPC17<9:8> Yes
ADC Data 11 _ADC_DATA11_VECTOR 70 OFF070<17:1> IFS2<6> IEC2<6> IPC17<20:18> IPC17<17:16> Yes
ADC Data 12 _ADC_DATA12_VECTOR 71 OFF071<17:1> IFS2<7> IEC2<7> IPC17<28:26> IPC17<25:24> Yes
ADC Data 13 _ADC_DATA13_VECTOR 72 OFF072<17:1> IFS2<8> IEC2<8> IPC18<4:2> IPC18<1:0> Yes
ADC Data 14 _ADC_DATA14_VECTOR 73 OFF073<17:1> IFS2<9> IEC2<9> IPC18<12:10> IPC18<9:8> Yes
2015-2017 Microchip Technology Inc.
Crypto Engine Event _CRYPTO_VECTOR 107 OFF107<17:1> IFS3<11> IEC3<11> IPC26<28:26> IPC26<25:24> Yes
Reserved 108
SPI1 Fault _SPI1_FAULT_VECTOR 109 OFF109<17:1> IFS3<13> IEC3<13> IPC27<12:10> IPC27<9:8> Yes
Note 1: Not all interrupt sources are available on all devices. See the Family Features tables (Table 1 through Table 2) for the list of available peripherals.
2: Upon Reset, the GLCD interrupt (both HSYNC and VSYNC) are persistent. However, through the IRQCON bit (GLCDINT<31>), the type of interrupt can be
changed to non-persistent.
DS60001361E-page 130
TABLE 7-2: INTERRUPT IRQ, VECTOR AND BIT LOCATION (CONTINUED)
SPI1 Receive Done _SPI1_RX_VECTOR 110 OFF110<17:1> IFS3<14> IEC3<14> IPC27<20:18> IPC27<17:16> Yes
SPI1 Transfer Done _SPI1_TX_VECTOR 111 OFF111<17:1> IFS3<15> IEC3<15> IPC27<28:26> IPC27<25:24> Yes
UART1 Fault _UART1_FAULT_VECTOR 112 OFF112<17:1> IFS3<16> IEC3<16> IPC28<4:2> IPC28<1:0> Yes
UART1 Receive Done _UART1_RX_VECTOR 113 OFF113<17:1> IFS3<17> IEC3<17> IPC28<12:10> IPC28<9:8> Yes
UART1 Transfer Done _UART1_TX_VECTOR 114 OFF114<17:1> IFS3<18> IEC3<18> IPC28<20:18> IPC28<17:16> Yes
I2C1 Bus Collision Event _I2C1_BUS_VECTOR 115 OFF115<17:1> IFS3<19> IEC3<19> IPC28<28:26> IPC28<25:24> Yes
I2C1 Slave Event _I2C1_SLAVE_VECTOR 116 OFF116<17:1> IFS3<20> IEC3<20> IPC29<4:2> IPC29<1:0> Yes
I2C1 Master Event _I2C1_MASTER_VECTOR 117 OFF117<17:1> IFS3<21> IEC3<21> IPC29<12:10> IPC29<9:8> Yes
PORTA Input Change Interrupt _CHANGE_NOTICE_A_VECTOR 118 OFF118<17:1> IFS3<22> IEC3<22> IPC29<20:18> IPC29<17:16> Yes
PORTB Input Change Interrupt _CHANGE_NOTICE_B_VECTOR 119 OFF119<17:1> IFS3<23> IEC3<23> IPC29<28:26> IPC29<25:24> Yes
PORTC Input Change Interrupt _CHANGE_NOTICE_C_VECTOR 120 OFF120<17:1> IFS3<24> IEC3<24> IPC30<4:2> IPC30<1:0> Yes
PORTD Input Change Interrupt _CHANGE_NOTICE_D_VECTOR 121 OFF121<17:1> IFS3<25> IEC3<25> IPC30<12:10> IPC30<9:8> Yes
PORTE Input Change Interrupt _CHANGE_NOTICE_E_VECTOR 122 OFF122<17:1> IFS3<26> IEC3<26> IPC30<20:18> IPC30<17:16> Yes
PORTF Input Change Interrupt _CHANGE_NOTICE_F_VECTOR 123 OFF123<17:1> IFS3<27> IEC3<27> IPC30<28:26> IPC30<25:24> Yes
PORTG Input Change Interrupt _CHANGE_NOTICE_G_VECTOR 124 OFF124<17:1> IFS3<28> IEC3<28> IPC31<4:2> IPC31<1:0> Yes
PORTH Input Change Interrupt _CHANGE_NOTICE_H_VECTOR 125 OFF125<17:1> IFS3<29> IEC3<29> IPC31<12:10> IPC31<9:8> Yes
PORTJ Input Change Interrupt _CHANGE_NOTICE_J_VECTOR 126 OFF126<17:1> IFS3<30> IEC3<30> IPC31<20:18> IPC31<17:16> Yes
PORTK Input Change Interrupt _CHANGE_NOTICE_K_VECTOR 127 OFF127<17:1> IFS3<31> IEC3<31> IPC31<28:26> IPC31<25:24> Yes
Parallel Master Port _PMP_VECTOR 128 OFF128<17:1> IFS4<0> IEC4<0> IPC32<4:2> IPC32<1:0> Yes
Parallel Master Port Error _PMP_ERROR_VECTOR 129 OFF129<17:1> IFS4<1> IEC4<1> IPC32<12:10> IPC32<9:8> Yes
Comparator 1 Interrupt _COMPARATOR_1_VECTOR 130 OFF130<17:1> IFS4<2> IEC4<2> IPC32<20:18> IPC32<17:16> No
Comparator 2 Interrupt _COMPARATOR_2_VECTOR 131 OFF131<17:1> IFS4<3> IEC4<3> IPC32<28:26> IPC32<25:24> No
2015-2017 Microchip Technology Inc.
USB General Event _USB1_VECTOR 132 OFF132<17:1> IFS4<4> IEC4<4> IPC33<4:2> IPC33<1:0> Yes
USB DMA Event _USB1_DMA_VECTOR 133 OFF133<17:1> IFS4<5> IEC4<5> IPC33<12:10> IPC33<9:8> Yes
DMA Channel 0 _DMA0_VECTOR 134 OFF134<17:1> IFS4<6> IEC4<6> IPC33<20:18> IPC33<17:16> No
DMA Channel 1 _DMA1_VECTOR 135 OFF135<17:1> IFS4<7> IEC4<7> IPC33<28:26> IPC33<25:24> No
DMA Channel 2 _DMA2_VECTOR 136 OFF136<17:1> IFS4<8> IEC4<8> IPC34<4:2> IPC34<1:0> No
DMA Channel 3 _DMA3_VECTOR 137 OFF137<17:1> IFS4<9> IEC4<9> IPC34<12:10> IPC34<9:8> No
DMA Channel 4 _DMA4_VECTOR 138 OFF138<17:1> IFS4<10> IEC4<10> IPC34<20:18> IPC34<17:16> No
Note 1: Not all interrupt sources are available on all devices. See the Family Features tables (Table 1 through Table 2) for the list of available peripherals.
2: Upon Reset, the GLCD interrupt (both HSYNC and VSYNC) are persistent. However, through the IRQCON bit (GLCDINT<31>), the type of interrupt can be
changed to non-persistent.
TABLE 7-2: INTERRUPT IRQ, VECTOR AND BIT LOCATION (CONTINUED)
2015-2017 Microchip Technology Inc.
SPI4 Transfer Done _SPI4_TX_VECTOR 165 OFF165<17:1> IFS5<5> IEC5<5> IPC41<12:10> IPC41<9:8> Yes
Real Time Clock _RTCC_VECTOR 166 OFF166<17:1> IFS5<6> IEC5<6> IPC41<20:18> IPC41<17:16> No
Flash Control Event _FLASH_CONTROL_VECTOR 167 OFF167<17:1> IFS5<7> IEC5<7> IPC41<28:26> IPC41<25:24> No
Note 1: Not all interrupt sources are available on all devices. See the Family Features tables (Table 1 through Table 2) for the list of available peripherals.
2: Upon Reset, the GLCD interrupt (both HSYNC and VSYNC) are persistent. However, through the IRQCON bit (GLCDINT<31>), the type of interrupt can be
changed to non-persistent.
DS60001361E-page 132
TABLE 7-2: INTERRUPT IRQ, VECTOR AND BIT LOCATION (CONTINUED)
Prefetch Module SEC Event _PREFETCH_VECTOR 168 OFF168<17:1> IFS5<8> IEC5<8> IPC42<4:2> IPC42<1:0> Yes
SQI1 Event _SQI1_VECTOR 169 OFF169<17:1> IFS5<9> IEC5<9> IPC42<12:10> IPC42<9:8> Yes
UART4 Fault _UART4_FAULT_VECTOR 170 OFF170<17:1> IFS5<10> IEC5<10> IPC42<20:18> IPC42<17:16> Yes
UART4 Receive Done _UART4_RX_VECTOR 171 OFF171<17:1> IFS5<11> IEC5<11> IPC42<28:26> IPC42<25:24> Yes
UART4 Transfer Done _UART4_TX_VECTOR 172 OFF172<17:1> IFS5<12> IEC5<12> IPC43<4:2> IPC43<1:0> Yes
I2C4 Bus Collision Event _I2C4_BUS_VECTOR 173 OFF173<17:1> IFS5<13> IEC5<13> IPC43<12:10> IPC43<9:8> Yes
I2C4 Slave Event _I2C4_SLAVE_VECTOR 174 OFF174<17:1> IFS5<14> IEC5<14> IPC43<20:18> IPC43<17:16> Yes
I2C4 Master Event _I2C4_MASTER_VECTOR 175 OFF175<17:1> IFS5<15> IEC5<15> IPC43<28:26> IPC43<25:24> Yes
SPI5 Fault _SPI5_FAULT_VECTOR 176 OFF176<17:1> IFS5<16> IEC5<16> IPC44<4:2> IPC44<1:0> Yes
SPI5 Receive Done _SPI5_RX_VECTOR 177 OFF177<17:1> IFS5<17> IEC5<17> IPC44<12:10> IPC44<9:8> Yes
SPI5 Transfer Done _SPI5_TX_VECTOR 178 OFF178<17:1> IFS5<18> IEC5<18> IPC44<20:18> IPC44<17:16> Yes
UART5 Fault _UART5_FAULT_VECTOR 179 OFF179<17:1> IFS5<19> IEC5<19> IPC44<28:26> IPC44<25:24> Yes
UART5 Receive Done _UART5_RX_VECTOR 180 OFF180<17:1> IFS5<20> IEC5<20> IPC45<4:2> IPC45<1:0> Yes
UART5 Transfer Done _UART5_TX_VECTOR 181 OFF181<17:1> IFS5<21> IEC5<21> IPC45<12:10> IPC45<9:8> Yes
I2C5 Bus Collision Event _I2C5_BUS_VECTOR 182 OFF182<17:1> IFS5<22> IEC5<22> IPC45<20:18> IPC45<17:16> Yes
I2C5 Slave Event _I2C5_SLAVE_VECTOR 183 OFF183<17:1> IFS5<23> IEC5<23> IPC45<28:26> IPC45<25:24> Yes
I2C5 Master Event _I2C5_MASTER_VECTOR 184 OFF184<17:1> IFS5<24> IEC5<24> IPC46<4:2> IPC46<1:0> Yes
SPI6 Fault _SPI6_FAULT_VECTOR 185 OFF185<17:1> IFS5<25> IEC5<25> IPC46<12:10> IPC46<9:8> Yes
SPI6 Receive Done _SPI6_RX_VECTOR 186 OFF186<17:1> IFS5<26> IEC5<26> IPC46<20:18> IPC46<17:16> Yes
SPI6 Transfer Done _SPI6_TX_VECTOR 187 OFF187<17:1> IFS5<27> IEC5<27> IPC46<28:26> IPC46<25:24> Yes
UART6 Fault _UART6_FAULT_VECTOR 188 OFF188<17:1> IFS5<28> IEC5<28> IPC47<4:2> IPC47<1:0> Yes
UART6 Receive Done _UART6_RX_VECTOR 189 OFF189<17:1> IFS5<29> IEC5<29> IPC47<12:10> IPC47<9:8> Yes
2015-2017 Microchip Technology Inc.
UART6 Transfer Done _UART6_TX_VECTOR 190 OFF190<17:1> IFS5<30> IEC5<30> IPC47<20:18> IPC47<17:16> Yes
SDHC Interrupt _SDHC_VECTOR 191 OFF191<17:1> IFS5<31> IEC5<31> IPC47<28:26> IPC47<25:24> Yes
GLCD Interrupt _GLCD_VECTOR 192 OFF192<17:1> IFS6<0> IEC6<0> IPC48<4:2> IPC48<1:0> Yes/No(2)
GPU Interrupt _GPU_VECTOR 193 OFF193<17:1> IFS6<1> IEC6<1> IPC48<12:10> IPC48<9:8> Yes
Reserved
CTMU Interrupt _CTMU_VECTOR 195 OFF195<17:1> IFS6<3> IEC6<3> IPC48<28:26> IPC48<25:24> Yes
ADC End of Scan _ADC_EOS_VECTOR 196 OFF196<17:1> IFS6<4> IEC6<4> IPC49<4:2> IPC49<1:0> Yes
Note 1: Not all interrupt sources are available on all devices. See the Family Features tables (Table 1 through Table 2) for the list of available peripherals.
2: Upon Reset, the GLCD interrupt (both HSYNC and VSYNC) are persistent. However, through the IRQCON bit (GLCDINT<31>), the type of interrupt can be
changed to non-persistent.
TABLE 7-2: INTERRUPT IRQ, VECTOR AND BIT LOCATION (CONTINUED)
2015-2017 Microchip Technology Inc.
ADC Analog Circuit Ready _ADC_ARDY_VECTOR 197 OFF197<17:1> IFS6<5> IEC6<5> IPC49<12:10> IPC49<9:8> Yes
ADC Update Ready _ADC_URDY_VECTOR 198 OFF198<17:1> IFS6<6> IE6<6> IPC49<20:18> IPC49<17:16> Yes
ADC0 Early Interrupt _ADC0_EARLY_VECTOR 199 OFF199<17:1> IFS6<7> IEC6<7> IPC49<28:26> IPC49<25:24> Yes
ADC1 Early Interrupt _ADC1_EARLY_VECTOR 200 OFF200<17:1> IFS6<8> IEC6<8> IPC50<4:2> IPC50<1:0> Yes
ADC2 Early Interrupt _ADC2_EARLY_VECTOR 201 OFF201<17:1> IFS6<9> IEC6<9> IPC50<12:10> IPC50<9:8> Yes
ADC3 Early Interrupt _ADC3_EARLY_VECTOR 202 OFF202<17:1> IFS6<10> IEC6<10> IPC50<20:18> IPC50<17:16> Yes
ADC4 Early Interrupt _ADC4_EARLY_VECTOR 203 OFF203<17:1> IFS6<11> IEC6<11> IPC50<28:26> IPC50<25:24> Yes
Reserved
ADC Group Early Interrupt Request _ADC_EARLY_VECTOR 205 OFF205<17:1> IFS6<13> IEC6<13> IPC51<12:10> IPC51<9:8> Yes
ADC7 Early Interrupt _ADC7_EARLY_VECTOR 206 OFF206<17:1> IFS6<14> IEC6<14> IPC51<20:18> IPC51<17:16> Yes
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 ADCD36IE ADCD35IE ADCD34IE ADCD33IE ADCD32IE ADCD31IE ADCD30IE ADCD29IE ADCD28IE ADCD27IE ADCD26IE ADCD25IE ADCD24IE ADCD23IE ADCD22IE ADCD21IE 0000
00E0 IEC2
15:0 ADCD20IE ADCD19IE ADCD18IE ADCD17IE ADCD16IE ADCD15IE ADCD14IE ADCD13IE ADCD12IE ADCD11IE ADCD10IE ADCD9IE ADCD8IE ADCD7IE ADCD6IE ADCD5IE 0000
31:16 CNKIE CNJIE CNHIE CNGIE CNFIE CNEIE CNDIE CNCIE CNBIE CNAIE I2C1MIE I2C1SIE I2C1BIE U1TXIE U1RXIE U1EIE 0000
00F0 IEC3
15:0 SPI1TXIE SPI1RXIE SPI1EIE CRPTIE(2) SBIE CFDCIE CPCIE USBSRIE ADCD43IE ADCD42IE ADCD41IE ADCD40IE ADCD39IE ADCD38IE ADCD37IE 0000
31:16 U3TXIE U3RXIE U3EIE SPI3TXIE SPI3RXIE SPI3EIE ETHIE CAN2IE CAN1IE I2C2MIE I2C2SIE I2C2BIE U2TXIE U2RXIE U2EIE SPI2TXIE 0000
0100 IEC4
15:0 SPI2RXIE SPI2EIE DMA7IE DMA6IE DMA5IE DMA4IE DMA3IE DMA2IE DMA1IE DMA0IE USBDMAIE USBIE CMP2IE CMP1IE PMPEIE PMPIE 0000
31:16 SDHCIE U6TXIE U6RXIE U6EIE SPI6TXIE SPI6RXIE SPI6IE I2C5MIE I2C5SIE I2C5BIE U5TXIE U5RXIE U5EIE SPI5TXIE SPI5RXIE SPI5EIE 0000
0110 IEC5
15:0 I2C4MIE I2C4SIE I2C4BIE U4TXIE U4RXIE U4EIE SQI1IE PREIE FCEIE RTCCIE SPI4TXIE SPI4RXIE SPI4EIE I2C3MIE I2C3SIE I2C3BIE 0000
31:16 MPLLFLTIE ADC7WIE ADC4WIE ADC3WIE ADC2WIE ADC1WIE 0000
0120 IEC6
15:0 ADC0WIE ADC7EIE ADCGRPIE ADC4EIE ADC3EIE ADC2EIE ADC1EIE ADC0EIE ADCURDYIE ADCARDYIE ADCEOSIE CTMUIE GPUIE GLCDIE 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table with the exception of the OFFx registers, have corresponding CLR, SET, and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET,
and INV Registers for more information.
2: This bit is only available on devices with a Crypto module.
TABLE 7-3: INTERRUPT REGISTER MAP (CONTINUED)
2015-2017 Microchip Technology Inc.
Virtual Address
Bits
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Virtual Address
Bits
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Virtual Address
Bits
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Virtual Address
Bits
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Virtual Address
Bits
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Virtual Address
Bits
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Virtual Address
Bits
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-28 PRI7SS<3:0>: Interrupt with Priority Level 7 Shadow Set bits(1)
1xxx = Reserved (by default, an interrupt with a priority level of 7 uses Shadow Set 0)
0111 = Interrupt with a priority level of 7 uses Shadow Set 7
0110 = Interrupt with a priority level of 7 uses Shadow Set 6
0001 = Interrupt with a priority level of 7 uses Shadow Set 1
0000 = Interrupt with a priority level of 7 uses Shadow Set 0
bit 27-24 PRI6SS<3:0>: Interrupt with Priority Level 6 Shadow Set bits(1)
1xxx = Reserved (by default, an interrupt with a priority level of 6 uses Shadow Set 0)
0111 = Interrupt with a priority level of 6 uses Shadow Set 7
0110 = Interrupt with a priority level of 6 uses Shadow Set 6
0001 = Interrupt with a priority level of 6 uses Shadow Set 1
0000 = Interrupt with a priority level of 6 uses Shadow Set 0
bit 23-20 PRI5SS<3:0>: Interrupt with Priority Level 5 Shadow Set bits(1)
1xxx = Reserved (by default, an interrupt with a priority level of 5 uses Shadow Set 0)
0111 = Interrupt with a priority level of 5 uses Shadow Set 7
0110 = Interrupt with a priority level of 5 uses Shadow Set 6
0001 = Interrupt with a priority level of 5 uses Shadow Set 1
0000 = Interrupt with a priority level of 5 uses Shadow Set 0
bit 19-16 PRI4SS<3:0>: Interrupt with Priority Level 4 Shadow Set bits(1)
1xxx = Reserved (by default, an interrupt with a priority level of 4 uses Shadow Set 0)
0111 = Interrupt with a priority level of 4 uses Shadow Set 7
0110 = Interrupt with a priority level of 4 uses Shadow Set 6
0001 = Interrupt with a priority level of 4 uses Shadow Set 1
0000 = Interrupt with a priority level of 4 uses Shadow Set 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This value should only be used when the interrupt controller is configured for Single Vector mode.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register represents a generic definition of the IFSx register. Refer to Table 7-2 for the exact bit
definitions.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register represents a generic definition of the IECx register. Refer to Table 7-2 for the exact bit
definitions.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register represents a generic definition of the IPCx register. Refer to Table 7-2 for the exact bit
definitions.
Note: This register represents a generic definition of the IPCx register. Refer to Table 7-2 for the exact bit
definitions.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Reference Clock(5)
REFOxCON REFOxTRIM
UPLLFSEL REFCLKIx
POSC ROTRIM<8:0> (M) OE
System PLL FRC
LPRC
N
FIN(6)
PLL x M
FVco(6) SOSC
PBCLK1
2 N + ---------
M
512
-
PLLODIV<2:0> REFCLKOx
SYSCLK
(N) FREF(6)
BFRC RODIV<14:0> (N)
PLLIDIV<2:0>
PLLRANGE<2:0>
(N) (6) To SPI, ADC,
PLLICLK PLLMULT<6:0>
(M) N FPLL SPLL SQI, GLCD,
and SDHC
ROSEL<3:0> x = 1-5
SPLL
Primary Oscillator (POSC)
OSC1 Peripheral Bus Clock(5)
C1(3) POSC (HS, EC)
Peripherals,
CPU
XTAL RP(1) RF(2) Postscaler
PBCLKx
Enable
RS(1) PBxDIV<6:0>
(N) x = 1-7
C2(3) OSC2(4) POSCBOOST
POSCGAIN<1:0>
To ADC and Flash
TUN<5:0> FRCDIV<2:0>
(N)
Backup FRC BFRC
Oscillator
8 MHz typical
LPRC LPRC
Oscillator 32.768 kHz
MPLL(7)
MFIN NOSC<2:0>
MFVCO MFMPLL(7)
N xM N N COSC<2:0>
To DDR2 FCKSM<1:0> OSWEN
MPLLIDIV<5:0> MPLLMULT<7:0> MPLLODIV1<2:0> MPLLODIV2<2:0> Controller WDT, RTCC
(N) (M) (N) (N)
Timer1, RTCC
Notes: 1. A series resistor, RS, may be required for AT strip cut crystals, or to eliminate clipping. Alternately, to increase oscillator circuit gain,
add a parallel resistor, RP, with a value of 1 M.
2. The internal feedback resistor, RF, is typically in the range of 2 to 10 M
3. Refer to Section 42. Oscillators with Enhanced PLL (DS60001250) in the PIC32 Family Reference Manual for help in deter-
mining the best oscillator components.
4. PBCLK1 divided by 2 is available on the OSC2 pin in certain clock modes.
5. Shaded regions indicate multiple instantiations of a peripheral or feature.
6. Refer to Table 44-25 in Section 44.0 Electrical Characteristics for frequency limitations.
7. Memory Phase-Locked Loop (MPLL) is controlled through the CFGMPLL register (see 41.0 Special Features for details).
MFMPLL drives the DDR2 PHY and is the source clock (DDRCK, DDRCK) for DDR2 SDRAM.
REFCLKO1
REFCLKO2
REFCLKO3
REFCLKO4
REFOCLK5
PBCLK1(1)
USBCLK
SYSCLK
PBCLK2
PBCLK3
PBCLK4
PBCLK5
PBCLK6
PBCLK7
SOSC
LPRC
MPLL
FRC
CPU X
WDT X X X(3)
DMT X X(3) X
GLCD X(3) X(6)
GPU X
DDR2C X(3) X
SDHC X(3) X
Flash X(2) X(2) X(2)
ADC X X X(3) X
Comparator X(3)
CTMU X(3)
Crypto X(3)
RNG X(3)
USB X X(3)
USBCR(7) X(3)
CAN X(3)
Ethernet X(3)
PMP X(3)
I2C X(3)
UART X(3)
RTCC X X X(3)
EBI X
SQI X(3) X
SPI X X
Timers X X(4) X
Output Compare X
Input Capture X
Ports X(3)
DMA X
Interrupts X
Prefetch X
OSC2 Pin X(5)
DSCTRL(8) X X
HLVD X(3)
Note 1: PBCLK1 is used by system modules and cannot be turned off.
2: SYSCLK/PBCLK5 is used to fetch data from/to the Flash Controller, while the FRC clock is used for programming.
3: Special Function Register (SFR) access only.
4: Timer1 only.
5: PBCLK1 divided by 2 is available on the OSC2 pin in certain clock modes.
6: REFCLKO5 (divided version of SPLL clock) is used for the Pixel Clock.
7: USBCR is the Clock/Reset Control block for the USB.
8: DSCTRL is the Deep Sleep Control Block.
TABLE 8-2:
Virtual Address OSCILLATOR CONFIGURATION REGISTER MAP
Bits
All Resets(1)
Bit Range
(BF80_#)
Register
Name 31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
1350 PB2DIV
15:0 ON PBDIVRDY PBDIV<6:0> 8801
31:16 0000
1360 PB3DIV
15:0 ON PBDIVRDY PBDIV<6:0> 8801
31:16 0000
1370 PB4DIV
15:0 ON PBDIVRDY PBDIV<6:0> 8801
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: Reset values are dependent on the DEVCFGx Configuration bits and the type of reset.
DS60001361E-page 162
TABLE 8-2: OSCILLATOR CONFIGURATION REGISTER MAP (CONTINUED)
All Resets(1)
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1380 PB5DIV
15:0 ON PBDIVRDY PBDIV<6:0> 8801
31:16 0000
1390 PB6DIV
15:0 ON PBDIVRDY PBDIV<6:0> 8803
31:16 0000
13A0 PB7DIV
15:0 ON PBDIVRDY PBDIV<6:0> 8800
31:16 SYSDIV<3:0> 0000
13C0 SLEWCON
15:0 SLWDIV<2:0> UPEN DNEN BUSY 0000
31:16 0000
13D0 CLKSTAT
15:0 SPLLRDY LPRCRDY SOSCRDY POSCRDY FRCRDY 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: Reset values are dependent on the DEVCFGx Configuration bits and the type of reset.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
Note 1: The reset value for this bit depends on the setting of the IESO bit (DEVCFG1<7>). When IESO = 1, the
reset value is 1. When IESO = 0, the reset value is 0.
Note: Writes to this register require an unlock sequence. Refer to Section 42. Oscillators with Enhanced PLL
(DS60001250) in the PIC32 Family Reference Manual for details.
Note 1: The reset value for this bit depends on the setting of the IESO bit (DEVCFG1<7>). When IESO = 1, the
reset value is 1. When IESO = 0, the reset value is 0.
Note: Writes to this register require an unlock sequence. Refer to Section 42. Oscillators with Enhanced PLL
(DS60001250) in the PIC32 Family Reference Manual for details.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: OSCTUN functionality has been provided to help customers compensate for temperature effects on the
FRC frequency over a wide range of temperatures. The tuning step size is an approximation, and is neither
characterized, nor tested.
Note: Writes to this register require an unlock sequence. Refer to Section 42. Oscillators with Enhanced
PLL (DS60001250) in the PIC32 Family Reference Manual for details.
Note 1: Writes to this register require an unlock sequence. Refer to Section 42. Oscillators with Enhanced
PLL (DS60001250) in the PIC32 Family Reference Manual for details.
2: Writes to this register are not allowed if the SPLL is selected as a clock source (COSC<2:0> = 001).
Note 1: Writes to this register require an unlock sequence. Refer to Section 42. Oscillators with Enhanced
PLL (DS60001250) in the PIC32 Family Reference Manual for details.
2: Writes to this register are not allowed if the SPLL is selected as a clock source (COSC<2:0> = 001).
Note 1: Do not write to this register when the ON bit is not equal to the ACTIVE bit.
2: This bit is ignored when the ROSEL<3:0> bits = 0000 or 0001.
3: The ROSEL<3:0> bits should not be written while the ACTIVE bit is 1, as undefined behavior may result.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: While the ON bit (REFOxCON<15>) is 1, writes to this register do not take effect until the DIVSWEN bit is
also set to 1.
2: Do not write to this register when the ON bit (REFOxCON<15>) is not equal to the ACTIVE bit
(REFOxCON<8>).
3: Specified values in this register do not take effect if RODIV<14:0> (REFOxCON<30:16>) = 0.
REGISTER 8-6: PBxDIV: PERIPHERAL BUS x CLOCK DIVISOR CONTROL REGISTER (x = 1-7)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
R/W-1 U-0 U-0 U-0 R-1 U-0 U-0 U-0
15:8 (1)
ON PBDIVRDY
U-0 R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x
7:0
PBDIV<6:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: The clock for peripheral bus 1 cannot be turned off. Therefore, the ON bit in the PB1DIV register cannot
be written as a 0.
Note: Writes to this register require an unlock sequence. Refer to Section 42. Oscillators with Enhanced PLL
(DS60001250) in the PIC32 Family Reference Manual for details.
Note 1: The SYSDIV<3:0> bit settings are ignored if both UPEN and DNEN = 0, and SYSCLK will be divided by 1.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
SYSCLK
Tag Data
Bus Control
CPU
CPU
Prefetch Buffer
Line Control
All Resets
Bit Range
(BF8E_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: For the Wait states to SYSCLK relationship, refer to Table 44-16 in Section44.0 Electrical
Characteristics.
DMA SYSCLK
SE
L
Peripheral Bus Address Decoder Channel 0 Control I0
I2
Channel Priority
Arbitration
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1000 DMACON
15:0 ON SUSPEND DMABUSY 0000
31:16 RDWR 0000
1010 DMASTAT
15:0 DMACH<2:0> 0000
31:16 0000
1020 DMAADDR DMAADDR<31:0>
15:0 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
Bits
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1050 DCRCXOR DCRCXOR<31:0>
15:0 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
TABLE 10-3: DMA CHANNEL 0 THROUGH CHANNEL 7 REGISTER MAP
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 xxxx
1150 DCH1SSA CHSSA<31:0>
15:0 xxxx
31:16 xxxx
1160 DCH1DSA CHDSA<31:0>
15:0 xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
DS60001361E-page 180
TABLE 10-3: DMA CHANNEL 0 THROUGH CHANNEL 7 REGISTER MAP (CONTINUED)
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1170 DCH1SSIZ
15:0 CHSSIZ<15:0> xxxx
31:16 0000
1180 DCH1DSIZ
15:0 CHDSIZ<15:0> xxxx
31:16 0000
1190 DCH1SPTR
15:0 CHSPTR<15:0> 0000
31:16 0000
11A0 DCH1DPTR
15:0 CHDPTR<15:0> 0000
31:16 0000
11B0 DCH1CSIZ
15:0 CHCSIZ<15:0> xxxx
31:16 0000
11C0 DCH1CPTR
15:0 CHCPTR<15:0> 0000
31:16 0000
11D0 DCH1DAT
15:0 CHPDAT<15:0> xxxx
31:16 CHPIGN<7:0> 7700
11E0 DCH2CON
15:0 CHBUSY CHPIGNEN CHPATLEN CHCHNS CHEN CHAED CHCHN CHAEN CHEDET CHPRI<1:0> 0000
31:16 CHAIRQ<7:0> 00FF
11F0 DCH2ECON
15:0 CHSIRQ<7:0> CFORCE CABORT PATEN SIRQEN AIRQEN FF00
31:16 CHSDIE CHSHIE CHDDIE CHDHIE CHBCIE CHCCIE CHTAIE CHERIE 0000
1200 DCH2INT
15:0 CHSDIF CHSHIF CHDDIF CHDHIF CHBCIF CHCCIF CHTAIF CHERIF 0000
31:16 xxxx
1210 DCH2SSA CHSSA<31:0>
15:0 xxxx
31:16 xxxx
1220 DCH2DSA CHDSA<31:0>
15:0 xxxx
31:16 0000
2015-2017 Microchip Technology Inc.
1230 DCH2SSIZ
15:0 CHSSIZ<15:0> xxxx
31:16 0000
1240 DCH2DSIZ
15:0 CHDSIZ<15:0> xxxx
31:16 0000
1250 DCH2SPTR
15:0 CHSPTR<15:0> 0000
31:16 0000
1260 DCH2DPTR
15:0 CHDPTR<15:0> 0000
31:16 0000
1270 DCH2CSIZ
15:0 CHCSIZ<15:0> xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
TABLE 10-3: DMA CHANNEL 0 THROUGH CHANNEL 7 REGISTER MAP (CONTINUED)
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1280 DCH2CPTR
15:0 CHCPTR<15:0> 0000
31:16 0000
1290 DCH2DAT
15:0 CHPDAT<15:0> xxxx
31:16 CHPIGN<7:0> 7700
12A0 DCH3CON
15:0 CHBUSY CHPIGNEN CHPATLEN CHCHNS CHEN CHAED CHCHN CHAEN CHEDET CHPRI<1:0> 0000
31:16 CHAIRQ<7:0> 00FF
12B0 DCH3ECON
15:0 CHSIRQ<7:0> CFORCE CABORT PATEN SIRQEN AIRQEN FF00
31:16 CHSDIE CHSHIE CHDDIE CHDHIE CHBCIE CHCCIE CHTAIE CHERIE 0000
12C0 DCH3INT
15:0 CHSDIF CHSHIF CHDDIF CHDHIF CHBCIF CHCCIF CHTAIF CHERIF 0000
0000
31:16 CHAIRQ<7:0> 00FF
1370 DCH4ECON
15:0 CHSIRQ<7:0> CFORCE CABORT PATEN SIRQEN AIRQEN FF00
31:16 CHSDIE CHSHIE CHDDIE CHDHIE CHBCIE CHCCIE CHTAIE CHERIE 0000
1380 DCH4INT
15:0 CHSDIF CHSHIF CHDDIF CHDHIF CHBCIF CHCCIF CHTAIF CHERIF 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
DS60001361E-page 182
TABLE 10-3: DMA CHANNEL 0 THROUGH CHANNEL 7 REGISTER MAP (CONTINUED)
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 xxxx
1390 DCH4SSA CHSSA<31:0>
15:0 xxxx
31:16 xxxx
13A0 DCH4DSA CHDSA<31:0>
15:0 xxxx
31:16 0000
13B0 DCH4SSIZ
15:0 CHSSIZ<15:0> xxxx
31:16 0000
13C0 DCH4DSIZ
15:0 CHDSIZ<15:0> xxxx
31:16 0000
13D0 DCH4SPTR
15:0 CHSPTR<15:0> 0000
31:16 0000
13E0 DCH4DPTR
15:0 CHDPTR<15:0> 0000
31:16 0000
13F0 DCH4CSIZ
15:0 CHCSIZ<15:0> xxxx
31:16 0000
1400 DCH4CPTR
15:0 CHCPTR<15:0> 0000
31:16 0000
1410 DCH4DAT
15:0 CHPDAT<15:0> xxxx
31:16 CHPIGN<7:0> 7700
1420 DCH5CON
15:0 CHBUSY CHPIGNEN CHPATLEN CHCHNS CHEN CHAED CHCHN CHAEN CHEDET CHPRI<1:0> 0000
31:16 CHAIRQ<7:0> 00FF
1430 DCH5ECON
15:0 CHSIRQ<7:0> CFORCE CABORT PATEN SIRQEN AIRQEN FF00
31:16 CHSDIE CHSHIE CHDDIE CHDHIE CHBCIE CHCCIE CHTAIE CHERIE 0000
1440 DCH5INT
15:0 CHSDIF CHSHIF CHDDIF CHDHIF CHBCIF CHCCIF CHTAIF CHERIF 0000
31:16 xxxx
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
14A0 DCH5DPTR
15:0 CHDPTR<15:0> 0000
31:16 0000
14B0 DCH5CSIZ
15:0 CHCSIZ<15:0> xxxx
31:16 0000
14C0 DCH5CPTR
15:0 CHCPTR<15:0> 0000
31:16 0000
14D0 DCH5DAT
15:0 CHPDAT<15:0> xxxx
31:16 CHPIGN<7:0> 7700
14E0 DCH6CON
15:0 CHBUSY CHPIGNEN CHPATLEN CHCHNS CHEN CHAED CHCHN CHAEN CHEDET CHPRI<1:0> 0000
31:16 CHAIRQ<7:0>
31:16 0000
1590 DCH6DAT
15:0 CHPDAT<15:0> xxxx
31:16 CHPIGN<7:0> 7700
15A0 DCH7CON
15:0 CHBUSY CHPIGNEN CHPATLEN CHCHNS CHEN CHAED CHCHN CHAEN CHEDET CHPRI<1:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
DS60001361E-page 184
TABLE 10-3: DMA CHANNEL 0 THROUGH CHANNEL 7 REGISTER MAP (CONTINUED)
All Resets
Bit Range
(BF81_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: When WBO = 1, unaligned transfers are not supported and the CRCAPP bit cannot be set.
Note 1: When WBO = 1, unaligned transfers are not supported and the CRCAPP bit cannot be set.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: The chain selection bit takes effect when chaining is enabled (i.e., CHCHN = 1).
2: When the channel is suspended by clearing this bit, the user application should poll the CHBUSY bit (if
available on the device variant) to see when the channel is suspended, as it may take some clock cycles
to complete a current transaction before the channel is suspended.
Note 1: The chain selection bit takes effect when chaining is enabled (i.e., CHCHN = 1).
2: When the channel is suspended by clearing this bit, the user application should poll the CHBUSY bit (if
available on the device variant) to see when the channel is suspended, as it may take some clock cycles
to complete a current transaction before the channel is suspended.
Note 1: See Table 7-2: Interrupt IRQ, Vector and Bit Location for the list of available interrupt IRQ sources.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: When in Pattern Detect mode, this register is reset on a pattern detect.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: When in Pattern Detect mode, this register is reset on a pattern detect.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
UPLLFSEL
Endpoint Control
DMA
EP0 EPO Transmit Requests
Control Control EP1 - EP7
Host Function Control Receive
Host Interrupt
Control Interrupts
Combine Endpoints Transaction
Scheduler EP Reg
Decoder
Common
Regs
Link Power
Management
RAM
11.1 USB OTG Control Registers
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
Register
Address
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 EP7TXIF EP6TXIF EP5TXIF EP4TXIF EP3TXIF EP2TXIF EP1TXIF EP0IF 0000
SOFT
3000 USBCSR0 ISOUPD(1) SUSP FUNC<6:0>(1)
15:0 CONN(1) HSEN HSMODE RESET RESUME SUSPEN 2000
MODE
(2) (2) (2) (2) (2) (2) (2) (2) (2)
31:16 EP7TXIE EP6TXIE EP5TXIE EP4TXIE EP3TXIE EP2TXIE EP1TXIE EP0IE 00FF
3004 USBCSR1
15:0 EP7RXIF EP6RXIF EP5RXIF EP4RXIF EP3RXIF EP2RXIF EP1RXIF 0000
31:16 VBUSIE SESSRQIE DISCONIE CONNIE SOFIE RESETIE RESUMEIE SUSPIE VBUSIF SESSREQIF DISCONIF CONNIF SOFIF RESETIF RESUMEIF SUSPIF 0600
3008 USBCSR2
15:0 EP7RXIE EP6RXIE EP5RXIE EP4RXIE EP3RXIE EP2RXIE EP1RXIE 00FE
31:16 FORCEHST FIFOACC FORCEFS FORCEHS PACKET TESTK TESTJ NAK ENDPOINT<3:0> 0000
300C USBCSR3
15:0 RFRMNUM<10:0> 0000
All Resets
Bit Range
Address
Register
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
3088
E1TXA 15:0 TXFADDR<6:0> 0000
USB 31:16 RXHUBPRT<6:0> MULTTRAN RXHUBADD<6:0> 0000
308C
E1RXA 15:0 RXFADDR<6:0> 0000
USB 31:16 TXHUBPRT<6:0> MULTTRAN TXHUBADD<6:0> 0000
3090
E2TXA 15:0 TXFADDR<6:0> 0000
USB 31:16 RXHUBPRT<6:0> MULTTRAN RXHUBADD<6:0> 0000
3094
E2RXA 15:0 RXFADDR<6:0> 0000
USB 31:16 TXHUBPRT<6:0> MULTTRAN TXHUBADD<6:0> 0000
3098
E3TXA 15:0 TXFADDR<6:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: Device mode.
2: Host mode.
3: Definition for Endpoint 0 (ENDPOINT<3:0> (USBCSR<19:16>) = 0).
4: Definition for Endpoints 1-7 (ENDPOINT<3:0> (USBCSR<19:16>) = 1 through 7).
TABLE 11-1: USB REGISTER MAP 1 (CONTINUED)
2015-2017 Microchip Technology Inc.
Bits
All Resets
Bit Range
Address
Register
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
Address
Register
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bits
All Resets
Bit Range
Address
Register
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
Address
Register
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
330C
E3RPC 15:0 RQPKTCNT<15:0> 0000
USB 31:16 0000
3310
E4RPC 15:0 RQPKTCNT<15:0> 0000
USB 31:16 0000
3314
E5RPC 15:0 RQPKTCNT<15:0> 0000
USB 31:16 0000
3318
E6RPC 15:0 RQPKTCNT<15:0> 0000
USB 31:16 0000
331C
E7RPC 15:0 RQPKTCNT<15:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: Device mode.
2: Host mode.
3: Definition for Endpoint 0 (ENDPOINT<3:0> (USBCSR<19:16>) = 0).
4: Definition for Endpoints 1-7 (ENDPOINT<3:0> (USBCSR<19:16>) = 1 through 7).
TABLE 11-1: USB REGISTER MAP 1 (CONTINUED)
2015-2017 Microchip Technology Inc.
Bits
All Resets
Bit Range
Address
Register
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
USB 31:16 EP7TXD EP6TXD EP5TXD EP4TXD EP3TXD EP2TXD EP1TXD 0000
3340
DPBFD 15:0 EP7RXD EP6RXD EP5RXD EP4RXD EP3RXD EP2RXD EP1RXD 0000
USB 31:16 THHSRTN<15:0> 05E6
3344
TMCON1 15:0 TUCH<15:0> 4074
USB 31:16 0000
3348
TMCON2 15:0 THSBT<3:0> 0000
LPM LPM LPMNAK(1) LPMEN<1:0> 0000
USB 31:16 LPMACKIE LPMNYIE LPMSTIE LPMTOIE LPMRES LPMXMT
3360 ERRIE RESIE (2) (2) (2) 0000
LPMR1
15:0 ENDPOINT<3:0> RMTWAK HIRD<3:0> LNKSTATE<3:0> 0000
31:16 0000
USB
3364 15:0 LPMERR(1) 0000
LMPR2 LPMFADDR<6:0> LPMRES LPMNC LPMACK LPMNY LPMST
(2)
All Resets
Bit Range
Address
Register
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
7:0 FUNC<6:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-24 TXINTERV<7:0>: Endpoint TX Polling Interval/NAK Limit bits (Host mode)
For Interrupt and Isochronous transfers, this field defines the polling interval for the endpoint. For Bulk end-
points, this field sets the number of frames/microframes after which the endpoint should time out on receiving
a stream of NAK responses.
The following table describes the valid values and interpretation for these bits:
bit 23-22 SPEED<1:0>: TX Endpoint Operating Speed Control bits (Host mode)
11 = Low-Speed
10 = Full-Speed
01 = Hi-Speed
00 = Reserved
bit 21-20 PROTOCOL<1:0>: TX Endpoint Protocol Control bits
11 = Interrupt
10 = Bulk
01 = Isochronous
00 = Control
bit 19-16 TEP<3:0>: TX Target Endpoint Number bits
This value is the endpoint number contained in the TX endpoint descriptor returned to the USB module during
device enumeration.
bit 15-14 Unimplemented: Read as 0
bit 13-0 RXCNT<13:0>: Receive Count bits
The number of received data bytes in the endpoint RX FIFO. The value returned changes as the contents of
the FIFO change and is only valid while RXPKTRDY is set.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
B device:
1 = (Read) Session has started or is in progress, (Write) Initiate the Session Request Protocol
0 = When USB module is in Suspend mode, clearing this bit will cause a software disconnect
Clearing this bit when the USB module is not suspended will result in undefined behavior.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
REGISTER 11-22: USBDMAxA: USB DMA CHANNEL x MEMORY ADDRESS REGISTER (x = 1-8)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
31:24
DMAADDR<31:24>
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
23:16
DMAADDR<23:16>
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
15:8
DMAADDR<15:8>
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R-0 R-0
7:0
DMAADDR<7:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
REGISTER 11-24: USBExRPC: USB ENDPOINT x REQUEST PACKET COUNT REGISTER (HOST
MODE ONLY) (x = 1-7)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
15:8
RQPKTCNT<15:8>
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
7:0
RQPKTCNT<7:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Use of this register will allow the Hi-Speed time-out to be set to values that are greater than the maximum
specified in the USB 2.0 specification, making the USB module non-compliant.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Use of this register will allow the Hi-Speed time-out to be set to values that are greater than the maximum
specified in the USB 2.0 specification, making the USB module non-compliant.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Data Bus D Q
PBCLK4 CK ODC
EN Q
WR ODC
1 I/O Cell
RD TRIS 0
0
1
D Q
TRIS 1
CK
EN Q 0
WR TRIS
Output Multiplexers
D Q
CK LAT I/O Pin
EN Q
WR LAT
WR PORT
RD LAT SRCON0x
1 SRCON1x
RD PORT
0 Q D Q D
Sleep Q CK Q CK
PBCLK4
Synchronization
Peripheral Input R
Peripheral Input Buffer
Legend: R = Peripheral input buffer types may vary. Refer to Table 1-1 for peripheral details.
Note: This block diagram is a general representation of a shared port/peripheral structure for illustration purposes only. The actual structure
for any specific port/peripheral combination may be different than it is shown here.
U1RXR<3:0>
0
RPD2
1
RPG8
2 U1RX input
RPF4 to peripheral
n
RPn
14
REFCLKO1
15
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0000 ANSELA
15:0 ANSA10 ANSA9 ANSA5 ANSA1 0622
31:16 0000
0010 TRISA
15:0 TRISA15 TRISA14 TRISA10 TRISA9 TRISA7 TRISA6 TRISA5 TRISA4 TRISA3 TRISA2 TRISA1 TRISA0 C6FF
31:16 0000
0020 PORTA
15:0 RA15 RA14 RA10 RA9 RA7 RA6 RA5 RA4 RA3 RA2 RA1 RA0 xxxx
31:16 0000
0030 LATA
15:0 LATA15 LATA14 LATA10 LATA9 LATA7 LATA6 LATA5 LATA4 LATA3 LATA2 LATA1 LATA0 xxxx
31:16 0000
0040 ODCA
15:0 ODCA15 ODCA14 ODCA10 ODCA9 ODCA7 ODCA6 ODCA5 ODCA4 ODCA3 ODCA2 ODCA1 ODCA0 0000
31:16 0000
0050 CNPUA
15:0 CNPUA15 CNPUA14 CNPUA10 CNPUA9 CNPUA7 CNPUA6 CNPUA5 CNPUA4 CNPUA3 CNPUA2 CNPUA1 CNPUA0 0000
31:16 0000
0060 CNPDA
15:0 CNPDA15 CNPDA14 CNPDA10 CNPDA9 CNPDA7 CNPDA6 CNPDA5 CNPDA4 CNPDA3 CNPDA2 CNPDA1 CNPDA0 0000
31:16 0000
0070 CNCONA EDGE 0000
15:0 ON
DETECT
31:16 0000
0080 CNENA
15:0 CNIEA15 CNIEA14 CNIEA10 CNIEA9 CNIEA7 CNIEA6 CNIEA5 CNIEA4 CNIEA3 CNIEA2 CNIEA1 CNIEA0 0000
31:16 0000
0090 CNSTATA CN CN CN CN CN CN CN CN CN CN CN CN 0000
15:0
STATA15 STATA14 STATA10 STATA9 STATA7 STATA6 STATA5 STATA4 STATA3 STATA2 STATA1 STATA0
2015-2017 Microchip Technology Inc.
31:16 0000
00A0 CNNEA
15:0 CNNEA15 CNNEA14 CNNEA10 CNNEA9 CNNEA7 CNNEA6 CNNEA5 CNNEA4 CNNEA3 CNNEA2 CNNEA1 CNNEA0 0000
31:16 0000
00B0 CNFA
15:0 CNFA15 CNFA14 CNFA10 CNFA9 CNFA7 CNFA76 CNFA5 CNFA4 CNFA3 CNFA2 CNFA1 CNFA0 0000
31:16 0000
00C0 SRCON0A
15:0 SR1A15 SR1A14 SR1A10 SR1A9 SR1A7 SR1A6 SR1A5 SR1A4 SR1A3 SR1A2 SR1A1 SR1A0 0000
31:16 0000
00D0 SRCON1A
15:0 SR0A15 SR0A14 SR0A10 SR0A9 SR0A7 SR0A6 SR0A5 SR0A4 SR0A3 SR0A2 SR0A1 SR0A0 0000
Legend: x = Unknown value on Reset; = Unimplemented, read as 0; Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
TABLE 12-4: PORTB REGISTER MAP
2015-2017 Microchip Technology Inc.
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0100 ANSELB
15:0 ANSB15 ANSB14 ANSB13 ANSB12 ANSB11 ANSB10 ANSB9 ANSB8 ANSB7 ANSB5 ANSB4 ANSB3 ANSB2 ANSB1 ANSB0 FFBF
31:16 0000
0110 TRISB
15:0 TRISB15 TRISB14 TRISB13 TRISB12 TRISB11 TRISB10 TRISB9 TRISB8 TRISB7 TRISB6 TRISB5 TRISB4 TRISB3 TRISB2 TRISB1 TRISB0 FFFF
31:16 0000
0120 PORTB
15:0 RB15 RB14 RB13 RB12 RB11 RB10 RB9 RB8 RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 xxxx
31:16 0000
0130 LATB
15:0 LATB15 LATB14 LATB13 LATB12 LATB11 LATB10 LATB9 LATB8 LATB7 LATB6 LATB5 LATB4 LATB3 LATB2 LATB1 LATB0 xxxx
31:16 0000
0140 ODCB
15:0 ODCB15 ODCB14 ODCB13 ODCB12 ODCB11 ODCB10 ODCB9 ODCB8 ODCB7 ODCB6 ODCB5 ODCB4 ODCB3 ODCB2 ODCB1 ODCB0 0000
31:16 0000
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
DS60001361E-page 262
TABLE 12-5: PORTC REGISTER MAP
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0200 ANSELC
15:0 ANSC4 ANSC3 ANSC2 ANSC1 001E
31:16 0000
0210 TRISC
15:0 TRISC15 TRISC12 TRISC4 TRISC3 TRISC2 TRISC1 901E
31:16 0000
0220 PORTC
15:0 RC15 RC14 RC13 RC12 RC4 RC3 RC2 RC1 xxxx
31:16 0000
0230 LATC
15:0 LATC15 LATC14 LATC13 LATC12 LATC4 LATC3 LATC2 LATC1 xxxx
31:16 0000
0240 ODCC
15:0 ODCC15 ODCC14 ODCC13 ODCC12 ODCC4 ODCC3 ODCC2 ODCC1 0000
31:16 0000
0250 CNPUC
15:0 CNPUC15 CNPUC14 CNPUC13 CNPUC12 CNPUC4 CNPUC3 CNPUC2 CNPUC1 0000
31:16 0000
0260 CNPDC
15:0 CNPDC15 CNPDC14 CNPDC13 CNPDC12 CNPDC4 CNPDC3 CNPDC2 CNPDC1 0000
31:16 0000
0270 CNCONC EDGE
15:0 ON 0000
DETECT
31:16 0000
0280 CNENC
15:0 CNIEC15 CNIEC14 CNIEC13 CNIEC12 CNIEC4 CNIEC3 CNIEC2 CNIEC1 0000
31:16 0000
0290 CNSTATC
15:0 CNSTATC15 CNSTATC14 CNSTATC13 CNSTATC12 CNSTATC4 CNSTATC3 CNSTATC2 CNSTATC1 0000
31:16 0000
02A0 CNNEC
15:0 CNNEC15 CNNEC14 CNNEC13 CNNEC12 CNNEC4 CNNEC3 CNNEC2 CNNEC1 0000
31:16 0000
02B0 CNFC
15:0 CNFC15 CNFC14 CNFC13 CNFC12 CNFC4 CNFC3 CNFC2 CNFC1 0000
2015-2017 Microchip Technology Inc.
31:16 0000
02C0 SRCON0C
15:0 SR1C15 SR1C14 SR1C13 SR1C12 SR1C4 SR1C3 SR1C2 SR1C1 0000
31:16 0000
02D0 SRCON1C
15:0 SR0C15 SR0C14 SR0C13 SR0C12 SR0C4 SR0C3 SR0C2 SR0C1 0000
Legend: x = Unknown value on Reset; = Unimplemented, read as 0; Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
TABLE 12-6: PORTD REGISTER MAP
2015-2017 Microchip Technology Inc.
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0300 ANSELD
15:0 ANSD15 ANSD14 C000
31:16 0000
0310 TRISD
15:0 TRISD15 TRISD14 TRISD13 TRISD12 TRISD11 TRISD10 TRISD9 TRISD7 TRISD6 TRISD5 TRISD4 TRISD3 TRISD2 TRISD1 TRISD0 FEFF
31:16 0000
0320 PORTD
15:0 RD15 RD14 RD13 RD12 RD11 RD10 RD9 RD7 RD6 RD5 RD4 RD3 RD2 RD1 RD0 xxxx
31:16 0000
0330 LATD
15:0 LATD15 LATD14 LATD13 LATD12 LATD11 LATD10 LATD9 LATD7 LATD6 LATD5 LATD4 LATD3 LATD2 LATD1 LATD0 xxxx
31:16 0000
0340 ODCD
15:0 ODCD15 ODCD14 ODCD13 ODCD12 ODCD11 ODCD10 ODCD9 ODCD7 ODCD6 ODCD5 ODCD4 ODCD3 ODCD2 ODCD1 ODCD0 0000
31:16 0000
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
DS60001361E-page 264
TABLE 12-7: PORTE REGISTER MAP
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0400 ANSELE
15:0 ANSE9 ANSE8 ANSE7 ANSE6 ANSE4 ANSE1 03D2
31:16 0000
0410 TRISE
15:0 TRISE9 TRISE8 TRISE7 TRISE6 TRISE5 TRISE4 TRISE3 TRISE2 TRISE1 TRISE0 03FF
31:16 0000
0420 PORTE
15:0 RE9 RE8 RE7 RE6 RE5 RE4 RE3 RE2 RE1 RE0 xxxx
31:16 0000
0430 LATE
15:0 LATE9 LATE8 LATE7 LATE6 LATE5 LATE4 LATE3 LATE2 LATE1 LATE0 xxxx
31:16 0000
0440 ODCE
15:0 ODCE9 ODCE8 ODCE7 ODCE6 ODCE5 ODCE4 ODCE3 ODCE2 ODCE1 ODCE0 0000
31:16 0000
0450 CNPUE
15:0 CNPUE9 CNPUE8 CNPUE7 CNPUE6 CNPUE5 CNPUE4 CNPUE3 CNPUE2 CNPUE1 CNPUE0 0000
31:16 0000
0460 CNPDE
15:0 CNPDE9 CNPDE8 CNPDE7 CNPDE6 CNPDE5 CNPDE4 CNPDE3 CNPDE2 CNPDE1 CNPDE0 0000
31:16 0000
0470 CNCONE EDGE
15:0 ON 0000
DETECT
31:16 0000
0480 CNENE
15:0 CNIEE9 CNIEE8 CNIEE7 CNIEE6 CNIEE5 CNIEE4 CNIEE3 CNIEE2 CNIEE1 CNIEE0 0000
31:16 0000
0490 CNSTATE CN CN CN CN CN CN CN CN CN CN
15:0 0000
STATE9 STATE8 STATE7 STATE6 STATE5 STATE4 STATE3 STATE2 STATE1 STATE0
31:16 0000
04A0 CNNEE
15:0 CNNEE9 CNNEE8 CNNEE7 CNNEE6 CNNEE5 CNNEE4 CNNEE3 CNNEE2 CNNEE1 CNNEE0 0000
31:16 0000
04B0 CNFE
15:0 CNFE9 CNFE8 CNFE7 CNFE6 CNFE5 CNFE4 CNFE3 CNFE2 CNFE1 CNFE0
2015-2017 Microchip Technology Inc.
0000
31:16 0000
04C0 SRCON0E
15:0 SR1E9 SR1E8 SR1E7 SR1E6 SR1E5 SR1E4 SR1E3 SR1E2 SR1E1 SR1E0 0000
31:16 0000
04D0 SRCON1E
15:0 SR0E9 SR0E8 SR0E7 SR0E6 SR0E5 SR0E4 SR0E3 SR0E2 SR0E1 SR0E0 0000
Legend: x = Unknown value on Reset; = Unimplemented, read as 0; Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
TABLE 12-8: PORTF REGISTER MAP
2015-2017 Microchip Technology Inc.
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0500 ANSELF
15:0 ANSF13 ANSF12 3000
31:16 0000
0510 TRISF
15:0 TRISF13 TRISF12 TRISF8 TRISF5 TRISF4 TRISF3 TRISF2 TRISF1 TRISF0 313F
31:16 0000
0520 PORTF
15:0 RF13 RF12 RF8 RF5 RF4 RF3 RF2 RF1 RF0 xxxx
31:16 0000
0530 LATF
15:0 LATF13 LATF12 LATF8 LATF5 LATF4 LATF3 LATF2 LATF1 LATF0 xxxx
31:16 0000
0540 ODCF
15:0 ODCF13 ODCF12 ODCF8 ODCF5 ODCF4 ODCF3 ODCF2 ODCF1 ODCF0 0000
31:16 0000
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
DS60001361E-page 266
TABLE 12-9: PORTG REGISTER MAP
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0600 ANSELG
15:0 ANSG15 ANSG9 ANSG8 ANSG7 ANSG6 83C0
31:16 0000
0610 TRISG
15:0 TRISG15 TRISG14 TRISG13 TRISG12 TRISG9 TRISG8 TRISG7 TRISG6 TRISG1 TRISG0 F3C3
31:16 0000
0620 PORTG
15:0 RG15 RG14 RG13 RG12 RG9 RG8 RG7 RG6 RG1 RG0 xxxx
31:16 0000
0630 LATG
15:0 LATG15 LATG14 LATG13 LATG12 LATG9 LATG8 LATG7 LATG6 LATG1 LATG0 xxxx
31:16 0000
0640 ODCG
15:0 ODCG15 ODCG14 ODCG13 ODCG12 ODCG9 ODCG8 ODCG7 ODCG6 ODCG1 ODCG0 0000
31:16 0000
0650 CNPUG
15:0 CNPUG15 CNPUG14 CNPUG13 CNPUG12 CNPUG9 CNPUG8 CNPUG7 CNPUG6 CNPUG1 CNPUG0 0000
31:16 0000
0660 CNPDG
15:0 CNPDG15 CNPDG14 CNPDG13 CNPDG12 CNPDG9 CNPDG8 CNPDG7 CNPDG6 CNPDG1 CNPDG0 0000
31:16 0000
0670 CNCONG EDGE
15:0 ON 0000
DETECT
31:16 0000
0680 CNENG
15:0 CNIEG15 CNIEG14 CNIEG13 CNIEG12 CNIEG9 CNIEG8 CNIEG7 CNIEG6 CNIEG1 CNIEG0 0000
31:16 0000
0690 CNSTATG CN CN CN CN CN CN CN CN CN CN
15:0 0000
STATG15 STATG14 STATG13 STATG12 STATG9 STATG8 STATG7 STATG6 STATG1 STATG0
31:16 0000
06A0 CNNEG
15:0 CNNEG15 CNNEG14 CNNEG13 CNNEG12 CNNEG9 CNNEG8 CNNEG7 CNNEG6 CNNEG1 CNNEG0 0000
31:16 0000
06B0 CNFG
15:0 CNFG15 CNFG14 CNFG13 CNFG12 CNFG9 CNFG8 CNFG7 CNFG6 CNFG1 CNFG0
2015-2017 Microchip Technology Inc.
0000
31:16 0000
06C0 SRCON0G
15:0 SR1G15 SR1G14 SR1G13 SR1G12 SR1G9 SR1G9 SR1G7 SR1G6 SR1G1 SR1G0 0000
31:16 0000
06D0 SRCON1G
15:0 SR0G15 SR0G14 SR0G13 SR0G12 SR0G9 SR0G8 SR0G7 SR0G6 SR0G1 SR0G0 0000
Legend: x = Unknown value on Reset; = Unimplemented, read as 0; Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8, and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
TABLE 12-10: PORTH REGISTER MAP
2015-2017 Microchip Technology Inc.
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0700 ANSELH
15:0 ANSH11 ANSH7 ANSH4 ANSH3 0898
31:16 0000
0710 TRISH
15:0 TRISH15 TRISH14 TRISH13 TRISH12 TRISH11 TRISH10 TRISH9 TRISH8 TRISH7 TRISH6 TRISH5 TRISH4 TRISH3 TRISH2 TRISH1 TRISH0 FFFF
31:16 0000
0720 PORTH
15:0 RH15 RH14 RH13 RH12 RH11 RH10 RH9 RH8 RH7 RH6 RH5 RH4 RH3 RH2 RH1 RH0 xxxx
31:16 0000
0730 LATH
15:0 LATH15 LATH14 LATH13 LATH12 LATH11 LATH10 LATH9 LATH8 LATH7 LATH6 LATH5 LATH4 LATH3 LATH2 LATH1 LATH0 xxxx
31:16 0000
0740 ODCH
15:0 ODCH15 ODCH14 ODCH13 ODCH12 ODCH11 ODCH10 ODCH9 ODCH8 ODCH7 ODCH6 ODCH5 ODCH4 ODCH3 ODCH2 ODCH1 ODCH0 0000
31:16 0000
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8, and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
DS60001361E-page 268
TABLE 12-11: PORTJ REGISTER MAP
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0800 ANSELJ
15:0 ANSJ2 0004
31:16 0000
0810 TRISJ
15:0 TRISJ15 TRISJ14 TRISJ13 TRISJ12 TRISJ11 TRISJ10 TRISJ9 TRISJ8 TRISJ7 TRISJ6 TRISJ5 TRISJ4 TRISJ3 TRISJ2 TRISJ1 TRISJ0 FFFF
31:16 0000
0820 PORTJ
15:0 RJ15 RJ14 RJ13 RJ12 RJ11 RJ10 RJ9 RJ8 RJ7 RJ6 RJ5 RJ4 RJ3 RJ2 RJ1 RJ0 xxxx
31:16 0000
0830 LATJ
15:0 LATJ15 LATJ14 LATJ13 LATJ12 LATJ11 LATJ10 LATJ9 LATJ8 LATJ7 LATJ6 LATJ5 LATJ4 LATJ3 LATJ2 LATJ1 LATJ0 xxxx
31:16 0000
0840 ODCJ
15:0 ODCJ15 ODCJ14 ODCJ13 ODCJ12 ODCJ11 ODCJ10 ODCJ9 ODCJ18 ODCJ7 ODCJ6 ODCJ5 ODCJ4 ODCJ3 ODCJ2 ODCJ1 ODCJ0 0000
31:16 0000
0850 CNPUJ
15:0 CNPUJ15 CNPUJ14 CNPUJ13 CNPUJ12 CNPUJ11 CNPUJ10 CNPUJ9 CNPUJ8 CNPUJ7 CNPUJ6 CNPUJ5 CNPUJ4 CNPUJ3 CNPUJ2 CNPUJ1 CNPUJ0 0000
31:16 0000
0860 CNPDJ
15:0 CNPDJ15 CNPDJ14 CNPDJ13 CNPDJ12 CNPDJ11 CNPDJ10 CNPDJ9 CNPDJ8 CNPDJ7 CNPDJ6 CNPDJ5 CNPDJ4 CNPDJ3 CNPDJ2 CNPDJ1 CNPDJ0 0000
31:16 0000
0870 CNCONJ EDGE
15:0 ON 0000
DETECT
31:16 0000
0880 CNENJ
15:0 CNIEJ15 CNIEJ14 CNIEJ13 CNIEJ12 CNIEJ11 CNIEJ10 CNIEJ9 CNIEJ8 CNIEJ7 CNIEJ6 CNIEJ5 CNIEJ4 CNIEJ3 CNIEJ2 CNIEJ1 CNIEJ0 0000
31:16 0000
0890 CNSTATJ CN CN CN CN CN CN CN CN CN CN CN CN CN CN CN CN
15:0 0000
STATJ15 STATJ14 STATJ13 STATJ12 STATJ11 STATJ10 STATJ9 STATJ8 STATJ7 STATJ6 STATJ5 STATJ4 STATJ3 STATJ2 STATJ1 STATJ0
31:16 0000
08A0 CNNEJ
15:0 CNNEJ15 CNNEJ14 CNNEJ13 CNNEJ12 CNNEJ11 CNNEJ10 CNNEJ9 CNNEJ8 CNNEJ7 CNNEJ6 CNNEJ5 CNNEJ4 CNNEJ3 CNNEJ2 CNNEJ1 CNNEJ0 0000
31:16 0000
08B0 CNFJ
15:0 CNFJ15 CNFJ14 CNFJ13 CNFJ12 CNFJ11 CNFJ10 CNFJ9 CNFJ8 CNFJ7 CNFJ6 CNFJ5 CNFJ4 CNFJ3 CNFJ2 CNFJ1 CNFJ0 0000
2015-2017 Microchip Technology Inc.
31:16 0000
08C0 SRCON0J
15:0 SR1J15 SR1J14 SR1J13 SR1J12 SR1J11 SR1J10 SR1J9 SR1J8 SR1J7 SR1J6 SR1J5 SR1J4 SR1J3 SR1J2 SR1J1 SR1J0 0000
31:16 0000
08D0 SRCON1J
15:0 SR0J15 SR0J14 SR0J13 SR0J12 SR0J11 SR0J10 SR0J9 SR0J8 SR0J7 SR0J6 SR0J5 SR0J4 SR0J3 SR0J2 SR0J1 SR0J0 0000
Legend: x = Unknown value on Reset; = Unimplemented, read as 0; Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8, and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
TABLE 12-12: PORTK REGISTER MAP
2015-2017 Microchip Technology Inc.
Bit Range
(BF86_#)
Register
Name(1)
Resets
All
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0900 ANSELK
15:0 ANSK2 ANSK1 0006
31:16 0000
0910 TRISK
15:0 TRISK7 TRISK6 TRISK5 TRISK4 TRISK3 TRISK2 TRISK1 TRISK0 00E9
31:16 0000
0920 PORTK
15:0 RK7 RK6 RK5 RK4 RK3 RK2 RK1 RK0 xxxx
31:16 0000
0930 LATK
15:0 LATK7 LATK6 LATK5 LATK4 LATK3 LATK2 LATK1 LATK0 xxxx
31:16 0000
0940 ODCK
15:0 ODCK7 ODCK6 ODCK5 ODCK4 ODCK3 ODCK2 ODCK1 ODCK0 0000
31:16 0000
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8, and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
TABLE 12-13: PERIPHERAL PIN SELECT INPUT REGISTER MAP
DS60001361E-page 270
Virtual Address
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1404 INT1R
15:0 INT1R<3:0> 0000
31:16 0000
1408 INT2R
15:0 INT2R<3:0> 0000
31:16 0000
140C INT3R
15:0 INT3R<3:0> 0000
31:16 0000
1410 INT4R
15:0 INT4R<3:0> 0000
31:16 0000
1418 T2CKR
15:0 T2CKR<3:0> 0000
31:16 0000
141C T3CKR
15:0 T3CKR<3:0> 0000
31:16 0000
1420 T4CKR
15:0 T4CKR<3:0> 0000
31:16 0000
1424 T5CKR
15:0 T5CKR<3:0> 0000
31:16 0000
1428 T6CKR
15:0 T6CKR<3:0> 0000
31:16 0000
142C T7CKR
15:0 T7CKR<3:0> 0000
31:16 0000
1430 T8CKR
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1444 IC4R
15:0 IC4R<3:0> 0000
31:16 0000
1448 IC5R
15:0 IC5R<3:0> 0000
31:16 0000
144C IC6R
15:0 IC6R<3:0> 0000
31:16 0000
1450 IC7R
15:0 IC7R<3:0> 0000
31:16 0000
31:16 0000
1480 U4RXR
15:0 U4RXR<3:0> 0000
31:16 0000
1484 U4CTSR
15:0 U4CTSR<3:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
DS60001361E-page 272
TABLE 12-13: PERIPHERAL PIN SELECT INPUT REGISTER MAP (CONTINUED)
Virtual Address
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1488 U5RXR
15:0 U5RXR<3:0> 0000
31:16 0000
148C U5CTSR
15:0 U5CTSR<3:0> 0000
31:16 0000
1490 U6RXR
15:0 U6RXR<3:0> 0000
31:16 0000
1494 U6CTSR
15:0 U6CTSR<3:0> 0000
31:16 0000
149C SDI1R
15:0 SDI1R<3:0> 0000
31:16 0000
14A0 SS1R
15:0 SS1R<3:0> 0000
31:16 0000
14A8 SDI2R
15:0 SDI2R<3:0> 0000
31:16 0000
14AC SS2R
15:0 SS2R<3:0> 0000
31:16 0000
14B4 SDI3R
15:0 SDI3R<3:0> 0000
31:16 0000
14B8 SS3R
15:0 SS3R<3:0> 0000
31:16 0000
14C0 SDI4R
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
14DC SS6R
15:0 SS6R<3:0> 0000
31:16 0000
14E0 C1RXR(1)
15:0 C1RXR<3:0> 0000
31:16 0000
14E4 C2RXR(1)
15:0 C2RXR<3:0> 0000
31:16 0000
14E8 REFCLKI1R
15:0 REFCLKI1R<3:0> 0000
31:16 0000
Virtual Address
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1538 RPA14R
15:0 RPA14R<3:0> 0000
31:16 0000
153C RPA15R
15:0 RPA15R<3:0> 0000
31:16 0000
1540 RPB0R
15:0 RPB0R<3:0> 0000
31:16 0000
1544 RPB1R
15:0 RPB1R<3:0> 0000
31:16 0000
1548 RPB2R
15:0 RPB2R<3:0> 0000
31:16 0000
154C RPB3R
15:0 RPB3R<3:0> 0000
31:16 0000
1554 RPB5R
15:0 RPB5R<3:0> 0000
31:16 0000
1558 RPB6R
15:0 RPB6R<3:0> 0000
31:16 0000
155C RPB7R
15:0 RPB7R<3:0> 0000
31:16 0000
1560 RPB8R
15:0 RPB8R<3:0> 0000
31:16 0000
1564 RPB9R
15:0 RPB9R<3:0> 0000
31:16 0000
1568 RPB10R
15:0 RPB10R<3:0> 0000
31:16 0000
157C RPB15R
15:0 RPB15R<3:0>
2015-2017 Microchip Technology Inc.
0000
31:16 0000
1584 RPC1R
15:0 RPC1R<3:0> 0000
31:16 0000
1588 RPC2R
15:0 RPC2R<3:0> 0000
31:16 0000
158C RPC3R
15:0 RPC3R<3:0> 0000
31:16 0000
15B4 RPC13R
15:0 RPC13R<3:0> 0000
31:16 0000
15B8 RPC14R
15:0 RPC14R<3:0> 0000
31:16 0000
15C0 RPD0R
15:0 RPD0R<3:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
TABLE 12-14: PERIPHERAL PIN SELECT OUTPUT REGISTER MAP (CONTINUED)
2015-2017 Microchip Technology Inc.
Bits
Virtual Address
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
15C8 RPD2R
15:0 RPD2R<3:0> 0000
31:16 0000
15CC RPD3R
15:0 RPD3R<3:0> 0000
31:16 0000
15D0 RPD4R
15:0 RPD4R<3:0> 0000
31:16 0000
15D4 RPD5R
15:0 RPD5R<3:0> 0000
31:16 0000
15D8 RPD6R
15:0 RPD6R<3:0> 0000
31:16 0000
Virtual Address
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1654 RPF5R
15:0 RPF5R<3:0> 0000
31:16 0000
1660 RPF8R
15:0 RPF8R<3:0> 0000
31:16 0000
1670 RPF12R
15:0 RPG12R<3:0> 0000
31:16 0000
1680 RPG0R
15:0 RPG1R<3:0> 0000
31:16 0000
1684 RPG1R
15:0 RPG1R<3:0> 0000
31:16 0000
169C RPG7R
15:0 RPG7R<3:0> 0000
31:16 0000
16A0 RPG8R
15:0 RPG8R<3:0> 0000
31:16 0000
16A4 RPG9R
15:0 RPG9R<3:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Register values can only be changed if the IOLOCK Configuration bit (CFGCON<13>) = 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Register values can only be changed if the IOLOCK Configuration bit (CFGCON<13>) = 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
PR1
Equal
Trigger to ADC 16-bit Comparator TSYNC
1 Sync
TMR1
Reset
0
0
T1IF
Event Flag 1 Q D TGATE
Q TCS
TGATE
ON
x1
SOSC 00
Gate Prescaler
T1CK 01
Sync 10 1, 8, 64, 256
LPRC 10
PBCLK3 00
TECS<1:0> 2
TCKPS<1:0>
All Resets
Bit Range
(BF84_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0000 T1CON
15:0 ON SIDL TWDIS TWIP TECS<1:0> TGATE TCKPS<1:0> TSYNC TCS 0000
31:16 0000
0010 TMR1
15:0 TMR1<15:0> 0000
31:16 0000
0020 PR1
15:0 PR1<15:0> FFFF
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
PRx
0
TxIF Event Flag
1 Q D TGATE
Q TCS
TGATE
ON
TxCK x1
Prescaler
Gate 1, 2, 4, 8, 16,
Sync 10
32, 64, 256
PBCLK3 00
3
TCKPS
Note 1: The ADC event trigger is available on Timer3 and Timer5 only.
Reset
TMRy(2) TMRx(2) Sync
PRy(2) PRx(2)
0
TyIF Event Flag(2)
1 Q D TGATE
Q TCS
TGATE
ON
TxCK(2) x1
Prescaler
Gate 1, 2, 4, 8, 16,
Sync 10
32, 64, 256
PBCLK3 00
3
TCKPS
Note 1: ADC event trigger is available only on the Timer2/3 and TImer4/5 pairs.
2: In this diagram, x represents Timer2, 4, 6, or 8, and y represents Timer3, 5, 7, or 9.
TABLE 14-1:
Virtual Address TIMER2 THROUGH TIMER9 REGISTER MAP
Bits
All Resets
Bit Range
(BF84_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0200 T2CON
15:0 ON SIDL TGATE TCKPS<2:0> T32 TCS 0000
31:16 0000
0210 TMR2
15:0 TMR2<15:0> 0000
31:16 0000
0220 PR2
15:0 PR2<15:0> FFFF
31:16 0000
0400 T3CON
15:0 ON SIDL TGATE TCKPS<2:0> TCS 0000
31:16 0000
0410 TMR3
0000
0A20 PR6
15:0 PR2<15:0> FFFF
31:16 0000
0C00 T7CON
15:0 ON SIDL TGATE TCKPS<2:0> TCS 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
DS60001361E-page 286
TABLE 14-1: TIMER2 THROUGH TIMER9 REGISTER MAP (CONTINUED)
All Resets
Bit Range
(BF84_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0C10 TMR7
15:0 TMR3<15:0> 0000
31:16 0000
0C20 PR7
15:0 PR3<15:0> FFFF
31:16 0000
0E00 T8CON
15:0 ON SIDL TGATE TCKPS<2:0> T32 TCS 0000
31:16 0000
0E10 TMR8
15:0 TMR4<15:0> 0000
31:16 0000
0E20 PR8
15:0 PR4<15:0> FFFF
31:16 0000
1000 T9CON
15:0 ON SIDL TGATE TCKPS<2:0> TCS 0000
31:16 0000
1010 TMR9
15:0 TMR5<15:0> 0000
31:16 0000
1020 PR9
15:0 PR5<15:0> FFFF
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: While operating in 32-bit mode, this bit has no effect for odd numbered timers (Timer1, Timer3, Timer5,
Timer7, and Timer9). All timer functions are set through the even numbered timers.
2: While operating in 32-bit mode, this bit must be cleared on odd numbered timers to enable the 32-bit timer
in Idle mode.
3: This bit is available only on even numbered timers (Timer2, Timer4, Timer6, and Timer8).
Note 1: While operating in 32-bit mode, this bit has no effect for odd numbered timers (Timer1, Timer3, Timer5,
Timer7, and Timer9). All timer functions are set through the even numbered timers.
2: While operating in 32-bit mode, this bit must be cleared on odd numbered timers to enable the 32-bit timer
in Idle mode.
3: This bit is available only on even numbered timers (Timer2, Timer4, Timer6, and Timer8).
The Input Capture module is useful in applications Other operational features include:
requiring frequency (period) and pulse measurement. Device wake-up from capture pin during Sleep and
Idle modes
The Input Capture module captures the 16-bit or 32-bit
value of the selected Time Base registers when an Interrupt on input capture event
event occurs at the ICx pin. 4-word FIFO buffer for capture values; Interrupt
optionally generated after 1, 2, 3, or 4 buffer
locations are filled
Input capture can also be used to provide additional
sources of external interrupts
FEDGE ICM<2:0>
Specified/Every
Edge Mode 110
PBCLK3
Prescaler Mode 101 Timerx(2) Timery(2)
(16th Rising Edge)
C32/ICTMR
Prescaler Mode 100
(4th Rising Edge)
CaptureEvent To CPU
FIFO Control
Rising Edge Mode 011
ICx(1)
ICxBUF(1)
Falling Edge Mode 010 FIFO
ICI<1:0>
ICM<2:0>
Edge Detection 001
Mode
Note 1: An x in a signal, register or bit name denotes the number of the capture channel.
2: See Table 15-1 for Timerx and Timery selections.
All Resets
Bit Range
(BF84_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
2000 IC1CON(1)
15:0 ON SIDL FEDGE C32 ICTMR ICI<1:0> ICOV ICBNE ICM<2:0> 0000
31:16 xxxx
2010 IC1BUF IC1BUF<31:0>
15:0 xxxx
31:16 0000
2200 IC2CON(1)
15:0 ON SIDL FEDGE C32 ICTMR ICI<1:0> ICOV ICBNE ICM<2:0> 0000
31:16 xxxx
2210 IC2BUF IC2BUF<31:0>
15:0 xxxx
31:16 0000
2400 IC3CON(1)
15:0 ON SIDL FEDGE C32 ICTMR ICI<1:0> ICOV ICBNE ICM<2:0>
15:0 xxxx
31:16 0000
3000 IC9CON(1)
15:0 ON SIDL FEDGE C32 ICTMR ICI<1:0> ICOV ICBNE ICM<2:0> 0000
31:16 xxxx
3010 IC9BUF IC9BUF<31:0>
15:0 xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: This register has corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for more
information.
PIC32MZ Graphics (DA) Family
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit
-n = Bit Value at POR: (0, 1, x = unknown) P = Programmable bit r = Reserved bit
OCxRS(1)
Trigger to ADC(4)
Output S Q
OCxR(1) OCx(1)
Logic R
0 1 OCTSEL 0 1
16 16
Note 1: Where x is shown, reference is made to the registers associated with the respective output compare channels,
1 through 9.
2: The OCFA pin controls the OC1, OC3, and OC7-OC9 channels. The OCFB pin controls the OC4-OC6 channels.
3: Refer to Table 16-1 for Timerx and Timery selections.
4: The ADC event trigger is only available on OC1,OC3, and OC 5.
TABLE 16-2:
Virtual Address OUTPUT COMPARE 1 THROUGH OUTPUT COMPARE 9 REGISTER MAP
Bits
All Resets
Bit Range
(BF84_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
4000 OC1CON
15:0 ON SIDL OC32 OCFLT OCTSEL OCM<2:0> 0000
31:16 xxxx
4010 OC1R OC1R<31:0>
15:0 xxxx
31:16 xxxx
4020 OC1RS OC1RS<31:0>
15:0 xxxx
31:16 0000
4200 OC2CON
15:0 ON SIDL OC32 OCFLT OCTSEL OCM<2:0> 0000
31:16 xxxx
31:16 xxxx
4820 OC5RS OC5RS<31:0>
15:0 xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
DS60001361E-page 296
TABLE 16-2: OUTPUT COMPARE 1 THROUGH OUTPUT COMPARE 9 REGISTER MAP (CONTINUED)
All Resets
Bit Range
(BF84_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
4A00 OC6CON
15:0 ON SIDL OC32 OCFLT OCTSEL OCM<2:0> 0000
31:16 xxxx
4A10 OC6R OC6R<31:0>
15:0 xxxx
31:16 xxxx
4A20 OC6RS OC6RS<31:0>
15:0 xxxx
31:16 0000
4C00 OC7CON
15:0 ON SIDL OC32 OCFLT OCTSEL OCM<2:0> 0000
31:16 xxxx
4C10 OC7R OC7R<31:0>
15:0 xxxx
31:16 xxxx
4C20 OC7RS OC7RS<31:0>
15:0 xxxx
31:16 0000
4E00 OC8CON
15:0 ON SIDL OC32 OCFLT OCTSEL OCM<2:0> 0000
31:16 xxxx
4E10 OC8R OC8R<31:0>
15:0 xxxx
31:16 xxxx
4E20 OC8RS OC8RS<31:0>
15:0 xxxx
31:16 0000
5000 OC9CON
15:0 ON SIDL OC32 OCFLT OCTSEL OCM<2:0> 0000
31:16 xxxx
5010 OC9R OC9R<31:0>
15:0 xxxx
31:16
5020 OC9RS OC9RS<31:0> xxxx
15:0
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
2015-2017 Microchip Technology Inc.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
PIC32MZ Graphics (DA) Family
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This bit is only used when OCM<2:0> = 111. It is read as 0 in all other modes.
2: Refer to Table 16-1 for Timerx and Timery selections.
System Reset
System Reset
(COUNTER) DMT Window Interval(2)
Note 1: DMT Max Count is controlled by the DMTCNT<3:0> bits in the DEVCFG1 Configuration register.
2: DMT Window Interval is controlled by the DMTINTV<2:0> bits in the DEVCFG1 Configuration register.
3: Refer to Section 6.0 Resets for more information.
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0A00 DMTCON
15:0 ON 0000
31:16 0000
0A10 DMTPRECLR
15:0 STEP1<7:0> 0000
31:16 0000
0A20 DMTCLR
15:0 STEP2<7:0> 0000
31:16 0000
0A30 DMTSTAT
15:0 BAD1 BAD2 DMTEVENT WINOPN 0000
31:16 0000
0A40 DMTCNT COUNTER<31:0>
15:0 0000
31:16 0000
0A60 DMTPSCNT PSCNT<31:0>
15:0 0000
31:16 0000
0A70 DMTPSINTV PSINTV<31:0>
15:0 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
REGISTER 17-1: DMTCON: DEADMAN TIMER CONTROL REGISTER
Bit Bit Bit Bit Bit Bit Bit Bit
Bit Range
31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
R/W-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
15:8 (1)
ON
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
7:0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit
-n = Bit Value at POR: (0, 1, x = unknown) P = Programmable bit r = Reserved bit
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit
-n = Bit Value at POR: (0, 1, x = unknown) P = Programmable bit r = Reserved bit
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit
-n = Bit Value at POR: (0, 1, x = unknown) P = Programmable bit r = Reserved bit
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit
-n = Bit Value at POR: (0, 1, x = unknown) P = Programmable bit r = Reserved bit
REGISTER 17-6: DMTPSCNT: POST STATUS CONFIGURE DMT COUNT STATUS REGISTER
Bit Bit Bit Bit Bit Bit Bit Bit
Bit Range
31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
31:24
PSCNT<31:24>
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
23:16
PSCNT<23:16>
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
15:8
PSCNT<15:8>
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
7:0
PSCNT<7:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit
-n = Bit Value at POR: (0, 1, x = unknown) P = Programmable bit r = Reserved bit
bit 31-8 PSCNT<31:0>: DMT Instruction Count Value Configuration Status bits
This is always the value of the DMTCNT<3:0> bits in the DEVCFG1 Configuration register.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit
-n = Bit Value at POR: (0, 1, x = unknown) P = Programmable bit r = Reserved bit
Clock
ON
LPRC 25-bit Counter
WDTCLR = 1
ON 25
Wake 0
WDT Counter Reset WDT Event
ON 1 to NMI(1)
Reset Event
Power Save
Decoder
WDTPS<4:0> (DEVCFG1<20:16>)
All Resets
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
DSWDTEN (DEVCFG2<27>)
LPRC 0
SOSC 1
DSWDTOSC (DEVCFG2<26>)
Example: When DSWDTOSC = 1, DSWDTPS<4:0> bits = 00000, and the SOSC is 32 kHz, the Watchdog delay is set to 1 ms.
RTCC Prescalers
0.5 seconds YEAR, MTH, DAY
RTCC Timer RTCVAL WKDAY
Alarm HR, MIN, SEC
Event
Comparator
MTH, DAY
Compare Registers ALRMVAL WKDAY
with Masks
HR, MIN, SEC
Repeat Counter
RTCC Interrupt
Alarm Pulse
RTCC Interrupt Logic
Seconds Pulse
RTCC Pin
TRTC RTCOE
RTCOUTSEL<1:0>
All Resets
Bit Range
(BF8C_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: Hardware clears the ALRMEN bit anytime the alarm event occurs, when ARPT<7:0> = 00 and
CHIME = 0.
2: This field should not be written when the RTCC ON bit = 1 (RTCCON<15>) and ALRMSYNC = 1.
Note 1: Hardware clears the ALRMEN bit anytime the alarm event occurs, when ARPT<7:0> = 00 and
CHIME = 0.
2: This field should not be written when the RTCC ON bit = 1 (RTCCON<15>) and ALRMSYNC = 1.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-28 HR10<3:0>: Binary-Coded Decimal Value of Hours bits, 10 digits; contains a value from 0 to 2
bit 27-24 HR01<3:0>: Binary-Coded Decimal Value of Hours bits, 1 digit; contains a value from 0 to 9
bit 23-20 MIN10<3:0>: Binary-Coded Decimal Value of Minutes bits, 10 digits; contains a value from 0 to 5
bit 19-16 MIN01<3:0>: Binary-Coded Decimal Value of Minutes bits, 1 digit; contains a value from 0 to 9
bit 15-12 SEC10<3:0>: Binary-Coded Decimal Value of Seconds bits, 10 digits; contains a value from 0 to 5
bit 11-8 SEC01<3:0>: Binary-Coded Decimal Value of Seconds bits, 1 digit; contains a value from 0 to 9
bit 7-0 Unimplemented: Read as 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-28 HR10<3:0>: Binary Coded Decimal value of hours bits, 10 digits; contains a value from 0 to 2
bit 27-24 HR01<3:0>: Binary Coded Decimal value of hours bits, 1 digit; contains a value from 0 to 9
bit 23-20 MIN10<3:0>: Binary Coded Decimal value of minutes bits, 10 digits; contains a value from 0 to 5
bit 19-16 MIN01<3:0>: Binary Coded Decimal value of minutes bits, 1 digit; contains a value from 0 to 9
bit 15-12 SEC10<3:0>: Binary Coded Decimal value of seconds bits, 10 digits; contains a value from 0 to 5
bit 11-8 SEC01<3:0>: Binary Coded Decimal value of seconds bits, 1 digit; contains a value from 0 to 9
bit 7-0 Unimplemented: Read as 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
SPIxBUF
Read Write
FIFOs Share Address SPIxBUF
Transmit
Receive
SPIxSR
SDIx bit 0
Note: Access SPIxTXB and SPIxRXB FIFOs via SPIxBUF register. MSTEN
All Resets
Bit Range
(BF82_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 FRMEN FRMSYNC FRMPOL MSSEN FRMSYPW FRMCNT<2:0> MCLKSEL SPIFE ENHBUF 0000
1000 SPI1CON
15:0 ON SIDL DISSDO MODE32 MODE16 SMP CKE SSEN CKP MSTEN DISSDI STXISEL<1:0> SRXISEL<1:0> 0000
31:16 RXBUFELM<4:0> TXBUFELM<4:0> 0000
1010 SPI1STAT
15:0 FRMERR SPIBUSY SPITUR SRMT SPIROV SPIRBE SPITBE SPITBF SPIRBF 00A8
31:16 0000
1020 SPI1BUF DATA<31:0>
15:0 0000
31:16 0000
1030 SPI1BRG
15:0 BRG<12:0> 0000
31:16 0000
1040 SPI1CON2 SPI FRM SPI SPI AUD
15:0 IGNROV IGNTUR AUDEN AUDMOD<1:0> 0C00
SGNEXT ERREN ROVEN TUREN MONO
31:16 FRMEN FRMSYNC FRMPOL MSSEN FRMSYPW FRMCNT<2:0> MCLKSEL SPIFE ENHBUF 0000
1200 SPI2CON
15:0 ON SIDL DISSDO MODE32 MODE16 SMP CKE SSEN CKP MSTEN DISSDI STXISEL<1:0> SRXISEL<1:0> 0000
31:16 RXBUFELM<4:0> TXBUFELM<4:0> 0000
1210 SPI2STAT
15:0 FRMERR SPIBUSY SPITUR SRMT SPIROV SPIRBE SPITBE SPITBF SPIRBF 0008
31:16 0000
1220 SPI2BUF DATA<31:0>
15:0 0000
31:16 0000
1230 SPI2BRG
15:0 BRG<8:0> 0000
31:16 0000
1240 SPI2CON2 SPI FRM SPI SPI AUD
15:0 IGNROV IGNTUR AUDEN AUDMOD<1:0> 0000
SGNEXT ERREN ROVEN TUREN MONO
31:16 FRMEN FRMSYNC FRMPOL MSSEN FRMSYPW FRMCNT<2:0> MCLKSEL SPIFE ENHBUF 0000
1400 SPI3CON
15:0 ON SIDL DISSDO MODE32 MODE16 SMP CKE SSEN CKP MSTEN DISSDI STXISEL<1:0> SRXISEL<1:0> 0000
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF82_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 FRMEN FRMSYNC FRMPOL MSSEN FRMSYPW FRMCNT<2:0> MCLKSEL SPIFE ENHBUF 0000
1600 SPI4CON
15:0 ON SIDL DISSDO MODE32 MODE16 SMP CKE SSEN CKP MSTEN DISSDI STXISEL<1:0> SRXISEL<1:0> 0000
31:16 RXBUFELM<4:0> TXBUFELM<4:0> 0000
1610 SPI4STAT
15:0 FRMERR SPIBUSY SPITUR SRMT SPIROV SPIRBE SPITBE SPITBF SPIRBF 0008
31:16 0000
1620 SPI4BUF DATA<31:0>
15:0 0000
31:16 0000
1630 SPI4BRG
15:0 BRG<8:0> 0000
31:16 0000
1640 SPI4CON2 SPI FRM SPI SPI AUD
15:0 IGNROV IGNTUR AUDEN AUDMOD<1:0> 0000
SGNEXT ERREN ROVEN TUREN MONO
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This bit can only be written when the ON bit = 0. Refer to Section 44.0 Electrical Characteristics for
maximum clock frequency requirements.
2: This bit is not used in the Framed SPI mode. The user should program this bit to 0 for the Framed SPI
mode (FRMEN = 1).
3: When AUDEN = 1, the SPI/I2S module functions as if the CKP bit is equal to 1, regardless of the actual
value of the CKP bit.
4: This bit present for legacy compatibility and is superseded by PPS functionality on these devices (see
Section 12.4 Peripheral Pin Select (PPS) for more information).
When AUDEN = 0:
MODE32 MODE16 Communication
1 x 32-bit
0 1 16-bit
0 0 8-bit
bit 9 SMP: SPI Data Input Sample Phase bit
Master mode (MSTEN = 1):
1 = Input data sampled at end of data output time
0 = Input data sampled at middle of data output time
Slave mode (MSTEN = 0):
SMP value is ignored when SPI is used in Slave mode. The module always uses SMP = 0.
bit 8 CKE: SPI Clock Edge Select bit(2)
1 = Serial output data changes on transition from active clock state to Idle clock state (see CKP bit)
0 = Serial output data changes on transition from Idle clock state to active clock state (see CKP bit)
bit 7 SSEN: Slave Select Enable (Slave mode) bit
1 = SSx pin used for Slave mode
0 = SSx pin not used for Slave mode, pin controlled by port function.
bit 6 CKP: Clock Polarity Select bit(3)
1 = Idle state for clock is a high level; active state is a low level
0 = Idle state for clock is a low level; active state is a high level
Note 1: This bit can only be written when the ON bit = 0. Refer to Section 44.0 Electrical Characteristics for
maximum clock frequency requirements.
2: This bit is not used in the Framed SPI mode. The user should program this bit to 0 for the Framed SPI
mode (FRMEN = 1).
3: When AUDEN = 1, the SPI/I2S module functions as if the CKP bit is equal to 1, regardless of the actual
value of the CKP bit.
4: This bit present for legacy compatibility and is superseded by PPS functionality on these devices (see
Section 12.4 Peripheral Pin Select (PPS) for more information).
Note 1: This bit can only be written when the ON bit = 0. Refer to Section 44.0 Electrical Characteristics for
maximum clock frequency requirements.
2: This bit is not used in the Framed SPI mode. The user should program this bit to 0 for the Framed SPI
mode (FRMEN = 1).
3: When AUDEN = 1, the SPI/I2S module functions as if the CKP bit is equal to 1, regardless of the actual
value of the CKP bit.
4: This bit present for legacy compatibility and is superseded by PPS functionality on these devices (see
Section 12.4 Peripheral Pin Select (PPS) for more information).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
PBCLK5(2)
REFCLKO2(1) SQID0
Control
(TBC)
Buffer
SQID1
SQID2
Control and
Status Transmit
Bus Slave Buffer
Registers SQID3
(PIO)
System Bus
SQI Master
Interface SQICLK
SQICS0
Receive
Bus Master DMA Buffer
SQICS1
Note 1: When configuring the REFCLKO2 clock source, a value of 0 for the ROTRIM<8:0> bits must be selected.
REFCLKO2 must be turned on before SQI Special Function Registers (SFR) access.
2: This clock source is only used for SQI Special Function Register (SFR) access.
All Resets
Bit Range
(BF8E_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
2028
RXDATA 15:0 RXDATA<15:0> 0000
SQI1 31:16 TXBUFFREE<5:0> 0000
202C
STAT1 15:0 RXBUFCNT<5:0> 0000
SQI1 31:16 CMDSTAT<1:0> 0000
2030
STAT2 15:0 CONAVAIL<3:0> SDID3 SDID2 SDID1 SDID0 RXUN TXOV 00x0
SQI1 31:16 0000
2034
BDCON 15:0 START POLLEN DMAEN 0000
SQI1BD 31:16 BDCURRADDR<31:16> 0000
2038
CURADD 15:0 BDCURRADDR<15:0> 0000
SQI1BD 31:16 BDADDR<31:16> 0000
2040
BASEADD 15:0 BDADDR<15:0> 0000
TABLE 22-1: SERIAL QUADRATURE INTERFACE (SQI) REGISTER MAP (CONTINUED)
2015-2017 Microchip Technology Inc.
Virtual Address
Bits
All Resets
Bit Range
(BF8E_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
DMA
SQI1BD 31:16 BDSTATE<3:0> DMAACTV 0000
2044 START
STAT
15:0 BDCON<15:0> 0000
SQI1BD 31:16 0000
2048
POLLCON 15:0 POLLCON<15:0> 0000
SQI1BD 31:16 TXSTATE<3:0> TXBUFCNT<5:0> 0000
204C
TXDSTAT 15:0 TXCURBUFLEN<8:0> 0000
SQI1BD 31:16 RXSTATE<3:0> RXBUFCNT<5:0> 0000
2050
RXDSTAT 15:0 RXCURBUFLEN<8:0> 0000
31:16 0000
2054 SQI1THR
15:0 THRES<3:0> 0000
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: When DDRCMD is set to 0, the SQI module will ignore the value in the SDRCMD bit.
Note 1: When DDRCMD is set to 0, the SQI module will ignore the value in the SDRCMD bit.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend: r = Reserved
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: When this bit is set to 1, the SQI module uses the SQI1MEMSTAT register to control the status check
command process.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: Refer to Table 44-41 in 44.0 Electrical Characteristics for the maximum clock frequency
specifications.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: These bits should only be programmed when a receive is not active (i.e., during Idle mode or a transmit).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: In the case of Boot/XIP mode, the POR value of the receive buffer threshold is zero. Therefore, this bit will
be set to a 1, immediately after a POR until a read request on the System Bus bus is received.
Note: The bits in the register are cleared by writing a '1' to the corresponding bit position.
Note 1: In the case of Boot/XIP mode, the POR value of the receive buffer threshold is zero. Therefore, this bit will
be set to a 1, immediately after a POR until a read request on the System Bus bus is received.
Note: The bits in the register are cleared by writing a '1' to the corresponding bit position.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Some Flash devices require write enable and sector unprotect commands before write/read operations and
this register is useful in working with those Flash types (XIP mode only)
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Some Flash devices require write enable and sector unprotect commands before write/read operations and
this register is useful in working with those Flash types (XIP mode only)
Internal
Data Bus
I2CxRCV
Read
Shift
SCLx Clock
I2CxRSR
LSB
I2CxMSK
Write Read
I2CxADD
Read
Read
Collision Write
Detect
I2CxCON
Acknowledge
Generation Read
Clock
Stretching
Write
I2CxTRN
LSB
Shift Clock Read
Reload
Control
Write
Read
PBCLK2
TABLE 23-1:
Virtual Address I2C1 THROUGH I2C5 REGISTER MAP
Bits
All Resets
Bit Range
(BF82_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
15:0 ON SIDL SCLREL STRICT A10M DISSLW SMEN GCEN STREN ACKDT ACKEN RCEN PEN RSEN SEN 1000
31:16 0000
0410 I2C3STAT
15:0 ACKSTAT TRSTAT ACKTIM BCL GCSTAT ADD10 IWCOL I2COV D/A P S R/W RBF TBF 0000
31:16 0000
0420 I2C3ADD
15:0 ADD<9:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table except I2CxRCV have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and
INV Registers for more information.
DS60001361E-page 364
TABLE 23-1: I2C1 THROUGH I2C5 REGISTER MAP (CONTINUED)
All Resets
Bit Range
(BF82_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0430 I2C3MSK
15:0 ADD<9:0> 0000
31:16 0000
0440 I2C3BRG
15:0 I2C3BRG<15:0> 0000
31:16 0000
0450 I2C3TRN
15:0 I2C3TXDATA<7:0> 0000
31:16 0000
0460 I2C3RCV
15:0 I2C3RXDATA<7:0> 0000
31:16 PCIE SCIE BOEN SDAHT SBCDE AHEN DHEN 0000
0600 I2C4CON
15:0 ON SIDL SCLREL STRICT A10M DISSLW SMEN GCEN STREN ACKDT ACKEN RCEN PEN RSEN SEN 1000
31:16 0000
0610 I2C4STAT
15:0 ACKSTAT TRSTAT ACKTIM BCL GCSTAT ADD10 IWCOL I2COV D/A P S R/W RBF TBF 0000
31:16 0000
0620 I2C4ADD
15:0 ADD<9:0> 0000
31:16 0000
0630 I2C4MSK
15:0 ADD<9:0> 0000
31:16 0000
0640 I2C4BRG
15:0 I2C4BRG<15:0> 0000
31:16 0000
0650 I2C4TRN
15:0 I2C4TXDATA<7:0> 0000
31:16 0000
0660 I2C4RCV
15:0 I2C4RXDATA<7:0> 0000
31:16 PCIE SCIE BOEN SDAHT SBCDE AHEN DHEN 0000
0800 I2C5CON
15:0 ON SIDL SCLREL STRICT A10M DISSLW SMEN GCEN STREN ACKDT ACKEN RCEN PEN RSEN SEN 1000
31:16 0000
0810 I2C5STAT
15:0 ACKSTAT TRSTAT ACKTIM BCL GCSTAT ADD10 IWCOL I2COV D/A P S R/W RBF TBF 0000
2015-2017 Microchip Technology Inc.
31:16 0000
0820 I2C5ADD
15:0 ADD<9:0> 0000
31:16 0000
0830 I2C5MSK
15:0 ADD<9:0> 0000
31:16 0000
0840 I2C5BRG
15:0 I2C5BRG<15:0> 0000
31:16 0000
0850 I2C5TRN
15:0 I2C4TXDATA<7:0> 0000
31:16 0000
0860 I2C5RCV
15:0 I2C4RXDATA<7:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table except I2CxRCV have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and
INV Registers for more information.
PIC32MZ Graphics (DA) Family
PBCLK2 11
10 IrDA
FRC
SYSCLK 01
PBCLK2 00 UxRTS/BCLKx
Hardware Flow Control
UxCTS
All Resets
Bit Range
(BF82_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF82_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
0000
2A40 U6BRG(1)
15:0 Baud Rate Generator Prescaler 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: This register has corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for more informa-
tion.
PIC32MZ Graphics (DA) Family
Note 1: These bits are present for legacy compatibility, and are superseded by PPS functionality on these devices
(see Section 12.4 Peripheral Pin Select (PPS) for more information).
Note 1: These bits are present for legacy compatibility, and are superseded by PPS functionality on these devices
(see Section 12.4 Peripheral Pin Select (PPS) for more information).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Read to
UxRXREG
RIDLE
Cleared by
Software
OERR
Cleared by
Software
UxRXIF
URXISEL = 00
Cleared by
Software
UxRXIF
URXISEL = 01
UxRXIF
URXISEL = 10
Write to
UxTXREG
TSR
BCLK/16 Pull from Buffer
(Shift Clock)
UxTXIF
UTXISEL = 00
UxTXIF
UTXISEL = 01
UxTXIF
UTXISEL = 10
PBCLK2
Address Bus
Data Bus
PMA15
PMCS2
PMRD
PMRD/PMWR
PMWR
FIFO
PMENB Microcontroller LCD
Buffer
PMD<7:0>
PMD<15:8>
8-bit/16-bit Data (with or without multiplexed addressing)
All Resets
Bit Range
(BF82_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: When using 1:1 PBCLK divisor, the user software should not read/write the peripherals SFRs in the
SYSCLK cycle immediately following the instruction that clears the modules ON control bit.
2: These bits have no effect when their corresponding pins are used as address lines.
Note 1: When using 1:1 PBCLK divisor, the user software should not read/write the peripherals SFRs in the
SYSCLK cycle immediately following the instruction that clears the modules ON control bit.
2: These bits have no effect when their corresponding pins are used as address lines.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: Whenever WAITM<3:0> = 0000, WAITB and WAITE bits are ignored and forced to 1 TPBCLK cycle for a
write operation; WAITB = 1 TPBCLK cycle, WAITE = 0 TPBCLK cycles for a read operation.
2: Address bits, A15 and A14, are not subject to automatic increment/decrement if configured as Chip Select
CS2 and CS1.
3: These pins are active when MODE16 = 1 (16-bit mode).
Note 1: Whenever WAITM<3:0> = 0000, WAITB and WAITE bits are ignored and forced to 1 TPBCLK cycle for a
write operation; WAITB = 1 TPBCLK cycle, WAITE = 0 TPBCLK cycles for a read operation.
2: Address bits, A15 and A14, are not subject to automatic increment/decrement if configured as Chip Select
CS2 and CS1.
3: These pins are active when MODE16 = 1 (16-bit mode).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: If the DUALBUF bit (PMCON<17>) = 0, the bits in this register control both read and write target
addressing. If the DUALBUF bit = 1, the bits in this register are not used. In this instance, use the
PMRADDR register for Read operations and the PMWADDR register for Write operations.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: In Master mode, a read will return the last value written to the register. In Slave mode, a read will return
indeterminate results.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register is not used in Dual Buffer Master mode (i.e., DUALBUF bit (PMPCON<17>) = 1).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: The use of these pins as PMA15/PMA14 or CS2/CS1 is selected by the CSF<1:0> bits (PMCON<7:6>).
2: The use of these pins as PMA1/PMA0 or PMALH/PMALL depends on the Address/Data Multiplex mode
selected by the ADRMUX<1:0> bits in the PMCON register.
REGISTER 25-7: PMSTAT: PARALLEL PORT STATUS REGISTER (SLAVE MODES ONLY)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
R-0 R/W-0, HS, SC U-0 U-0 R-0 R-0 R-0 R-0
15:8
IBF IBOV IB3F IB2F IB1F IB0F
R-1 R/W-0, HS, SC U-0 U-0 R-1 R-1 R-1 R-1
7:0
OBE OBUF OB3E OB2E OB1E OB0E
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register is only used when the DUALBUF bit (PMCON<17>) is set to 1.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register is only used when the DUALBUF bit (PMCON<17>) is set to 1.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register is only used when the DUALBUF bit (PMCON<17>) is set to 1 and exclusively for reads. If the
DUALBUF bit is 0, the PMDIN register (Register 25-5) is used for reads instead of PMRDIN.
EBID<15:0>
SYSCLK Control
Registers Address Decoder EBIBS<1:0>
EBICS<3:0>
System
Data Control Registers EBIOE
Bus
FIFO
EBIRP
Static Memory Controller
EBIWE
Address
FIFO EBIRDY<3:1>
All Resets
Bit Range
(BF8E_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
REGISTER 26-1: EBICSx: EXTERNAL BUS INTERFACE CHIP SELECT REGISTER (x = 0-3)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
31:24
CSADDR<15:8>
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
23:16
CSADDR<7:0>
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
15:8
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
7:0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
REGISTER 26-2: EBIMSKx: EXTERNAL BUS INTERFACE ADDRESS MASK REGISTER (x = 0-3)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
U-0 U-0 U-0 U-0 U-0 R/W-0 R/W-0 R/W-0
15:8
REGSEL<2:0>
R/W-0 R/W-0 R/W-1 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
7:0
MEMTYPE<2:0> MEMSIZE<4:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
REGISTER 26-3: EBISMTx: EXTERNAL BUS INTERFACE STATIC MEMORY TIMING REGISTER
(x = 0-2)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 R/W-0 R/W-0 R/W-0
31:24
RDYMODE PAGESIZE<1:0>
R/W-0 R/W-0 R/W-1 R/W-0 R/W-0 R/W-1 R/W-0 R/W-0
23:16
PAGEMODE TPRC<3:0>(1) TBTA<2:0>(1)
R/W-0 R/W-0 R/W-1 R/W-1 R/W-0 R/W-0 R/W-0 R/W-1
15:8
TWP<5:0>(1) TWR<1:0>(1)
R/W-0 R/W-1 R/W-0 R/W-0 R/W-1 R/W-1 R/W-0 R/W-0
7:0
TAS<1:0>(1) TRC<5:0>(1)
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: Refer to Section 47. External Bus Interface (EBI) in the PIC32 Family Reference Manual for the EBI
timing diagrams and additional information.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
DMA Crypto
Controller FSM
SFR SHA-1
System SHA-256
Bus OUTB Packet
FIFO WR
MD5
PBCLK5
All Resets
Bit Range
(BF8E_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-0 BDPADDR<31:0>: Current Buffer Descriptor Process Address Status bits
These bits contain the current descriptor address that is being processed by the Buffer Descriptor Processor
(BDP).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: The PENDIE bit is a Global enable bit and must be enabled together with the other interrupts desired.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Bit Bit
Bit Bit Bit Bit Bit Bit Bit
29/21/ 26/18/
Range 31/23/15/7 30/22/14/6 28/20/12/4 27/19/11/3 25/17/9/1 24/16/8/0
13/5 10/2
31-24 DESC_EN CRY_MODE<2:0>
23-16 SA_FETCH_EN LAST_BD LIFM PKT_INT_EN CBD_INT_EN
15-8 BD_BUFLEN<15:8>
7-0 BD_BUFLEN<7:0>
bit 31-0 BD_NXTADDR: Next BD Pointer Address Has Next Buffer Descriptor
The next buffer can be a next segment of the previous buffer or a new packet.
Note 1: This setting does not alter the size of SA_AUTHKEYx or SA_ENCKEYx in the Security Association,
only the number of bits of SA_AUTHKEYx and SA_ENCKEYx that are used.
All Resets
Bit Range
(BF8E_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This bit is effective only when the TRNGEN bit is set to 1.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-0 POLY<31:0>: PRNG LFSR Polynomial MSb/LSb bits (RNGPOLY1 = LSb, RNGPOLY2 = MSb)
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-0 RNG<31:0>: Current PRNG MSb/LSb Value bits (RNGNUMGEN1 = LSb, RNGNUMGEN2 = MSb)
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-0 SEED<31:0>: TRNG MSb/LSb Value bits (RNGSEED1 = LSb, RNGSEED2 = MSb)
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
AN0 00
AN45 01 AVDD AVSS VREF+ VREF-
00 01 10 11
ADCSEL<1:0>
N/C 10
N/C 11 TCLK
SH0ALT<1:0> CONCLKDIV<5:0>
(ADCTRGMODE<17:16>) VREFSEL<2:0>
AN5 1
VREFH VREFL TAD0-TAD4
VREFL 0 ADCDIV<6:0> TQ
(ADCxTIME<22:16>)
DIFF0<1>
(ADCIMCON1<1>) ADC0
TAD7 ADCDIV<6:0>
(ADCCON2<6:0>)
AN4 00
AN49 01
N/C 10
N/C 11
SH4ALT<1:0>
(ADCTRGMODE<25:24>)
AN9 1 ADC4
VREFL 0
DIFF4<1>
(ADCIMCON1<1>)
AN5
CTMUT (AN40)
VBAT (AN41)
AN38
IVREF (AN42)
AN39
IVTEMP (AN43)
ADC7
AN10 1
VREFL 0
DIFFx<1>
x = 5 to 43
(ADCIMCONy<z>)
y = 1 to 3,
z = 1 to 31 (Odd numbers) ADCDATA0
...
FIFO
ADCDATA43
Interrupt/Event
Digital Comparator
Triggers,
Turbo Channel,
Scan Control Logic
Capacitive Voltage Interrupt/Event
Divider (CVD)
Trigger
Interrupt
Status and Control
Registers
ADC0 ADC3
AN0 00 AN3 00
AN45 01 AN48 01
N/C 10 N/C 10
N/C 11 N/C 11
SAR SAR
SH0ALT<1:0> SH3ALT<1:0>
(ADCTRGMODE<17:16) (ADCTRGMODE<23:22)
AN5 1 AN8 1
VREFL 0 VREFL 0
ADC1 ADC4
AN1 00 AN4 00
AN46 01 AN49 01
N/C 10 N/C 10
N/C 11 N/C 11
SAR SAR
SH1ALT<1:0> SH4ALT<1:0>
(ADCTRGMODE<19:18) (ADCTRGMODE<25:24)
AN6 1 AN9 1
VREFL 0 VREFL 0
ADC2
AN2 00
AN47 01
N/C 10
N/C 11
SAR
SH2ALT<1:0>
(ADCTRGMODE<21:20)
AN7 1
VREFL 0
DIFF2<1> (ADCIMCON1<5>)
ADC7
AN5
VBAT (AN41)
IVREF (AN42)
IVTEMP (AN43)
AN38
CVDCPL<2:0>
(ADCCON2<28:26>) AN39
CVDEN
(ADCCON1<11>)
SAR
CVD
AN10 1 Capacitor
VREFL 0
DIFFx<1>
ADCID<2:0>
ADCx ID
(ADCFSTAT<2:0>)
FEN
(ADCFSTAT<31>)
FRDY
If data (ADCFSTAT<22>)
FIFO (16 Words) available in
FIFO FIEN
(ADCFSTAT<23>)
Interrupt
ADC0EN
(ADCFSTAT<24>)
FCNT<7:0>
(ADCFSTAT<15:8>)
ADC0 Number of data in FIFO
All Resets
Bit Range
Address
Virtual
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
B000 ADCCON1 31:16 TRBEN TRBERR TRBMST<2:0> TRBSLV<2:0> FRACT SELRES<1:0> STRGSRC<4:0> 0060
15:0 ON SIDL AICPMPEN CVDEN FSSCLKEN FSPBCLKEN IRQVS<2:0> STRGLVL 0000
B004 ADCCON2 31:16 BGVRRDY REFFLT EOSRDY CVDCPL<2:0> SAMC<9:0> 0000
15:0 BGVRIEN REFFLTIEN EOSIEN ADCEIOVR ADCEIS<2:0> ADCDIV<6:0> 0000
B008 ADCCON3 31:16 ADCSEL<1:0> CONCLKDIV<5:0> DIGEN7 DIGEN4 DIGEN3 DIGEN2 DIGEN1 DIGEN0 0000
15:0 VREFSEL<2:0> TRGSUSP UPDIEN UPDRDY SAMP RQCNVRT GLSWTRG GSWTRG ADINSEL<5:0> 0000
B00C ADCTRGMODE 31:16 SH4ALT<1:0> SH3ALT<1:0> SH2ALT<1:0> SH1ALT<1:0> SH0ALT<1:0> 0000
15:0 STRGEN4 STRGEN3 STRGEN2 STRGEN1 STRGEN0 SSAMPEN4 SSAMPEN3 SSAMPEN2 SSAMPEN1 SSAMPEN0 0000
B010 ADCIMCON1 31:16 DIFF15 SIGN15 DIFF14 SIGN14 DIFF13 SIGN13 DIFF12 SIGN12 DIFF11 SIGN11 DIFF10 SIGN10 DIFF9 SIGN9 DIFF8 SIGN8 0000
15:0 DIFF7 SIGN7 DIFF6 SIGN6 DIFF5 SIGN5 DIFF4 SIGN4 DIFF3 SIGN3 DIFF2 SIGN2 DIFF1 SIGN1 DIFF0 SIGN0 0000
B040 ADCCMPEN2 31:16 CMPE31 CMPE30 CMPE29 CMPE28 CMPE27 CMPE26 CMPE25 CMPE24 CMPE23 CMPE22 CMPE21 CMPE20 CMPE19 CMPE18 CMPE17 CMPE16 0000
15:0 CMPE15 CMPE14 CMPE13 CMPE12 CMPE11 CMPE10 CMPE9 CMPE8 CMPE7 CMPE6 CMPE5 CMPE4 CMPE3 CMPE2 CMPE1 CMPE0 0000
B044 ADCCMP2 31:16 DCMPHI<15:0> 0000
15:0 DCMPLO<15:0> 0000
B048 ADCCMPEN3 31:16 CMPE31 CMPE30 CMPE29 CMPE28 CMPE27 CMPE26 CMPE25 CMPE24 CMPE23 CMPE22 CMPE21 CMPE20 CMPE19 CMPE18 CMPE17 CMPE16 0000
15:0 CMPE15 CMPE14 CMPE13 CMPE12 CMPE11 CMPE10 CMPE9 CMPE8 CMPE7 CMPE6 CMPE5 CMPE4 CMPE3 CMPE2 CMPE1 CMPE0 0000
Note 1: Before enabling the ADC, the user application must initialize the ADC calibration values by copying them from the factory-programmed DEVADCx Flash registers into the corresponding ADCxCFG registers.
DS60001361E-page 432
TABLE 29-1: ADC REGISTER MAP (CONTINUED)
All Resets
Bit Range
Address
Virtual
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bits
All Resets
Bit Range
Address
Virtual
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
B100 ADCANCON 31:16 WKUPCLKCNT<3:0> WKIEN7 WKIEN4 WKIEN3 WKIEN2 WKIEN1 WKIEN0 0000
15:0 WKRDY7 WKRDY4 WKRDY3 WKRDY2 WKRDY1 WKRDY0 ANEN7 ANEN4 ANEN3 ANEN2 ANEN1 ANEN0 0000
B600 ADC0CFG(1) 31:16 ADCCFG<31:16> 0000
15:0 ADCCFG<15:0> 0000
B604 ADC1CFG1) 31:16 ADCCFG<31:16> 0000
15:0 ADCCFG<15:0> 0000
Note 1: Before enabling the ADC, the user application must initialize the ADC calibration values by copying them from the factory-programmed DEVADCx Flash registers into the corresponding ADCxCFG registers.
DS60001361E-page 434
TABLE 29-1: ADC REGISTER MAP (CONTINUED)
All Resets
Bit Range
Address
Virtual
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bits
All Resets
Bit Range
Address
Virtual
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
Address
Virtual
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Note 1: The rising edge of the module output signal triggers an ADC conversion. See Figure 16-1 in 16.0 Output
Compare and Figure 32-1 in 32.0 Comparator for more information.
Note 1: The rising edge of the module output signal triggers an ADC conversion. See Figure 16-1 in 16.0 Output
Compare and Figure 32-1 in 32.0 Comparator for more information.
Note: All options are available when the selected resolution, set by the SELRES<1:0> bits
(ADCCON1<22:21>), is 12-bit or 10-bit. For a selected resolution of 8-bit, options from 000 to
101 are valid. For a selected resolution of 6-bit, options from 000 to 011 are valid.
bit 7 Unimplemented: Read as 0
bit 6-0 ADCDIV<6:0>: Shared ADC (ADC7) Clock Divider bits
1111111 = 254 * TQ = TAD7
0000011 = 6 * TQ = TAD7
0000010 = 4 * TQ = TAD7
0000001 = 2 * TQ = TAD7
0000000 = Reserved
The ADCDIV<6:0> bits divide the ADC control clock (TQ) to generate the clock for the Shared ADC, ADC7
(TAD7).
Note 1: The SAMP bit has the highest priority and setting this bit will keep the S&H circuit in Sample mode until the
bit is cleared. Also, usage of the SAMP bit will cause settings of SAMC<9:0> bits (ADCCON2<25:16>) to
be ignored.
2: The SAMP bit only connects Class 2 and Class 3 analog inputs to the shared ADC, ADC7. All Class 1
analog inputs are not affected by the SAMP bit.
3: The SAMP bit is not a self-clearing bit and it is the responsibility of application software to first clear this bit
and only after setting the RQCNVRT bit to start the analog-to-digital conversion.
4: Normally, when the SAMP and RQCNVRT bits are used by software routines, all TRGSRCx<4:0> bits and
STRGSRC<4:0> bits should be set to 00000 to disable all external hardware triggers and prevent them
from interfering with the software-controlled sampling command signal SAMP and with the software-con-
trolled trigger RQCNVRT.
Note 1: The SAMP bit has the highest priority and setting this bit will keep the S&H circuit in Sample mode until the
bit is cleared. Also, usage of the SAMP bit will cause settings of SAMC<9:0> bits (ADCCON2<25:16>) to
be ignored.
2: The SAMP bit only connects Class 2 and Class 3 analog inputs to the shared ADC, ADC7. All Class 1
analog inputs are not affected by the SAMP bit.
3: The SAMP bit is not a self-clearing bit and it is the responsibility of application software to first clear this bit
and only after setting the RQCNVRT bit to start the analog-to-digital conversion.
4: Normally, when the SAMP and RQCNVRT bits are used by software routines, all TRGSRCx<4:0> bits and
STRGSRC<4:0> bits should be set to 00000 to disable all external hardware triggers and prevent them
from interfering with the software-controlled sampling command signal SAMP and with the software-con-
trolled trigger RQCNVRT.
Note 1: The SAMP bit has the highest priority and setting this bit will keep the S&H circuit in Sample mode until the
bit is cleared. Also, usage of the SAMP bit will cause settings of SAMC<9:0> bits (ADCCON2<25:16>) to
be ignored.
2: The SAMP bit only connects Class 2 and Class 3 analog inputs to the shared ADC, ADC7. All Class 1
analog inputs are not affected by the SAMP bit.
3: The SAMP bit is not a self-clearing bit and it is the responsibility of application software to first clear this bit
and only after setting the RQCNVRT bit to start the analog-to-digital conversion.
4: Normally, when the SAMP and RQCNVRT bits are used by software routines, all TRGSRCx<4:0> bits and
STRGSRC<4:0> bits should be set to 00000 to disable all external hardware triggers and prevent them
from interfering with the software-controlled sampling command signal SAMP and with the software-con-
trolled trigger RQCNVRT.
REGISTER 29-4: ADCTRGMODE: ADC TRIGGERING MODE FOR DEDICATED ADC REGISTER
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 R/W-0 R/W-0
31:24
SH4ALT<1:0>
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
23:16
SH3ALT<1:0> SH2ALT<1:0> SH1ALT<1:0> SH0ALT<1:0>
U-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
15:8
STRGEN4 STRGEN3 STRGEN2 STRGEN1 STRGEN0
U-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
7:0
SSAMPEN4 SSAMPEN3 SSAMPEN2 SSAMPEN1 SSAMPEN0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: In addition to setting the appropriate bits in this register, Class 1 and Class 2 analog inputs must select the
STRIG input as the trigger source if they are to be scanned through the CSSx bits. Refer to the bit
descriptions in the ADCTRGx registers for selecting the STRIG option.
2: If a Class 1 or Class 2 input is included in the scan by setting the CSSx bit to 1 and by setting the
TRGSRCx<4:0> bits to STRIG mode (0b11), the user application must ensure that no other triggers are
generated for that input using the RQCNVRT bit in the ADCCON3 register or the hardware input or any
digital filter. Otherwise, the scan behavior is unpredictable.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-0 ARDY31:ARDY0: Conversion Data Ready for Corresponding Analog Input Ready bits
1 = This bit is set when converted data is ready in the data register
0 = This bit is cleared when the associated data register is read
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: CMPEx = ANx, where x = 0-31 (Digital Comparator inputs are limited to AN0 through AN31).
2: Changing the bits in this register while the Digital Comparator is enabled (ENDCMP = 1) can result in
unpredictable behavior.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: Changing theses bits while the Digital Comparator is enabled (ENDCMP = 1) can result in unpredictable
behavior.
2: The format of the limit values should match the format of the ADC converted value in terms of sign and
fractional settings.
3: For Digital Comparator 0 used in CVD mode, the DCMPHI<15:0> and DCMPLO<15:0> bits must always
be specified in signed format, as the CVD output data is differential and is always signed.
If DFMODE is 1:
111 = 256 samples (256 samples to be averaged)
110 = 128 samples (128 samples to be averaged)
101 = 64 samples (64 samples to be averaged)
100 = 32 samples (32 samples to be averaged)
011 = 16 samples (16 samples to be averaged)
010 = 8 samples (8 samples to be averaged)
001 = 4 samples (4 samples to be averaged)
000 = 2 samples (2 samples to be averaged)
bit 25 AFGIEN: Digital Filter x Interrupt Enable bit
1 = Digital filter interrupt is enabled and is generated by the AFRDY status bit
0 = Digital filter is disabled
Note: This bit is cleared by reading the FLTRDATA<15:0> bits or by disabling the Digital Filter module
(by setting AFEN to 0).
bit 23-21 Unimplemented: Read as 0
bit 20-16 CHNLID<4:0>: Digital Filter Analog Input Selection bits
These bits specify the analog input to be used as the oversampling filter data source.
11111 = Reserved
01100 = Reserved
01011 = AN11
00001 = AN1
00000 = AN0
Note: Only the first 12 analog inputs, Class 1 (AN0-AN11) and Class 2 (AN5-AN11), can use a digital
filter.
bit 15-0 FLTRDATA<15:0>: Digital Filter x Data Output Value bits
The filter output data is as per the fractional format set in the FRACT bit (ADCCON1<23>). The FRACT bit
should not be changed while the filter is enabled. Changing the state of the FRACT bit after the operation
of the filter ended will not update the value of the FLTRDATA<15:0> bits to reflect the new format.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: The rising edge of the module output signal triggers an ADC conversion. See Figure 16-1 in 16.0 Output
Compare and Figure 32-1 in 32.0 Comparator for more information.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: The rising edge of the module output signal triggers an ADC conversion. See Figure 16-1 in 16.0 Output
Compare and Figure 32-1 in 32.0 Comparator for more information.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: The rising edge of the module output signal triggers an ADC conversion. See Figure 16-1 in 16.0 Output
Compare and Figure 32-1 in 32.0 Comparator for more information.
Note: In normal ADC mode, only analog inputs <31:0> can be processed by the Digital Comparator 0.
The Digital Comparator 0 also supports the CVD mode, in which all Class 2 and Class 3 analog
inputs may be stored in the AINID<5:0> bits.
111111 = Reserved
101100 = Reserved
101011 = AN43 is being monitored
000001 = AN1 is being monitored
000000 = AN0 is being monitored
bit 7 ENDCMP: Digital Comparator 0 Enable bit
1 = Digital Comparator 0 is enabled
0 = Digital Comparator 0 is not enabled, and the DCMPED status bit (ADCCMP0CON<5>) is cleared
bit 6 DCMPGIEN: Digital Comparator 0 Global Interrupt Enable bit
1 = A Digital Comparator 0 interrupt is generated when the DCMPED status bit (ADCCMP0CON<5>) is set
0 = A Digital Comparator 0 interrupt is disabled
bit 5 DCMPED: Digital Comparator 0 Output True Event Status bit
The logical conditions under which the digital comparator gets True are defined by the IEBTWN, IEHIHI,
IEHILO, IELOHI, and IELOLO bits.
Note: This bit is cleared by reading the AINID<5:0> bits or by disabling the Digital Comparator module
(by setting ENDCMP to 0).
1 = Digital Comparator 0 output true event has occurred (output of Comparator is 1)
0 = Digital Comparator 0 output is false (output of comparator is 0)
bit 4 IEBTWN: Between Low/High Digital Comparator 0 Event bit
1 = Generate a digital comparator event when DCMPLO<15:0> DATA<31:0> < DCMPHI<15:0>
0 = Do not generate a digital comparator event
Note: Only analog inputs <31:0> can be processed by the Digital Comparator module x (x = 1-5).
11111 = AN31 is being monitored
11110 = AN30 is being monitored
00001 = AN1 is being monitored
00000 = AN0 is being monitored
bit 7 ENDCMP: Digital Comparator x Enable bit
1 = Digital Comparator x is enabled
0 = Digital Comparator x is not enabled, and the DCMPED status bit (ADCCMPxCON<5>) is cleared
bit 6 DCMPGIEN: Digital Comparator x Global Interrupt Enable bit
1 = A Digital Comparator x interrupt is generated when the DCMPED status bit (ADCCMPxCON<5>) is set
0 = A Digital Comparator x interrupt is disabled
bit 5 DCMPED: Digital Comparator x Output True Event Status bit
The logical conditions under which the digital comparator gets True are defined by the IEBTWN, IEHIHI,
IEHILO, IELOHI and IELOLO bits.
Note: This bit is cleared by reading the AINID<5:0> bits (ADCCMP0CON<13:8>) or by disabling the
Digital Comparator module (by setting ENDCMP to 0).
1 = Digital Comparator x output true event has occurred (output of Comparator is 1)
0 = Digital Comparator x output is false (output of Comparator is 0)
bit 4 IEBTWN: Between Low/High Digital Comparator x Event bit
1 = Generate a digital comparator event when the DCMPLO<15:0> bits DATA<31:0> bits
< DCMPHI<15:0> bits
0 = Do not generate a digital comparator event
bit 3 IEHIHI: High/High Digital Comparator x Event bit
1 = Generate a Digital Comparator x Event when the DCMPHI<15:0> bits DATA<31:0> bits
0 = Do not generate an event
bit 2 IEHILO: High/Low Digital Comparator x Event bit
1 = Generate a Digital Comparator x Event when the DATA<31:0> bits < DCMPHI<15:0> bits
0 = Do not generate an event
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: When an alternate input is used as the input source for a dedicated ADC module, the data output is still read
from the Primary input Data Output Register.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: When an alternate input is used as the input source for a dedicated ADC module, the data output is still
read from the Primary input Data Output Register.
2: Reading the ADCDATAx register value after changing the FRACT bit converts the data into the format
specified by FRACT bit.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This register specifies the trigger level for analog inputs 0 to 11.
2: The higher analog input ID belongs to Class 3, and therefore, is only scan triggered. All Class 3 analog
inputs use the Scan Trigger, for which the level/edge is defined by the STRGLVL bit (ADCCON1<3>).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-0 EIEN31:EIEN0: Early Interrupt Enable for Analog Input bits
1 = Early Interrupts are enabled for the selected analog input. The interrupt is generated after the early
interrupt event occurs (indicated by the EIRDYx bit ('x' = 31-0) of the ADCEISTAT1 register)
0 = Interrupts are disabled
bit 31-0 EIRDY31:EIRDY0: Early Interrupt for Corresponding Analog Input Ready bits
1 = This bit is set when the early interrupt event occurs for the specified analog input. An interrupt will be
generated if early interrupts are enabled in the ADCEIEN1 register. For the Class 1 analog inputs, this
bit will set as per the configuration of the ADCEIS<2:0> bits in the ADCxTIME register. For the shared
ADC module, this bit will be set as per the configuration of the ADCEIS<2:0> bits in the ADCCON2
register.
0 = Interrupts are disabled
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: These bits can only change when the applicable ANENx bit in the ADCANCON register is cleared. These
are calibration values determined at product test time and are provided to the user through DEVADCx fuse
bits (see Register 41-8).
CxTX
PBCLK5
32 Filters
(x = 1-2) 4 Masks
CxRX CPU
CAN Module
System Bus
Message
Buffer Size
System RAM 2 or 4 Words
Up to 32 Message Buffers
TABLE 30-1: CAN1 REGISTER SUMMARY FOR PIC32MZXXXXECF AND PIC32MZXXXXECH DEVICES
Virtual Address
Bits
All Resets
Bit Range
(BF88_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Virtual Address
Bits
All Resets
Bit Range
(BF88_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
15:0 C1FIFOCI<4:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for more
information.
DS60001361E-page 486
Virtual Address
Bits
All Resets
Bit Range
(BF88_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
0000
1010 C2FLTCON0
15:0 FLTEN1 MSEL1<1:0> FSEL1<4:0> FLTEN0 MSEL0<1:0> FSEL0<4:0> 0000
31:16 FLTEN7 MSEL7<1:0> FSEL7<4:0> FLTEN6 MSEL6<1:0> FSEL6<4:0> 0000
10D0 C2FLTCON1
15:0 FLTEN5 MSEL5<1:0> FSEL5<4:0> FLTEN4 MSEL4<1:0> FSEL4<4:0> 0000
31:16 FLTEN11 MSEL11<1:0> FSEL11<4:0> FLTEN10 MSEL10<1:0> FSEL10<4:0> 0000
10E0 C2FLTCON2
15:0 FLTEN9 MSEL9<1:0> FSEL9<4:0> FLTEN8 MSEL8<1:0> FSEL8<4:0> 0000
31:16 FLTEN15 MSEL15<1:0> FSEL15<4:0> FLTEN14 MSEL14<1:0> FSEL14<4:0> 0000
10F0 C2FLTCON3
15:0 FLTEN13 MSEL13<1:0> FSEL13<4:0> FLTEN12 MSEL12<1:0> FSEL12<4:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for more
information.
TABLE 30-2: CAN2 REGISTER SUMMARY FOR PIC32MZXXXXECF AND PIC32MZXXXXECH DEVICES (CONTINUED)
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF88_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
15:0 C2FIFOCI<4:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for more
information.
PIC32MZ Graphics (DA) Family
Note 1: If the user application clears this bit, it may take a number of cycles before the CAN module completes the
current transaction and responds to this request. The user application should poll the CANBUSY bit to
verify that the request has been honored.
Note 1: If the user application clears this bit, it may take a number of cycles before the CAN module completes the
current transaction and responds to this request. The user application should poll the CANBUSY bit to
verify that the request has been honored.
Note: This register can only be modified when the CAN module is in Configuration mode (OPMOD<2:0>
(CiCON<23:21>) = 100).
Note: This register can only be modified when the CAN module is in Configuration mode (OPMOD<2:0>
(CiCON<23:21>) = 100).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This bit can only be cleared by turning the CAN module Off and On by clearing or setting the ON bit
(CiCON<15>).
Note 1: This bit can only be cleared by turning the CAN module Off and On by clearing or setting the ON bit
(CiCON<15>).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register can only be modified when the CAN module is in Configuration mode (OPMOD<2:0>
(CiCON<23:21>) = 100).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Note: The bits in this register can only be modified if the corresponding filter enable (FLTENn) bit is 0.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register can only be modified when the filter is disabled (FLTENn = 0).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This bit is unimplemented and will always read 0, which forces word-alignment of messages.
Note: This register can only be modified when the CAN module is in Configuration mode (OPMOD<2:0>
(CiCON<23:21>) = 100).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: These bits can only be modified when the CAN module is in Configuration mode (OPMOD<2:0> bits
(CiCON<23:21>) = 100).
2: This bit is updated when a message completes (or aborts) or when the FIFO is reset.
3: This bit is reset on any read of this register or when the FIFO is reset.
Note 1: These bits can only be modified when the CAN module is in Configuration mode (OPMOD<2:0> bits
(CiCON<23:21>) = 100).
2: This bit is updated when a message completes (or aborts) or when the FIFO is reset.
3: This bit is reset on any read of this register or when the FIFO is reset.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This bit is read-only and reflects the status of the FIFO.
Note 1: This bit is read-only and reflects the status of the FIFO.
REGISTER 30-22: CiFIFOUAn: CAN FIFO USER ADDRESS REGISTER (n = 0 THROUGH 31)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
R-x R-x R-x R-x R-x R-x R-x R-x
31:24
CiFIFOUAn<31:24>
R-x R-x R-x R-x R-x R-x R-x R-x
23:16
CiFIFOUAn<23:16>
R-x R-x R-x R-x R-x R-x R-x R-x
15:8
CiFIFOUAn<15:8>
R-x R-x R-x R-x R-x R-x R-0(1) R-0(1)
7:0
CiFIFOUAn<7:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This bit will always read 0, which forces byte-alignment of messages.
Note: This register is not guaranteed to read correctly in Configuration mode, and should only be accessed when
the module is not in Configuration mode.
REGISTER 30-23: CiFIFOCIN: CAN MODULE MESSAGE INDEX REGISTER (n = 0 THROUGH 31)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
15:8
U-0 U-0 U-0 R-0 R-0 R-0 R-0 R-0
7:0
CiFIFOCI<4:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
TX DMA TX BM
TX Bus TX Function
Master
TX Flow Control
System Bus
MII/RMII
IF
RX Flow
Control
FIFO
RX
RX DMA RX BM
MAC External
PHY
RX Bus RX Filter RX Function
Master
Checksum MIIM
IF
Fast Peripheral Bus
Host IF
PBCLK5
Ethernet Controller
TABLE 31-3:
Virtual Address ETHERNET CONTROLLER REGISTER SUMMARY
Bits
All Resets
Bit Range
(BF88_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF88_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
EMAC1
2260 RESET SPEED
SUPP 15:0 1000
RMII RMII
EMAC1 31:16 0000
2270
TEST 15:0 TESTBP TESTPAUSE SHRTQNTA 0000
31:16 0000
EMAC1
2280 RESET
MCFG 15:0 CLKSEL<3:0> NOPRE SCANINC 0020
MGMT
EMAC1 31:16 0000
2290
MCMD 15:0 SCAN READ 0000
EMAC1 31:16 0000
22A0
MADR 15:0 PHYADDR<4:0> REGADDR<4:0> 0100
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table (with the exception of ETHSTAT) have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and
INV Registers for more information.
2: Reset values default to the factory programmed value.
TABLE 31-3: ETHERNET CONTROLLER REGISTER SUMMARY (CONTINUED)
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF88_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: It is not recommended to clear the RXEN bit and then make changes to any RX related field/register. The
Ethernet Controller must be reinitialized (ON cleared to 0), and then the RX changes applied.
Note 1: It is not recommended to clear the RXEN bit and then make changes to any RX related field/register. The
Ethernet Controller must be reinitialized (ON cleared to 0), and then the RX changes applied.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: XOR = True when either one or the other conditions are true, but not both.
2: This Hash Table Filter match is active regardless of the value of the HTEN bit.
3: This Magic Packet Filter match is active regardless of the value of the MPEN bit.
Note 1: XOR = True when either one or the other conditions are true, but not both.
2: This Hash Table Filter match is active regardless of the value of the HTEN bit.
3: This Magic Packet Filter match is active regardless of the value of the MPEN bit.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: It is recommended to use the SET, CLR, or INV registers to set or clear any bit in this register. Setting or
clearing any bits in this register should only be done for debug/test purposes.
Note: It is recommended to use the SET, CLR, or INV registers to set or clear any bit in this register. Setting or
clearing any bits in this register should only be done for debug/test purposes.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: Table 31-4 provides a description of the pad function based on the configuration of this register.
2: This bit is ignored if the PADENABLE bit is cleared.
3: This bit is used in conjunction with the AUTOPAD and VLANPAD bits.
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware
Note 1: Table 31-4 provides a description of the pad function based on the configuration of this register.
2: This bit is ignored if the PADENABLE bit is cleared.
3: This bit is used in conjunction with the AUTOPAD and VLANPAD bits.
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: If a proprietary header is allowed, this bit should be adjusted accordingly. For example, if 4-byte headers
are prepended to frames, MACMAXF could be set to 1527 octets. This would allow the maximum VLAN
tagged frame plus the 4-byte header.
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
REGISTER 31-35: EMAC1MRDD: ETHERNET CONTROLLER MAC MII MANAGEMENT READ DATA
REGISTER
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
15:8
MRDD<15:8>
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
7:0
MRDD<7:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
Note 1: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
2: This register is loaded at reset from the factory preprogrammed station address.
Note 1: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
2: This register is loaded at reset from the factory preprogrammed station address.
Note 1: Both 16-bit and 32-bit accesses are allowed to these registers (including the SET, CLR and INV registers).
8-bit accesses are not allowed and are ignored by the hardware.
2: This register is loaded at reset from the factory preprogrammed station address.
C1INC
COE (CM1CON<14>)
C1IND
CMP1 C1OUT
CREF
(CM1CON<4>)
CPOL
(CM1CON<13>)
COUT (CM1CON<8>)
C1INA
and Trigger to ADC
C1OUT
D Q (CMSTAT<2>)
C2INB CCH<1:0> (CM2CON<1:0>)
PBCLK3
C2INC
COE (CM2CON<14>)
C2IND
CMP2 C2OUT
CREF
(CM2CON<4>)
CPOL
(CM2CON<13>)
COUT (CM2CON<8>) and
C2INA
Trigger to ADC
CVREF(1) C2OUT
D Q (CMSTAT<1>)
PBCLK3
IVREF (1.2V)
Note 1: Internally connected. See Section 33.0 Comparator Voltage Reference (CVREF) for more information.
All Resets
Bit Range
(BF84_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
C000 CM1CON
15:0 ON COE CPOL COUT EVPOL<1:0> CREF CCH<1:0> 00C3
31:16 0000
C010 CM2CON
15:0 ON COE CPOL COUT EVPOL<1:0> CREF CCH<1:0> 00C3
31:16 0000
C060 CMSTAT
15:0 SIDL C2OUT C1OUT 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: Setting this bit will invert the signal to the comparator interrupt generator as well. This will result in an
interrupt being generated on the opposite edge from the one selected by EVPOL<1:0>.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
CVRSS = 1
VREF+ CVRSRC
AVDD
CVRSS = 0 8R
CVR<3:0> CVREF
CVREN R
R
16-to-1 MUX
16 Steps
CVREFOUT
CVRCON<CVROE>
R
R
R
CVRR 8R
CVRSS = 1
VREF-
AVSS
CVRSS = 0
All Resets
Bit Range
(BF80_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
0E00 CVRCON
15:0 ON CVROE CVRR CVRSS CVR<3:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: The register in this table has corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8 and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Externally Generated
Trip Point
VDDIO
VDDIO
HLVDIN HLVDL<3:0>
ON VDIR
16-to-1 MUX
HLVD Event to
NMI
Band Gap
Reference
ON
All Resets
Bit Range
(BF80_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0000
1800 HLVDCON
15:0 ON VDIR BGVST HLEVT HLEVTOUTDIS HLVDL<3:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: The register in this table has corresponding CLR, SET and INV registers at their virtual addresses, plus offsets of 0x4, 0x8, and 0xC, respectively. See Section 12.2 CLR, SET, and INV Registers for
more information.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
H
Note 1: To avoid false HLVD events, all HLVD module setting changes should occur only when the module is
disabled (ON = 0). See Table 44-6 in 44.0 Electrical Characteristics for the actual trip points.
2: Once this bit is set to '1', it can only be cleared by disabling or enabling the HLVD module (or through the
HLVDMD bit).
Note 1: To avoid false HLVD events, all HLVD module setting changes should occur only when the module is
disabled (ON = 0). See Table 44-6 in 44.0 Electrical Characteristics for the actual trip points.
2: Once this bit is set to '1', it can only be cleared by disabling or enabling the HLVD module (or through the
HLVDMD bit).
CTMUICON
ITRIM<5:0>
IRNG<1:0>
Current Source
CTED1 Edge
Control CTMU ADC
Logic EDG1STAT
CTED2 EDG2STAT TGEN Control Trigger
Current Logic
Control
Timer1
OC1-OC4
CTMUP Pulse CTPLS
IC1-IC6
Generator
CMP1-CMP2
CTMUI
PBCLK3 (To ADC S&H capacitor)
CTMUT
(To ADC)
C2INB
Temperature
Sensor
CDELAY
Comparator 2
External capacitor
for pulse generation
All Resets
Bit Range
(BF84_#)
Register
Name(1)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 EDG1MOD EDG1POL EDG1SEL<3:0> EDG2STAT EDG1STAT EDG2MOD EDG2POL EDG2SEL<3:0> 0000
C200 CTMUCON
15:0 ON CTMUSIDL TGEN EDGEN EDGSEQEN IDISSEN CTTRIG ITRIM<5:0> IRNG<1:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: All registers in this table have corresponding CLR, SET and INV registers at its virtual address, plus an offset of 0x4, 0x8 and 0xC, respectively. See Section 11.2 CLR, SET and INV Registers for
more information.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
REGISTER 35-1: CTMUCON: CTMU CONTROL REGISTER
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
31:24
EDG1MOD EDG1POL EDG1SEL<3:0> EDG2STAT EDG1STAT
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 U-0 U-0
23:16
EDG2MOD EDG2POL EDG2SEL<3:0>
R/W-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
15:8
ON CTMUSIDL TGEN(1) EDGEN EDGSEQEN IDISSEN(2) CTTRIG
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
7:0
ITRIM<5:0> IRNG<1:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: When this bit is set for Pulse Delay Generation, the EDG2SEL<2:0> bits must be set to 1110 to select
the C2OUT pin.
2: The ADC module Sample and Hold capacitor is not automatically discharged between sample/conversion
cycles. Software using the ADC as part of a capacitive measurement, must discharge the ADC capacitor
before conducting the measurement. The IDISSEN bit, when set to 1, performs this function. The ADC
module must be sampling while the IDISSEN bit is active to connect the discharge sink to the capacitor
array.
3: Refer to the CTMU Current Source Specifications (Table 44-20) in Section 44.0 Electrical
Characteristics for current values.
4: This bit setting is not available for the CTMU temperature diode.
Note 1: When this bit is set for Pulse Delay Generation, the EDG2SEL<2:0> bits must be set to 1110 to select
the C2OUT pin.
2: The ADC module Sample and Hold capacitor is not automatically discharged between sample/conversion
cycles. Software using the ADC as part of a capacitive measurement, must discharge the ADC capacitor
before conducting the measurement. The IDISSEN bit, when set to 1, performs this function. The ADC
module must be sampling while the IDISSEN bit is active to connect the discharge sink to the capacitor
array.
3: Refer to the CTMU Current Source Specifications (Table 44-20) in Section 44.0 Electrical
Characteristics for current values.
4: This bit setting is not available for the CTMU temperature diode.
B
u
s DMA Engine DMA Engine DMA Engine
2015-2017 Microchip Technology Inc.
TABLE 36-1:
Virtual Address GRAPHICS LCD CONTROLLER REGISTER MAP
All Resets
Bit Range
(BF8E_#)
Register
Name
Bit 31/15 Bit 30/14 Bit 29/13 Bit 28/12 Bit 27/11 Bit 26/10 Bit 25/9 Bit 24/8 Bit 23/7 Bit 22/6 Bit 21/5 Bit 20/4 Bit 19/3 Bit 118/2 Bit 17/1 Bit 16/0
A040
L0STRIDE 15:0 STRIDE<15:0> 0000
GLCD 31:16 RESX<10:0> 0000
A044
L0RES 15:0 RESY<10:0> 0000
DISA FORCE MUL 0000
GLCD 31:16 LAYEREN ALPHA<7:0>
A050 BIFIL ALPHA ALPHA
L1MODE
15:0 DESTBLEND<3:0> SRCBLEND<3:0> COLORMODE<3:0> 0000
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
Note 1: For the PIXELxy bits, x = 0-31 and y = 0-31 (i.e., GLCDCURDATA0 contains PIXEL00 through PIXEL07 with PIXEL00 in the most significant nibble).
DS60001361E-page 586
TABLE 36-1: GRAPHICS LCD CONTROLLER REGISTER MAP (CONTINUED)
All Resets
Bit Range
(BF8E_#)
Register
Name
Bit 31/15 Bit 30/14 Bit 29/13 Bit 28/12 Bit 27/11 Bit 26/10 Bit 25/9 Bit 24/8 Bit 23/7 Bit 22/6 Bit 21/5 Bit 20/4 Bit 19/3 Bit 118/2 Bit 17/1 Bit 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: If all of the bits in this register are set (RED, GREEN, BLUE and ALPHA), RGBA color is used as the
background.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
REGISTER 36-17: GLCDCLUTx: GRAPHICS LCD CONTROLLER GLOBAL COLOR LOOKUP TABLE
REGISTER x (x=0-255)
Bit Bit Bit Bit Bit Bit Bit Bit Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2 25/17/9/1 24/16/8/0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
31:24
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
23:16
RED<7:0>
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
15:8
GREEN<7:0>
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
7:0
BLUE<7:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: For the PIXELxy bits, x = 0-31 and y = 0-31 (i.e., GLCDCURDATA0 contains PIXEL00 through PIXEL07
with PIXEL00 in the most significant nibble).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The bits in this register contain the 8-bit RGB color value (0-255).
Graphics Controller
System Bus 64-bit System Bus CPU Core
Host Interface
Memory Controller
2-D Pipeline
Graphics
Pixel
Pipeline
2-D Drawing and Scaling Engine Engine
Front End
VDDR1V8 VTT
DDR2
Memory(1)
DDR2-PHY
DDR2 Control DDRVREF
Control Registers
Registers DDRCKE
DDRCK
Target Manager DDRCK
DDRCS0
Target 0 DDRRAS
(CPU)
DDRCAS
DDR2
System Bus
Target 3 DDRLDQS
Target 4 DDRDQ<15:0>
(GLCD and GPU) DDRUDM
DDRLDM
DDRODT
Note 1: DDR2 memory is internal in 169-pin LFBGA and 176-pin LQFP packages and is external in 288-pin LFBGA packages.
All Resets
Bit Range
(BF8E_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
REFEN DNEN
DDR 31:16 RMWDLY<3:0> R2WDLY>3:0> W2WCSDLY<3:0> W2WDLY<3:0> 0000
8030
DLYCFG0 15:0 R2RCSDLY<3:0> R2RDLY<3:0> W2RCSDLY<3:0> W2RDLY<3:0> 0000
SLFREF NXTDAT W2R W2R W2PCHRG
DDR 31:16 PWRDNEXDLY<5:0> PWRDNMINDLY<3:0> 0000
8034 EXDLY8 AVDLY4 CSDLY4 DLY4> DLY4
DLYCFG1
15:0 SLFREFEXDLY<7:0> SLFREFMINDLY<7:0> 0000
DDR 31:16 RBENDDLY<3:0> PCHRG2RASDLY<3:0> RAS2CASDLY<3:0> RAS2RASDLY<3:0> 0000
8038
DLYCFG2 15:0 W2PCHRGDLY<3:0> R2PCHRGDLY<3:0> PCHRGALLDLY<3:0> 0000
DDR 31:16 FAWTDLY<5:0> 0000
803C
DLYCFG3 15:0 RAS2RASSBNKDLY<5:0> RAS2PCHRGDLY<4:0> 0000
DDR 31:16 ODTWLEN<2:0> ODTRLEN<2:0> 0000
8040
ODTCFG 15:0 ODTWDLY<3:0> ODTRDLY<3:0> ODTCSEN<7:0> 0000
BIGEN-
DDR 31:16 MAXBURST<3:0> RDATENDLY<3:0> 0000
8044 DIAN
XFERCFG
15:0 NXTDATAVDLY<3:0> NXTDATRQDLY<3:0> 0000
TABLE 38-1: DDR SDRAM CONTROLLER REGISTER SUMMARY (CONTINUED)
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF8E_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BF8E_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
WEN
31:16 MDALCMD<7:0> CASCMD2 RASCMD2 CSCMD2<7:3> 0000
DDR CMD2
80A8
CMD110 CLKEN WEN CLKEN
15:0 CSCMD2<2:0> CASCMD1 RASCMD1 CSCMD1<7:0> 0000
CMD2 CMD1 CMD1
WEN
31:16 MDALCMD<7:0> CASCMD2 RASCMD2 CSCMD2<7:3> 0000
DDR CMD2
80AC
CMD111 CLKEN WEN CLKEN
15:0 CSCMD2<2:0> CASCMD1 RASCMD1 CSCMD1<7:0> 0000
CMD2 CMD1 CMD1
WEN
31:16 MDALCMD<7:0> CASCMD2 RASCMD2 CSCMD2<7:3> 0000
DDR CMD2
80B0
CMD112 CLKEN WEN CLKEN
15:0 CSCMD2<2:0> CASCMD1 RASCMD1 CSCMD1<7:0> 0000
CMD2 CMD1 CMD1
WEN
31:16 MDALCMD<7:0> CASCMD2 RASCMD2 CSCMD2<7:3> 0000
DDR CMD2
80B4
CMD113 CLKEN WEN CLKEN
15:0 CSCMD2<2:0> CASCMD1 RASCMD1 CSCMD1<7:0> 0000
CMD2 CMD1 CMD1
WEN
31:16 MDALCMD<7:0> CASCMD2 RASCMD2 CSCMD<27:3> 0000
DDR CMD2
80B8
CMD114 CLKEN WEN CLKEN
15:0 CSCMD2<2:0> CASCMD1 RASCMD1 CSCMD1<7:0> 0000
CMD2 CMD1 CMD1
WEN
31:16 MDALCMD<7:0> CASCMD2 RASCMD2 CSCMD2<7:3> 0000
DDR CMD2
80BC
CMD115 CLKEN WEN CLKEN
15:0 CSCMD2<2:0> CASCMD1 RASCMD1 CSCMD1<7:0> 0000
CMD2 CMD1 CMD1
DDR 31:16 WAIT<8:5> 0000
80C0
CMD20 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
DDR 31:16 WAIT<8:5> 0000
80C4
CMD21 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
DDR 31:16 WAIT<8:5> 0000
80C8
CMD22 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
DDR 31:16 WAIT<8:5> 0000
2015-2017 Microchip Technology Inc.
80CC
CMD23 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
DDR 31:16 WAIT<8:5> 0000
80D0
CMD24 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
DDR 31:16 WAIT<8:5> 0000
80D4
CMD25 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
DDR 31:16 WAIT<8:5> 0000
80D8
CMD26 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
DDR 31:16 WAIT<8:5> 0000
80DC
CMD27 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
DDR 31:16 WAIT<8:5> 0000
80E0
CMD28 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
DDR 31:16 WAIT<8:5> 0000
80E4
CMD29 15:0 WAIT<4:0> BNKADDRCMD<2:0> MDADDRHCMD<7:0> 0000
TABLE 38-1: DDR SDRAM CONTROLLER REGISTER SUMMARY (CONTINUED)
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BF8E_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The TSEL<7:0> bits (DDRTSEL<7:0>) must be programmed with the target number multiplied by the size of
the MINLIMIT field (5) before this register is used to program the minimum burst limit for that target.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The TSEL<7:0> bits (DDRTSEL<7:0>) must be programmed with the target number multiplied by the size of
the MINLIMIT field (5) before this register is used to program the minimum burst limit for that target.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The TSEL<7:0> bits (DDRTSEL<7:0>) must be programmed with the target number multiplied by the size of
the MINLIMIT field (5) before this register is used to program the minimum burst limit for that target.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: This bit is set by hardware when the SCL process has passed and is complete.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
SDCMD
SDCK
Master System Bus DMA Engine TX/RX
Engine
SDDATA0
FIFOs SDDATA1
Note 1: When configuring the REFCLKO4 clock source, a value of 0 for the ROTRIM<8:0> bits must be selected. REFCLKO4 must be
turned on before SDHC Special Function Registers (SFR) access.
2: This clock source is only used for SDHC Special Function Register (SFR) access.
All Resets
Bit Range
Address
Register
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
SDHC 31:16 CMDSLVL DATA3SLVL DATA2SLVL DATA1SLVL DATA0SLVL WPSLVL CDSLVL CARDST CARDINS 0000
C024
STAT1 15:0 BREN BWEN RDACTIVE WRACTIVE DLACTIVE CINHDAT CINHCMD 0000
SDHC 31:16 WKONREM WKONINS WKONINT INTBG RDWTCON CONTREQ SBGREQ 0000
C028
CON1 15:0 SDBP CDSSEL CDTLVL DMASEL<1:0> HSEN DTXWIDTH 0000
SDHC 31:16 ADEIF ACEIF CLEIF DEBEIF DCRCEIF DTOEIF CIDXEIF CEBEIF CCRCEIF CTOEIF 0000
C030
INTSTAT 15:0 EIF CARDIF CARDRIF CARDIIF BRRDYIF BWRDYIF DMAIF BGIF TXCIF CCIF 0000
2015-2017 Microchip Technology Inc.
SDHC 31:16 ADEIE AACEIE CLEIE DEBEIE DCRCEIE DTOEIE CIDXEIE CDEBEIE CCRCEIE CTOEIE 0000
C034
INTEN 15:0 FTZIE CARDIE CARDRIE CARDIIE BRRDYIE BWRDYIE DMAIE BGIE TXCIE CCE 0000
SDHC 31:16 ADEISE ACEISE CLEISE DEBEISE DCRCEISE DTOEISE CIDXEISE CEBEISE CEBEISE CCRCEISE 0000
C038
INTSEN 15:0 FTZEISE CARDISE CARDRISE CARDIISE BRRDYISE BWRDYISE DMAISE BGISE TXCISE CCISE 0000
Bits
All Resets
Bit Range
Register
Address
Virtual
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: These bits are only used when the BCEN bit (SDHCMODE<1>) is set to '1' and is valid only for multiple
block transfers. The BCOUNT<15:0> bits need not be set if the BSIZE bit (SDHCMODE<5>) is set to '0'.
2: These bits can only be accessed when no transactions are in progress. Read operations during transfers
will return an invalid value and write operations to these bits will be ignored.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: Refer to bits 45-40 of the command format in the SD Host Controller Simplified Specification (version
2.00).
2: If these bits are set to '1', the SDHC will check the index field in the response to see if it has the same
value as the CIDX<5:0> bits, if not, it will be reported as a command index error.
3: If these bits are set to '1', the SDHC will check the CRC field in the response and reports a command CRC
error upon a CRC error detection.
Note 1: Refer to bits 45-40 of the command format in the SD Host Controller Simplified Specification (version
2.00).
2: If these bits are set to '1', the SDHC will check the index field in the response to see if it has the same
value as the CIDX<5:0> bits, if not, it will be reported as a command index error.
3: If these bits are set to '1', the SDHC will check the CRC field in the response and reports a command CRC
error upon a CRC error detection.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: This register is used to recover from errors and for debugging.
Note: This register is used to recover from errors and for debugging.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Sleep mode has the lowest power consumption of the On any interrupt event for which the interrupt source
device power-saving operating modes. The CPU and is enabled. The priority of the interrupt event must
most peripherals are Halted and the associated clocks be greater than the current priority of the CPU. If the
are disabled. Select peripherals can continue to priority of the interrupt event is lower than or equal
operate in Sleep mode and can be used to wake the to current priority of the CPU, the CPU will remain
device from Sleep. See the individual peripheral Halted and the device will remain in Idle mode.
module sections for descriptions of behavior in Sleep On any form of device Reset
mode. On a WDT time-out interrupt
Sleep mode includes the following characteristics:
There can be a wake-up delay based on the
oscillator selection
The Fail-Safe Clock Monitor (FSCM) does not
operate during Sleep mode
The BOR circuit remains operative during Sleep
mode
The WDT, if enabled, is not automatically cleared
prior to entering Sleep mode
RTCDIS
RTCCLKSEL
VBAT
Timers SOSCI
Low-Power LPRC
VREG RTCC
SOSC
VDDCORE
DSWDT SOSCO
VBPOR
POR
DSGPR1-32 DSGPREN
BOR
MCLR DSGPR0
MCLR
Deep Sleep
Monitors Persistent General
Purpose Registers
Regulators
Flash VREG
Peripheral I/O
All Resets(1)
Bit Range
(BF8C_#)
Register
Name(2)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
025C DSGPR8 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
0260 DSGPR9 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
0264 DSGPR10 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
0268 DSGPR11 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
Legend: = unimplemented, read as 0.
Note 1: The DSGPR0 register is persistent in all device modes of operation.
2: The Deep Sleep Control registers can only be accessed after the system unlock sequence has been performed. In addition, these registers must be written twice.
TABLE 40-1: POWER-SAVING MODES REGISTER SUMMARY
2015-2017 Microchip Technology Inc.
Bits
Virtual Address
All Resets(1)
Bit Range
(BF8C_#)
Register
Name(2)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
026C DSGPR12 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
0270 DSGPR13 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
0274 DSGPR14 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
0278 DSGPR15 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
027C DSGPR16 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
02A0 DSGPR25 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
02A4 DSGPR26 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
Legend: = unimplemented, read as 0.
Note 1: The DSGPR0 register is persistent in all device modes of operation.
2: The Deep Sleep Control registers can only be accessed after the system unlock sequence has been performed. In addition, these registers must be written twice.
DS60001361E-page 674
TABLE 40-1: POWER-SAVING MODES REGISTER SUMMARY
Virtual Address
All Resets(1)
Bit Range
(BF8C_#)
Register
Name(2)
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
02A8 DSGPR27 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
02AC DSGPR28 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
02B0 DSGPR29 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
02B4 DSGPR30 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
02B8 DSGPR31 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
02BC DSGPR32 31:16 Deep Sleep Persistent General Purpose bits <31:16> 0000
15:0 Deep Sleep Persistent General Purpose bits <15:0> 0000
Legend: = unimplemented, read as 0.
Note 1: The DSGPR0 register is persistent in all device modes of operation.
2: The Deep Sleep Control registers can only be accessed after the system unlock sequence has been performed. In addition, these registers must be written twice.
2015-2017 Microchip Technology Inc.
PIC32MZ Graphics (DA) Family
Note 1: To enter Deep Sleep mode, Sleep mode must be executed after setting the DSEN bit.
2: Unlike all other events, a Deep Sleep Brown-out Reset (BOR) event will not cause a wake-up from Deep
Sleep mode; this bit is present only as a status bit.
Note: All bits in this register are cleared when the DSEN bit (DSCON<15>) is set.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: The contents of the DSGPR0 register are retained, even in Deep Sleep and VBAT modes. The DSPGR1
through DSPGR32 registers are disabled by default in Deep Sleep and VBAT modes, but can be enabled
with the DSGPREN bit (DSCON<13>). All register bits are reset only in the case of a VDDCORE Power-on
Reset (POR) event outside of Deep Sleep mode.
All Resets(1)
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
All Resets
Bit Range
(BFC0_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
31:16 0 xxxx
FFEC DEVSIGN0
15:0 xxxx
Legend: x = unknown value on Reset; = unimplemented, read as 0. Reset values are shown in hexadecimal.
TABLE 41-2: ADEVCFG: ALTERNATE DEVICE CONFIGURATION WORD SUMMARY
2015-2017 Microchip Technology Inc.
All Resets
Bit Range
(BFC0_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Virtual Address
Bits
All Resets(1)
Bit Range
(BF80_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Bits
All Resets(1)
Bit Range
(BFC5_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
2015-2017 Microchip Technology Inc.
All Resets(1)
Bit Range
(BFC5_#)
Register
Name
31/15 30/14 29/13 28/12 27/11 26/10 25/9 24/8 23/7 22/6 21/5 20/4 19/3 18/2 17/1 16/0
Note: The DEVSIGN1 through DEVSIGN3 and ADEVSIGN1 through ADEVSIGN3 registers are used for Quad
Word programming operation when programming the DEVSIGN0/ADESIGN0 registers, and do not contain
any valid information.
Note: The DEVCP1 through DEVCP3 and ADEVCP1 through ADEVCP3 registers are used for Quad Word
programming operation when programming the DEVCP0/ADEVCP0 registers, and do not contain any valid
information.
bit 31 Reserved: The reset value of this bit is the same as DEVSIGN0<31>.
bit 30 EJTAGBEN: EJTAG Boot Enable bit
1 = Normal EJTAG functionality
0 = Reduced EJTAG functionality
bit 29-28 Reserved: Write as 1
bit 27 POSCAGC: Primary Oscillator Auto Gain Control bit
1 = POSC Auto Gain Control Enabled
0 = POSC Auto Gain Control Disabled/Manual Gain Control Enabled
bit 26 Reserved: Write as 1
bit 25-24 POSCTYPE: Primary Oscillator Type bits
NOTE: These bits are used to control the gain loop, which differs based on the crystal frequency.
11 = 12 MHz Crystal
10 = 24 MHz Crystal
01 = Resonator
00 = 8 MHz Crystal
bit 23-22 Reserved: Write as 1
bit 21 POSCBOOST: Primary Oscillator Boost Kick Start Enable bit
1 = Boost the kick start of the oscillator
0 = Normal start of the oscillator
bit 20-19 POSCGAIN<1:0>: Primary Oscillator Gain Control bits
11 = Gain Level 3 (highest)
10 = Gain Level 2
01 = Gain Level 1
00 = Gain Level 0 (lowest)
bit 18 SOSCBOOST: Secondary Oscillator Boost Kick Start Enable bit
1 = Boost the kick start of the oscillator
0 = Normal start of the oscillator
bit 17-16 SOSCGAIN<1:0>: Secondary Oscillator Gain Control bits
11 = Gain Level 3 (highest)
10 = Gain Level 2
01 = Gain Level 1
00 = Gain Level 0 (lowest)
bit 15 SMCLR: Soft Master Clear Enable bit
1 = MCLR pin generates a normal system Reset
0 = MCLR pin generates a POR Reset
Note 1: This bit sets the value of the JTAGEN bit in the CFGCON register. When this fuse bit is set to 0 at start-
up, the JTAGEN bit in the CFGCON register is ignored at run-time.
Note 1: This bit sets the value of the JTAGEN bit in the CFGCON register. When this fuse bit is set to 0 at start-
up, the JTAGEN bit in the CFGCON register is ignored at run-time.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 31-0 ADCFG<31:0>: Calibration Data for the ADC Module bits
This data must be copied to the corresponding ADCxCFG register. Refer to Section 28.0 Pipelined
Analog-to-Digital Converter (ADC) for more information.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: To change this bit, the unlock sequence must be performed. Refer to Section 42. Oscillators with
Enhanced PLL (DS60001250) in the PIC32 Family Reference Manual for details.
2: The JTAGEN bit is only available at run-time when the JTAGEN (DEVCFG0<2>) fuse bit is set at start-up.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: When EBIMD = 1, the bits in this register are ignored and the pins are available for general use.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note: When EBIMD = 1, the bits in this register are ignored and the pins are available for general use.
Note: When EBIMD = 1, the bits in this register are ignored and the pins are available for general use.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: To use GLCD in RGB888 mode, the GLCDMODE bit should be set to 0, which will turn-off the general
purpose I/O functionality on six additional pins. Refer to the specific package in Device Pin Tables for
information on GDx pin sharing.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
Note 1: See the PIC32 Flash Programming Specification (DS60001145) for a list of Revision and Device ID values.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
PGED1
41.4.2 ON-CHIP REGULATOR AND BOR
ICSP
PIC32MZ DA devices also have a simple brown-out Controller
capability. If the voltage supplied to the regulator is PGEC2
inadequate to maintain a regulated level, the regulator PGED2
Reset circuitry will generate a Brown-out Reset. This
event is captured by the BOR flag bit (RCON<1>). The
ICESEL
brown-out voltage levels are specific in Section 44.1
DC Characteristics.
TDI
TRD3
DEBUG<1:0>
The MPASM Assembler generates relocatable object Support for the entire device instruction set
files for the MPLINK Object Linker, Intel standard HEX Support for fixed-point and floating-point data
files, MAP files to detail memory usage and symbol Command-line interface
reference, absolute LST files that contain source lines Rich directive set
and generated machine code, and COFF files for Flexible macro language
debugging.
MPLAB X IDE compatibility
The MPASM Assembler features include:
Integration into MPLAB X IDE projects
User-defined macros to streamline
assembly code
Conditional assembly for multipurpose
source files
Directives that allow complete control over the
assembly process
Note 1: Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the
device. This is a stress rating only and functional operation of the device at those or any other conditions,
above those indicated in the operation listings of this specification, is not implied. Exposure to maximum
rating conditions for extended periods may affect device reliability.
2: Maximum allowable current is a function of device maximum power dissipation (see Table 44-2).
3: See the pin name tables (Table 5 through Table 7) for the 5V tolerant pins.
4: Characterized, but not tested. Refer to parameters DO10, DO20, and DO20a for the 4x, 8x, and 12x I/O
pin lists.
5: Excludes DDR2 pins.
Load Condition 1 for all pins except OSC2 Load Condition 2 for OSC2 (in EC mode)
VDDIO/2
RL Pin CL
VSS
CL
Pin RL = 464
VSS
OSC1
OS30 OS31
For example, if PBCLK2 = 100 MHz and SPI bit rate = 50 MHz, the effective jitter is as follows:
D CLK D CLK
EffectiveJitter = -------------- = -------------
-
100 1.41
---------
50
I/O Pin
(Input)
DI35
DI40
I/O Pin
(Output)
DO31
DO32
Note: Refer to Figure 44-1 for load conditions.
VDDCORE
VPORCORE
(TSYSDLY)
SY02
Power-up Sequence
(Note 2)
VPORCORE (TSYSDLY)
SY02
Power-up Sequence
(Note 2)
Note 1: The power-up period will be extended if the power-up sequence completes before the device exits from BOR
(VDDIO < VDDIOMIN).
2: Includes interval voltage regulator stabilization delay.
MCLR
TMCLR
(SY20)
VBORIO
TBOR (TSYSDLY)
(SY30) SY02
Reset Sequence
TxCK
Tx10 Tx11
Tx15 Tx20
OS60
TMRx
IC10 IC11
IC15
OCx
(Output Compare
or PWM mode) OC11 OC10
OC20
OCFA/OCFB
OC15
SCKx
(CKP = 1)
SP31 SP30
SP40 SP41
SCKX
(CKP = 1)
SP35
SP20 SP21
SP30,SP31
SSX
SP50 SP52
SCKX
(CKP = 0)
SP71 SP70
SP73 SP72
SCKX
(CKP = 1)
SP72 SP73
SP35
SP30,SP31 SP51
SP50 SP52
SCKx
(CKP = 0)
SCKx
(CKP = 1)
SP35
SP72 SP73
SP30,SP31 SP51
SDIx
SDI
MSb In Bit 14 - - - -1 LSb In
SP40 SP41
CE#
T CEH T CHS
T CHH T CES
SCK
T DS TDH T SCKF
T SCKR
CE#
T SCKH TSCKL
SCK
T OH
TCLZ T CHZ
TV
SCLx
IM31 IM34
IM30 IM33
SDAx
SDAx
Out
SCLx
IS31 IS34
IS30 IS33
SDAx
Start Stop
Condition Condition
SDAx
Out
CiTx Pin
Old Value New Value
(output)
CA10 CA11
CiRx Pin
(input)
CA20
PMCSx
PS5
PMRD
PS6
PMWR
PS4 PS7
PMD<x:0>
PS1
PS3
PS2
PBCLK2
PM4
PMA<x:0> Address
PM6
PMD<x:0> Address<7:0>
Address<7:0> Data
Data
PM2
PM7
PM3
PMRD
PM5
PMWR
PM1
PMALL/PMALH
PMCSx
PBCLK2
PMA<x:0> Address
PM2 + PM3
PM12
PM13
PMRD
PM11
PMWR
PM1
PMALL/PMALH
PMCSx
VIHMIN
MDC
VILMAX
VIHMIN
MDIO
VILMAX
ET3 (Hold)
(Setup) ET3
VIHMIN
MDC
VILMAX
VIHMIN
MDIO
VILMAX
ET4
VIHMIN
VILMAX
TX Clock
VIHMIN
ETXD<3:0>, VILMAX
ETEN,
ETXERR
ET7
VIHMIN
RX Clock VILMAX
VIHMIN
ERXD<3:0>, VILMAX
ERXDV,
ERXERR
(Setup) ET10
ET10 (Hold)
SYSCLK
tEBICO tEBICO
EBIA<x:2> ADDRESS
EBIA<1:0> 00 01 10 11
tEBICO tEBICO
EBICSx
tEBICO tEBICO
EBIBSx 00
tEBICO tEBICO
EBIOE
SYSCLK
tEBICO tEBICO
EBIA<x:0> ADDRESS
tEBICO tEBICO
EBICSx
tEBICO tEBICO
EBIOE
tEBICO tEBICO
EBIWE
tEBIDO tEBIDO
TTCKeye
TTCKhigh TTCKlow
Trf
TCK
Trf
TMS
TDI
TDO
TTRST*low
TTDOout TTDOzstate
TRST*
Defined Undefined
Trf
Note: The graphs provided are a statistical summary based on a limited number of samples and are provided for design guidance purposes only. The performance characteristics listed herein are not tested
or guaranteed. In some graphs, the data presented may be outside the specified operating range (e.g., outside specified power supply range) and therefore, outside the warranted range.
FIGURE 45-1: VOH 4x DRIVER PINS FIGURE 45-3: VOH 8x DRIVER PINS
VOH(V) VOH(V)
0.050 0.090
0.045 0.080
0.040
0.070
0.035
0.060
0.030
IOH(A)
0.050
IOH(A)
0.025
0.040
0 020
0.020
FIGURE 45-2: VOL 4x DRIVER PINS FIGURE 45-4: VOL 8x DRIVER PINS
VOL(V) VOL(V)
0.050 0.090
0.045 0.080
0.040 0.070
0.035
0.060
0.030
0.050
IOL(A)
IOL(A)
0.025
0.040
DS60001361E-page 777
0 020
0.020
0.030
0.015 AbsoluteMaximum AbsoluteMaximum
0.020
0.010
0.005 0.010
0.000 0.000
0.00 0.50 1.00 1.50 2.00 2.50 3.00 3.50 0.00 0.50 1.00 1.50 2.00 2.50 3.00 3.50
DS60001361E-page 778
FIGURE 45-5: VOH 12x DRIVER PINS FIGURE 45-7: TYPICAL TEMPERATURE SENSOR VOLTAGE
0.140
1.350
0.120
Voltage (V)
1.150
0.100
0.080 0.950
IOH(A)
0.060
0 750
0.750
0.040
0.550
0.020 AbsoluteMaximum
0.350
0.000 -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140
0.00 0.50 1.00 1.50 2.00 2.50 3.00 3.50
Temperature (Celsius)
VOL(V)
0.140
0.120
2015-2017 Microchip Technology Inc.
0.100
0.080
IOL(A)
0.060
0.040
AbsoluteMaximum
0.020
0.000
0.00 0.50 1.00 1.50 2.00 2.50 3.00 3.50
PIC32MZ Graphics (DA) Family
46.0 PACKAGING INFORMATION
46.1 Package Marking Information
XXXXXXXXXX PIC32MZ2064
XXXXXXXXXX DAG-169I/HF
XXXXXXXXXX e3
YYWWNNN 0510017
XXXXXXXXXX PIC32MZ2064
XXXXXXXXXX DAG-169I/6JX
XXXXXXXXXX e3
YYWWNNN 0510017
XXXXXXXXXX PIC32MZ2064
XXXXXXXXXX DAG-176I/2J
XXXXXXXXXX e3
YYWWNNN 0510017
XXXXXXXXXX PIC32MZ2064
XXXXXXXXXX DAG-288I/4J
XXXXXXXXXX e3
YYWWNNN 0510017
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
169X
0.15 C
0.10 C
D A
(A2)
NOTE 1 B
2X
0.10 C
2X
0.10 C NOTE 1 (DATUM B) A1
A1 CORNER (DATUM A) (A3)
A
TOP VIEW
A1 CORNER C
D1 SEATING
PLANE
NOTE 1
N
SIDE VIEW
E1
166X b
BOTTOM VIEW 0.10 C A B
0.05 C
169-Ball Low Profile Fine Pitch Ball Grid Array (HF) - 11x11x1.4 mm Body [LFBGA]
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
Units MILLIMETERS
Dimension Limits MIN NOM MAX
Number of Terminals (Balls) N 169
Pitch e 0.80 BSC
Overall Height A 1.17 1.285 1.40
Terminal (Ball) Height A1 0.25 0.325 0.40
Mold Cap Thickness (A2) 0.70 REF
Substrate Thickness (A3) 0.26 REF
Overall Length D 11.00 BSC
Overall Width E 11.00 BSC
Overall Ball Pitch D1 9.60
Overall Ball Pitch E1 9.60
Ball Diameter b 0.40 0.45 0.50
Notes:
1. Pin 1 visual index feature may vary, but must be located within the hatched area.
2. Dimensioning and tolerancing per ASME Y14.5M
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
REF: Reference Dimension, usually without tolerance, for information purposes only.
169-Ball Low Profile Ball Grid Array (6JX) - 11x11 mm Body [LFBGA]
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
169X
0.15 C
D
0.20 C
D
4 A
NOTE 1 A1
B
1 2 3 4 5 6 7 8 9 10 11 12 13
A
E
4 B
C
D
E
F
G E
H
(DATUM B) J
K
(DATUM A) L
2X M
0.10 C N
2X (A3)
0.10 C TOP VIEW
(A2)
A
D1
C
SEATING
1 2 3 4 5 6 7 8 9 10 11 12 13 PLANE
N
M SIDE VIEW
L
K
J
H
G e E1
F
E
D
C
B
A
NOTE 1 169X b
0.15 C A B
e 0.08 C
BOTTOM VIEW
169-Ball Low Profile Ball Grid Array (6JX) - 11x11 mm Body [LFBGA]
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
Units MILLIMETERS
Dimension Limits MIN NOM MAX
Number of Terminals N 169
Pitch e 0.80 BSC
Overall Height A 1.33 1.445 1.56
Standoff A1 0.40 0.45 0.50
Mold Thickness A2 0.86 REF
Substrate Thickness A3 0.26 REF
Overall Length D 11.00 BSC
Overall Terminal Spacing D1 9.60 BSC
Overall Width E 11.00 BSC
Overall Terminal Spacing E1 9.60 BSC
Terminal Diameter b 0.40 0.45 0.50
Notes:
1. Pin A1 visual index feature may vary, but must be located within the hatched area.
2. Dimensioning and tolerancing per ASME Y14.5M
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
REF: Reference Dimension, usually without tolerance, for information purposes only.
169-Ball Low Profile Ball Grid Array (6JX) - 11x11 mm Body [LFBGA]
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
1 2 3 4 5 6 7 8 9 10 11 12 13
B
C
E
D
E
F
G C2
H
J G
K
L
M
N
X
E
SILK SCREEN
C1
Units MILLIMETERS
Dimension Limits MIN NOM MAX
Contact Pitch E 0.80 BSC
Overall Contact Pad Spacing C1 9.60
Overall Contact Pad Spacing C2 9.60
Contact Pad Width (X169) X1 0.50
Contact Pad to Contact Pad G 0.30
Notes:
1. Dimensioning and tolerancing per ASME Y14.5M
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
176-Lead Low Profile Quad Flat Pack (2J) - 20x20x1.4 mm Body [LQFP]
With 7x7 mm Exposed Pad
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
D A SEATING PLANE
D1 C 176X
D1 0.08 C
2 B
N
NOTE 1
12
SEE DETAIL B
E1
2
E2
E
(DATUM B) E1
(DATUM A)
(L1)
4X
0.20 C
4X
1
0.20 C
D2
TOP VIEW
SIDE VIEW
D3
e
2
X
X = A OR B
E3 e
DETAIL A
SEE DETAIL A
1 2
NOTE 1
N
176X b
0.07 C A B
BOTTOM VIEW
Microchip Technology Drawing C04-367A Sheet 1 of 2
176-Lead Low Profile Quad Flat Pack (2J) - 20x20x1.4 mm Body [LQFP]
With 7x7 mm Exposed Pad
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
2
R1
R2
A A2 c
SEATING
PLANE
C 3
A1
L
Notes:
1. Pin 1 visual index feature may vary, but must be located within the hatched area.
2. Dimensions D1 and E1 do not include mold protrusion. Allowable Protrusion is 0.25mm per side.
D1 and E1 are maximum body size dimensions including mold mismatch.
3. Dimension b does not include dambar protrusion. Allowable dam bar protrusion shall not cause
the lead width to exceed the maximum b dimension by more than 0.08mm
Dambar cannot be located on the lower radius or the foot. Minimum space between protrusion
and adjacent lead is 0.07mm for 0.40mm pitch packages.
4. Dimensioning and tolerancing per ASME Y14.5M
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
REF: Reference Dimension, usually without tolerance, for information purposes only.
288 Ball Low Profile Fine Pitch Ball Grid Array (4J) - 15x15x1.4 mm Body [LFBGA]
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
Units MILLIMETERS
Dimension Limits MIN NOM MAX
Number of Terminals (Balls) N 288
Pitch e 0.80 BSC
Overall Height A - - 1.40
Terminal (Ball) Height A1 0.30 0.35 0.40
Mold Cap Height (A2) 0.70 REF
Substrate Thickness (A3) 0.26 REF
Overall Length D 15.00 BSC
Overall Ball Pitch D1 13.60 BSC
Overall Width E 15.00 BSC
Overall Ball Pitch E1 13.60 BSC
Ball Diameter b 0.40 0.45 0.50
Notes:
1. Pin 1 visual index feature may vary, but must be located within the hatched area.
2. Dimensioning and tolerancing per ASME Y14.5M
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
REF: Reference Dimension, usually without tolerance, for information purposes only.
Package HF = 169-Lead (11x11x1.4 mm) LFBGA (Low Profile Fine Pitch Ball Grid Array)
6J = 169-Lead (11x11x1.56 mm) LFBGA (Low Profile Fine Pitch Ball Grid Array)
2J = 176-Lead (22x22x1.4 mm) LQFP (Low Profile Quad Flat Pack)
4J = 288-Lead (15x15x1.4 mm) LFBGA (Low Profile Fine Pitch Ball Grid Array)
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 Microchips 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 Microchips 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.
11/07/16