32-6
MC9328MX1 Reference Manual
MOTOROLA
GPIO Module and I/O Multiplexer (IOMUX)
Port D
Pins 31–0
1.
For each pin [i] that is used as a GPIO, set bit [i] in the Port D GPIO In Use Register (GIUS_D).
2.
When pin [i] is used as an input:
•
Clear bit [i] in the Port D Data Direction Register (DDIR_D)
•
Read the Port D Sample Status Register (SSR_D) as needed
3.
When pin [i] is used as an output:
•
Set bits [2i + 1] and [2i] in the Port D Output Configuration Register 1 (OCR1_D)
or
Set bits [2i – 32 + 1] and [2i – 32] in the Port D Output Configuration Register 2 (OCR2_D)
•
Write desired output value to bit [i] of the Port D Data Register (DR_D)
•
Set bit [i] in the Port D Data Direction Register (DDIR_D)
Table 32-3. GPIO Multiplexing Table with AIN, BIN, CIN, AOUT, and BOUT
Primary
Signal
Alternate Signal
GPIO
Mux
AIN[i]
BIN[i]
CIN[
i]
AOUT[i]
BOUT[
i]
Defau
lt
DAT0
MSHC_PI[0]
–
–
–
–
–
–
DAT0
DAT1
MSHC_PI[1]
–
–
–
–
–
–
DAT1
DAT2
MSHC_SCLKI
–
–
–
–
–
–
DAT2
DAT3
MSHC_SDIO_O
UT
–
–
–
–
–
–
DAT3
CLK
MSHC_CLKO
–
–
–
–
–
–
CLK
CMD
MS_BS
–
–
–
–
–
–
CMD
SIM_SVEN
SSI_RXFS
–
–
–
–
–
–
SIM_
SVEN
SIM_PD
SSI_RXCLK
–
–
–
–
–
–
SIM_
PD
SIM_TX
SSI_RXDAT
–
–
–
–
–
–
SIM_T
X
SIM_RX
SSI_TXDAT
–
–
–
–
–
–
SIM_
RX
SIM_RST
SSI_TXFS
–
–
–
–
–
–
SIM_
RST
SIM_CLK
SSI_TXCLK
–
–
–
–
–
–
SIM_
CLK
A16
ETMTRACEPKT
[0]
–
–
–
–
–
–
A16
A17
ETMTRACEPKT
[1]
–
–
–
–
–
–
A17
A18
ETMTRACEPKT
[2]
–
–
–
–
–
–
A18
Table 32-2. Pin Configuration (Continued)
Pin
Configuration Procedure
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...