Table 18-2 Spi Pin Configuration - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

Serial Peripheral Interface Modules (SPI 1 and SPI 2)
Pin
SPI1_SPI_RDY
Primary function of
GPIO port C [13]
SPI1_SCLK
Primary function of
GPIO port C [14]
SPI1_SS
Primary function of
GPIO port C [15]
SPI1_MISO
Primary function of
GPIO port C [16]
SPI1_MOSI
Primary function of
GPIO port C [17]
2
SPI2_SCLK
AIN of GPIO port A [0]
AIN of port D [7]
2
SPI2_SS
AIN of GPIO port A
[17]
AIN of port D [8]
SPI2_RXD
AOUT of GPIO port A
[1]
2
SPI2_TXD
BIN of GPIO port D
[31]
AIN of port D [10]
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.
2.
Only one of the two pins must be set-up for the SPI 2 signal.
18-4
Table 18-2. SPI Pin Configuration
1
Setting
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
MC9328MX1 Reference Manual
Configuration Procedure
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents