
23.0.6.10 Module Routing Register
This register supports the re-routing of the CAN0, CAN4, SPI0, SPI1, and SPI2 pins to alternative
ports. This allows a software re-configuration of the pinouts of the different package options with
respect to above peripherals.
NOTE
The purpose of the module routing register is to provide maximum
flexibility for derivatives with a lower number of MSCAN and SPI
modules.
23.0.7
Ports
23.0.7.1
BKGD Pin
The BKGD pin is associated with the S12X_BDM and S12X_EBI modules. During reset, the
BKGD pin is used as MODC input.
23.0.7.2
Port A and B
Port A pins PA[7:0] and Port B pins PB[7:0] can be used for either general-purpose I/O, or, in 144-
pinpackages,alsowiththeexternalbusinterface.InthiscaseportAandportBareassociatedwith
theexternaladdressbusoutputsADDR15–ADDR8andADDR7–ADDR0,respectively.PB0isthe
ADDR0 or UDS output.
23.0.7.3
Port C and D
Port C pins PC[7:0] and port D pins PD[7:0] can be used for either general-purpose I/O, or, in 144-
pinpackages,alsowiththeexternalbusinterface.InthiscaseportCandportDareassociatedwith
the external data bus inputs/outputs DATA15–DATA8 and DATA7–DATA0, respectively.
These pins are configured for reduced input threshold in certain operating modes (refer to
S12X_EBI section).
NOTE
Port C and D are neither available in 112-pin nor in 80-pin packages.
Table 23-68. Module Implementations on Derivatives
Number
of Modules
MSCAN Modules
SPI Modules
CAN0
CAN1
CAN2
CAN3
CAN4
SPI0
SPI1
SPI2
5
4
3
2
1
yes
yes
yes
yes
yes
yes
yes
yes
—
—
yes
yes
—
—
—
yes
—
—
—
—
yes
yes
yes
yes
—
—
—
yes
yes
yes
—
—
yes
yes
—
—
—
yes
—
—