Datasheet
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-
pin packages, also with the external bus interface. In this case port A and port B are associated with
the external address bus outputs ADDR15–ADDR8 and ADDR7–ADDR0, respectively. PB0 is the
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-
pin packages, also with the external bus interface. In this case port C and port D are associated with
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 yes yes yes yes yes — — —
4 yes yes yes — yes — — —
3 yes yes — — yes yes yes yes
2 yes — — — yes yes yes —
1 yes————yes——
