PIC32MK1024GPD064 PMP registers

The 10 registers of PMP (Parallel master port), from 0xBF82E000, with their reset value and every field. The PIC32MK1024GPD064 has 1106 registers in 106 peripherals, one page each.

Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.

PMP Parallel master port

PMCONParallel Port Control Register

Address
0xBF82E000
Reset
0x00000000
Access
read/write
Size
32-bit
15 fields
FieldBitsWhat it does
RDSTART23Start Read on PMP Bus bit
  • 0 No effect
  • 32 Start a read cycle on the PMP bus
DUALBUF17Dual Read/Write Buffers enable bit
  • 0 PMP uses legacy registers (PMADDR
  • 1 PMP uses separate registers for reads and writes (PMRADDR
EXADR16
ON15Parallel Master Port Enable bit
  • 0 PMP is disabled
  • 1 PMP is enabled
SIDL13Stop in Idle Mode bit
  • 0 Continue module operation in Idle mode
  • 1 Discontinue module operation when device enters Idle mode
ADRMUX12:11Address/Data Multiplexing Selection bits
  • 0 Address and data appear on separate pins
  • 1 Lower 8 bits of address are multiplexed on PMD pins
  • 2 All 16 bits of address are multiplexed on PMD pins
  • 3 Lower 8 bits of address are multiplexed on PMD pins; upper 8 bits are not used
PMPTTL10PMP Module TTL Input Buffer Select bit
  • 0 PMP module uses Schmitt Trigger input buffer
  • 1 PMP module uses TTL input buffers
PTWREN9Write Enable Strobe Port Enable bit
  • 0 PMWR/PMENB port is disabled
  • 1 PMWR/PMENB port is enabled
PTRDEN8Read/Write Strobe Port Enable bit
  • 0 PMRD/PMWR port is disabled
  • 1 PMRD/PMWR port is enabled
CSF7:6Chip Select Function bits
  • 0 PMCS1 and PMCS2 function as address bit 14 and address bit 15
  • 1 PMCS2 functions as Chip Select and PMCS1 functions as address bit 14
  • 2 PMCS1 and PMCS2 function as Chip Select
  • 3 Reserved
ALP5Address Latch Polarity bit
  • 0 Active-low (PMALL and PMALH)
  • 1 Active-high (PMALL and PMALH)
CS2P4Chip Select 2 Polarity bit
  • 0 Active-low (PMCS2)
  • 1 Active-high (PMCS2)
CS1P3Chip Select 1 Polarity bit
  • 0 Active-low (PMCS1)
  • 1 Active-high (PMCS1)
WRSP1Write Strobe Polarity bit
  • 0 (Slave and Master mode 2) Write strobe active-low / (Master mode 1) Enable strobe active-low
  • 1 (Slave and Master mode 2) Write strobe active-high / (Master mode 1) Enable strobe active-high
RDSP0Read Strobe Polarity bit
  • 0 (Slave and Master mode 2) Read Strobe active-low / (Master mode 1) Read/write strobe active-low
  • 1 (Slave and Master mode 2) Read Strobe active-high / (master mode 1) Read/write strobe active-high

PMMODEParallel Port Mode Register

Address
0xBF82E010
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
BUSY15Busy bit
  • 0 Port is not busy
  • 1 Port is busy
IRQM14:13Interrupt Request Mode bits
  • 0 No Interrupt is generated
  • 1 Interrupt is generated at the end of the read/write cycle
  • 2 Interrupt is generated when Read Buffer 3 is read or Write Buffer 3 is written (Buffered PSP mode)or on a read or write operation when PMA = 11 (Addressable Slave mode only)
  • 3 Reserved
INCM12:11Increment Mode bits
  • 0 No increment or decrement of address
  • 1 Increment ADDR and ADDR<14> by 1 every read/write cycle
  • 2 Decrement ADDR and ADDR<14> by 1 every read/write cycle
  • 3 Slave mode read and write buffers auto-increment (MODE = 00 only)
MODE16108/16-bit Mode bit
  • 0 8-bit mode: a read or write to the data register invokes a single 8-bit transfer
  • 1 16-bit mode: a read or write to the data register invokes a single 16-bit transfer
MODE9:8Parallel Port Mode Select bits
  • 0 Legacy Parallel Slave Port, control signals
  • 1 Enhanced Slave mode, control signals
  • 2 Master mode 2
  • 3 Master mode 1
WAITB7:6Data Setup to Read/Write Strobe Wait States bits
  • 0 Data wait of 1 Tpbclk2
  • 1 Data wait of 2 Tpbclk2
  • 2 Data wait of 3 Tpbclk2
  • 3 Data wait of 4 Tpbclk2
WAITM5:2Data Read/Write Strobe Wait States bits
  • 0 Wait of 1 Tpbclk2 (default)
  • 1 Wait of 2 Tpbclk2
  • 15 Wait of 16 Tpbclk2
WAITE1:0Data Hold After Read/Write Strobe Wait States bits
  • 0 (for writes) Wait of 1 Tpbclk2 (default) / (for reads) Wait of 0 Tpbclk2 (default)
  • 1 (for writes) Wait of 2 Tpbclk2 / (for reads) Wait of 1 Tpbclk2
  • 2 (for writes) Wait of 3 Tpbclk2 / (for reads) Wait of 2 Tpbclk2
  • 3 (for writes) Wait of 4 Tpbclk2 / (for reads) Wait of 3 Tpbclk2

PMADDRParallel Port Address Register

Address
0xBF82E020
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
ADDR1515
ADDR1414
ADDR13:0

PMDOUTParallel Port Output Data Register

Address
0xBF82E030
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
DATAOUT31:0

PMDINParallel Port Input Data Register

Address
0xBF82E040
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
DATAIN31:0

PMAENParallel Port Pin Enable Register

Address
0xBF82E050
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
PTEN23:0PMALH/PMALL Strobe Enable bits
  • 0 PMA15 and PMA14 function as port I/O
  • 0 PMA function as port I/O
  • 0 PMA1 and PMA0 pads function as port I/O
  • 1 PMA1 and PMA0 function as either PMA or PMALH and PMALL
  • 4 PMA function as PMP address lines
  • 16384 PMA15 and PMA14 function as either PMA or PMCS1 and PMCS2

PMSTATParallel Port Status Register (Slave modes only)

Address
0xBF82E060
Reset
0x0000008F
Access
read/write
Size
32-bit
12 fields
FieldBitsWhat it does
IBF15Input Buffer Full Status bit
  • 0 Some or all of the writable input buffer registers are empty
  • 1 All writable input buffer registers are full
IBOV14Input Buffer Overflow Status bit
  • 0 No overflow is occurred
  • 1 A write attempt to a full input byte buffer is occurred (must be cleared in software)
IB3F11Input Buffer 3 Status Full bit
  • 0 Input Buffer does not contain any unread data
  • 1 Input Buffer contains data that has not been read (reading buffer will clear this bit)
IB2F10Input Buffer 2 Status Full bit
  • 0 Input Buffer does not contain any unread data
  • 1 Input Buffer contains data that has not been read (reading buffer will clear this bit)
IB1F9Input Buffer 1 Status Full bit
  • 0 Input Buffer does not contain any unread data
  • 1 Input Buffer contains data that has not been read (reading buffer will clear this bit)
IB0F8Input Buffer 0 Status Full bit
  • 0 Input Buffer does not contain any unread data
  • 1 Input Buffer contains data that has not been read (reading buffer will clear this bit)
OBE7Output Buffer Empty Status bit
  • 0 Some or all of the readable output buffer registers are full
  • 1 All readable output buffer registers are empty
OBUF6Output Buffer Underflow Status bit
  • 0 No underflow is occurred
  • 1 A read occurred from an empty output byte buffer (must be cleared in software)
OB3E3Output Buffer 3 Status Empty bit
  • 0 Output buffer contains data that has not been transmitted
  • 1 Output buffer is empty (writing data to the buffer will clear this bit)
OB2E2Output Buffer 2 Status Empty bit
  • 0 Output buffer contains data that has not been transmitted
  • 1 Output buffer is empty (writing data to the buffer will clear this bit)
OB1E1Output Buffer 1 Status Empty bit
  • 0 Output buffer contains data that has not been transmitted
  • 1 Output buffer is empty (writing data to the buffer will clear this bit)
OB0E0Output Buffer 0 Status Empty bit
  • 0 Output buffer contains data that has not been transmitted
  • 1 Output buffer is empty (writing data to the buffer will clear this bit)

PMWADDRParallel Port Write Address Register

Address
0xBF82E070
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
WADDR23:0

PMRADDRParallel Port Read Address Register

Address
0xBF82E080
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
RADDR1515
RADDR1414
RADDR13:0

PMRDINParallel Port Read Input Data Register

Address
0xBF82E090
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
RDATAIN31:0