English
Language : 

PIC24FJ128GA310-I Datasheet, PDF (253/406 Pages) Microchip Technology – 64/80/100-Pin, General Purpose, 16-Bit Flash Microcontrollers with LCD Controller and nanoWatt XLP Technology
PIC24FJ128GA310 FAMILY
20.0 ENHANCED PARALLEL
MASTER PORT (EPMP)
Note:
This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information, refer to the
“PIC24F Family Reference Manual”,
Section 42. “Enhanced Parallel Master
Port (EPMP)” (DS39730). The informa-
tion in this data sheet supersedes the
information in the FRM.
The Enhanced Parallel Master Port (EPMP) module
provides a parallel, 4-bit (Master mode only), 8-bit
(Master and Slave modes) or 16-bit (Master mode only)
data bus interface to communicate with off-chip mod-
ules, such as memories, FIFOs, LCD controllers and
other microcontrollers. This module can serve as either
the master or the slave on the communication bus.
For EPMP Master modes, all external addresses are
mapped into the internal Extended Data Space (EDS).
This is done by allocating a region of the EDS for each
chip select, and then assigning each chip select to a
particular external resource, such as a memory or
external controller. This region should not be assigned
to another device resource, such as RAM or SFRs. To
perform a write or read on an external resource, the
CPU simply performs a write or read within the address
range assigned for the EPMP.
Key features of the EPMP module are:
• Extended Data Space (EDS) interface allows
direct access from the CPU
• Up to 23 Programmable Address Lines
• Up to 2 Chip Select lines
• Up to 2 Acknowledgement Lines
(one per chip select)
• 4-bit, 8-bit or 16-bit wide Data Bus
• Programmable Strobe Options (per chip select)
- Individual Read and Write Strobes or;
- Read/Write Strobe with Enable Strobe
• Programmable Address/Data Multiplexing
• Programmable Address Wait States
• Programmable Data Wait States (per chip select)
• Programmable Polarity on Control Signals
(per chip select)
• Legacy Parallel Slave Port Support
• Enhanced Parallel Slave Support
- Address Support
- 4-Byte Deep Auto-Incrementing Buffer
20.1 Specific Package Variations
While all PIC24FJ128GA310 family devices implement
the EPMP, I/O pin constraints place some limits on
16-Bit Master mode operations in some package types.
This is reflected in the number of dedicated Chip Select
pins implemented and the number of dedicated
address lines that are available. The differences are
summarized in Table 20-1. All available EPMP pin
functions are summarized in Table 20-2.
For 64-pin devices, the dedicated Chip Select pins
(PMCS1 and PMCS2) are not implemented. In addi-
tion, only 16 address lines (PMA<15:0>) are available.
If required, PMA14 and PMA15 can be remapped to
function as PMCS1 and PMCS2, respectively.
For 80-pin devices, the dedicated PMCS2 pin is not
implemented. It also only implements 16 address lines
(PMA<15:0>). If required, PMA15 can be remapped to
function as PMCS2.
The memory space addressable by the device
depends on the number of address lines available, as
well as the number of Chip Select signals required for
the application. Devices with lower pin counts are more
affected by Chip Select requirements, as these take
away address lines. Table 20-1 shows the maximum
addressable range for each pin count.
TABLE 20-1: EPMP FEATURE DIFFERENCES BY DEVICE PIN COUNT
Device
Dedicated Chip Select
CS1
CS2
Address
Lines
Address Range (bytes)
No CS
1 CS
2 CS
PIC24FJXXXGA306 (64-pin)
—
—
16
64K
32K
16K
PIC24FJXXXGA308 (80-pin)
X
—
16
64K
32K
PIC24FJXXXGA310 (100-pin)
X
X
23
16M
 2010-2011 Microchip Technology Inc.
DS39996F-page 253