pic32mx320f064h Microchip Technology Inc., pic32mx320f064h Datasheet - Page 396

no-image

pic32mx320f064h

Manufacturer Part Number
pic32mx320f064h
Description
64/100-pin General Purpose, 32-bit Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
pic32mx320f064h-40V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064hT-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC32MX FAMILY
EXAMPLE 20-5:
20.3.14
In the Addressable Parallel Slave Port mode, the mod-
ule is configured with two extra inputs, PMA<1:0>. This
makes the 4-byte buffer space directly addressable as
fixed pairs of read and write buffers. As with Buffered
Legacy mode, data is output from register PMDOUT
and is input to register PMDIN. Table 20-1 shows the
address resolution for the incoming address to the
input and output registers.
FIGURE 20-10:
20.3.15
The Addressable Slave mode configuration is deter-
mined automatically and dedicated to the PSP module
when the Addressable Slave mode is selected. The
user only need to configure the polarity of the PMCS1,
PMRD and PMWR signals.
to be set for Addressable Slave mode configuration:
• Configure Addressable Slave mode bits -
• Select PMRD “active-low” pin polarity -
DS61143A -page 394
The following example illustrates which control bits are
IEC1CLR = 0x0004
PMCON = 0x0000
PMMODE = 0x1800
IPC7SET = 0x001C;
IPC7SET = 0x0003;
IFS1CLR
IEC1SET
PMCONSET = 0x8000;
MODE<1:0> (PMMODE<9:8>) = 01.
RDSP (PMCON<0>) = 0.
Master
A<1:0>
D<7:0>
ADDRESSABLE SLAVE MODE
ADDRESSABLE SLAVE
CONFIGURATION
= 0x0004;
= 0x0004;
WR
RD
CS
BUFFERED PARALLEL SLAVE MODE INITIALIZATION
PARALLEL MASTER/SLAVE CONNECTION ADDRESSABLE BUFFER
//Disable PMP
//Stop and Configure
//Configure PMMODE
//Priority level=7
//subpriority=3
//Same as...
//IPC7SET=0x001F
//Clear PMP flag
//Enable PMP int
//Enable PMP
Advance Information
PMD<7:0>
PMA<1:0>
PMCS1
PMRD
PMWR
Address
Decode
Write
TABLE 20-10: SLAVE MODE BUFFER
• Select PMWR “active-low” pin polarity -
• Select PMCS2, PMCS1 “active-low” pin polarity -
20.3.16
The Addressable Slave mode initialization properly
prepares the PSP port for communicating with an
external master device.
The following steps should be performed to properly
configure the PSP port:
PMA<1:0
(PMCON<3>) = 0.
WRSP (PMCON<1>) = 0.
CS2P (PMCON<4>) = 0 and CS1P
00
01
10
11
PIC32MX Slave
>
PMDOUT (0)
PMDOUT (1)
PMDOUT (2)
PMDOUT (3)
ADDRESSABLE SLAVE PORT
INITIALIZATION
PMDOUT(Buffer)
Output Register
<23:16> (2)
<31:24> (3)
<15:8> (1)
ADDRESSES
<7:0> (0)
Address
Decode
Read
© 2007 Microchip Technology Inc.
PMDIN (0)
PMDIN (1)
PMDIN (2)
PMDIN (3)
PMDIN (Buffer)
Input Register
<23:16> (2)
<31:24> (3)
<15:8> (1)
<7:0> (0)

Related parts for pic32mx320f064h