18-4
MC9328MX1 Reference Manual
MOTOROLA
Serial Peripheral Interface Modules (SPI 1 and SPI 2)
Table 18-2. SPI Pin Configuration
Pin
Setting
1
1.
SPI 1 pins must only be configured if SPI 1 is being used. SPI 2 pins must only be configured if SPI 2 is
being used.
Configuration Procedure
SPI1_SPI_RDY
Primary function of
GPIO port C [13]
1. Clear bit 13 of Port C GPIO In Use Register (GIUS_C)
2. Clear bit 13 of Port C General Purpose Register (GPR_C)
SPI1_SCLK
Primary function of
GPIO port C [14]
1. Clear bit 14 of Port C GPIO In Use Register (GIUS_C)
2. Clear bit 14 of Port C General Purpose Register (GPR_C)
SPI1_SS
Primary function of
GPIO port C [15]
1. Clear bit 15 of Port C GPIO In Use Register (GIUS_C)
2. Clear bit 15 of Port C General Purpose Register (GPR_C)
SPI1_MISO
Primary function of
GPIO port C [16]
1. Clear bit 16 of Port C GPIO In Use Register (GIUS_C)
2. Clear bit 16 of Port C General Purpose Register (GPR_C)
SPI1_MOSI
Primary function of
GPIO port C [17]
1. Clear bit 17 of Port C GPIO In Use Register (GIUS_C)
2. Clear bit 17 of Port C General Purpose Register (GPR_C)
SPI2_SCLK
2
2.
Only one of the two pins must be set-up for the SPI 2 signal.
AIN of GPIO port A [0]
1. Set bit 0 of port A GPIO In Use Register (GIUS_A)
2. Clear bits 1 and 0 of port A Output Configuration Register 1
(OCR1_A)
3. Set bit 0 of port A Data Direction Register (DDIR_A)
AIN of port D [7]
1. Set bit 7 of port D GPIO In Use Register (GIUS_D)
2. Clear bits 15 and 14 of port D Output Configuration Register 1
(OCR1_D)
3. Set bit 7 of port D Data Direction Register (DDIR_D)
SPI2_SS
2
AIN of GPIO port A
[17]
1. Set bit 17 of port A GPIO In Use Register (GIUS_A)
2. Clear bits 3 and 2 of port A Output Configuration Register 2
(OCR2_A)
3. Set bit 17 of port A Data Direction Register (DDIR_A)
AIN of port D [8]
1. Set bit 8 of port D GPIO In Use Register (GIUS_D)
2. Clear bits 17 and 16 of port D Output Configuration Register 1
(OCR1_D)
3. Set bit 8 of port D Data Direction Register (DDIR_D)
SPI2_RXD
AOUT of GPIO port A
[1]
1. Set bit 1 of port A GPIO In Use Register (GIUS_A)
2. Clear bits 3 and 2 of port A Input Configuration Register A1
(ICONFA1_A)
3.
Clear bit 1 of port A Data Direction Register (DDIR_A)
SPI2_TXD
2
BIN of GPIO port D
[31]
1. Set bit 31 of port D GPIO In Use Register (GIUS_D)
2. Clear bits 31 and 30 of port D Output Configuration Register 2
(OCR2_D)
3. Set bit 31 of port D Data Direction Register (DDIR_D)
AIN of port D [10]
1. Set bit 10 of port D GPIO In Use Register (GIUS_D)
2. Clear bits 21 and 20 of port D Output Configuration Register 1
(OCR1_D)
3. Set bit 10 of port D Data Direction Register (DDIR_D)
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 ...