JAJSFS9R August 2010 – September 2018 MSP430F5131 , MSP430F5132 , MSP430F5151 , MSP430F5152 , MSP430F5171 , MSP430F5172
PRODUCTION DATA.
The port mapping controller allows the flexible and reconfigurable mapping of digital functions to Port P1, Port P2, and Port P3 (see Table 6-6).
VALUE | PxMAPy MNEMONIC | INPUT PIN FUNCTION | OUTPUT PIN FUNCTION |
---|---|---|---|
0 | PM_NONE | None | DVSS |
1 | PM_UCA0CLK | USCI_A0 clock input/output (direction controlled by USCI) | |
PM_UCB0STE | USCI_B0 SPI slave transmit enable (direction controlled by USCI) | ||
2 | PM_UCA0TXD | USCI_A0 UART TXD (Direction controlled by USCI – output) | |
PM_UCA0SIMO | USCI_A0 SPI slave in master out (direction controlled by USCI) | ||
3 | PM_UCB0SOMI | USCI_B0 SPI slave out master in (direction controlled by USCI) | |
PM_UCB0SCL | USCI_B0 I2C clock (open drain and direction controlled by USCI) | ||
4 | PM_UCA0RXD | USCI_A0 UART RXD (Direction controlled by USCI – input) | |
PM_UCA0SOMI | USCI_A0 SPI slave out master in (direction controlled by USCI) | ||
5 | PM_UCB0SIMO | USCI_B0 SPI slave in master out (direction controlled by USCI) | |
PM_UCB0SDA | USCI_B0 I2C data (open drain and direction controlled by USCI) | ||
6 | PM_UCB0CLK | USCI_B0 clock input/output (direction controlled by USCI) | |
PM_UCA0STE | USCI_A0 SPI slave transmit enable (direction controlled by USCI) | ||
7 | PM_TD0.0 | TD0 input capture channel 0 | TD0 output compare channel 0 |
8 | PM_TD0.1 | TD0 input capture channel 1 | TD0 output compare channel 1 |
9 | PM_TD0.2 | TD0 input capture channel 2 | TD0 output compare channel 2 |
10 | PM_TD1.0 | TD1 input capture channel 0 | TD1 output compare channel 0 |
11 | PM_TD1.1 | TD1 input capture channel 1 | TD1 output compare channel 1 |
12 | PM_TD1.2 | TD1 input capture channel 2 | TD1 output compare channel 2 |
13 | PM_CLR1TD0.0 | TD0 external clear input | TD0 output compare channel 0 |
PM_FLT1_2TD0.0 | TD0 fault input channel 2 | ||
14 | PM_FLT1_0TD0.1 | TD0 fault input channel 0 | TD0 output compare channel 1 |
15 | PM_FLT1_1TD0.2 | TD0 fault input channel 1 | TD0 output compare channel 2 |
16 | PM_CLR2TD1.0 | TD1 external clear input (controlled by module input enable) | TD1 output compare channel 0 |
PM_FLT2_1TD1.0 | TD1 fault input channel 1 (controlled by module input enable) | ||
17 | PM_FLT2_2TD1.1 | TD1 fault input channel 2 | TD1 output compare channel 1 |
18 | PM_FLT2_0TD1.2 | TD1 fault input channel 0 | TD1 output compare channel 2 |
19 | PM_TD0.0SMCLK | TD0 input capture channel 0 | SMCLK output |
20 | PM_TA0CLKCBOUT | TA0 input clock | Comparator_B output |
21 | PM_TD0CLKMCLK | TD0 input clock | MCLK output |
22 | PM_TA0_0 | TA0 input capture channel 0 | TA0 output compare channel 0 |
23 | PM_TA0_1 | TA0 input capture channel 1 | TA0 output compare channel 1 |
24 | PM_TA0_2 | TA0 input capture channel 2 | TA0 output compare channel 2 |
25 | PM_DMAE0SMCLK | DMAE0 input | SMCLK output |
26 | PM_DMAE1MCLK | DMAE1 input | MCLK output |
27 | PM_DMAE2SVM | DMAE2 input | SVM output |
28 | PM_TD0OUTH | TD0 3-state input | ADC10CLK |
29 | PM_TD1OUTH | TD1 3-state input | ACLK |
30 | Reserved | None | DVSS |
31 (0FFh)(1) | PM_ANALOG | Disables the output driver and the input Schmitt-trigger to prevent parasitic cross currents when applying analog signals. |
Table 6-7 lists the default assignments for all pins that support port mapping.
PIN | PxMAPy MNEMONIC | INPUT PIN FUNCTION | OUTPUT PIN FUNCTION |
---|---|---|---|
P1.0/PM_UCA0CLK/
PM_UCB0STE/A0/CB0 |
PM_UCA0CLK
PM_UCB0STE |
USCI_A0 clock input/output (direction controlled by USCI) | USCI_B0 SPI slave transmit enable (direction controlled by USCI) |
P1.1/PM_UCA0TXD/
PM_UCA0SIMO/A1/CB1 |
PM_UCA0TXD
PM_UCA0SIMO |
USCI_A0 UART TXD (Direction controlled by USCI – output) | USCI_A0 SPI slave in master out (direction controlled by USCI) |
P1.2/PM_UCA0RXD/
PM_UCA0SOMI/A2/CB2 |
PM_UCA0RXD
PM_UCA0SOMI |
USCI_A0 UART RXD (Direction controlled by USCI – input) | USCI_A0 SPI slave out master in (direction controlled by USCI) |
P1.3/PM_UCB0CLK/
PM_UCA0STE/A3/CB3 |
PM_UCB0CLK
PM_UCA0STE |
USCI_B0 clock input/output (direction controlled by USCI) | USCI_A0 SPI slave transmit enable (direction controlled by USCI) |
P1.4/PM_UCB0SIMO/
PM_UCB0SDA/A4/CB4 |
PM_UCB0SIMO
PM_UCB0SDA |
USCI_B0 SPI slave in master out (direction controlled by USCI) | USCI_B0 I2C data (open drain and direction controlled by USCI) |
P1.5/PM_UCB0SOMI/
PM_UCB0SCL/A5/CB5 |
PM_UCB0SOMI
PM_UCB0SCL |
USCI_B0 SPI slave out master in (direction controlled by USCI) | USCI_B0 I2C clock (open drain and direction controlled by USCI) |
P1.6/PM_TD0.0 | PM_TD0.0 | TD0 input capture channel 0 | TD0 output compare channel 0 |
P1.7/PM_TD0.1 | PM_TD0.1 | TD0 input capture channel 1 | TD0 output compare channel 1 |
P2.0/PM_TD0.2 | PM_TD0.2 | TD0 input capture channel 2 | TD0 output compare channel 2 |
P2.1/PM_TD1.0 | PM_TD1.0 | TD1 input capture channel 0 | TD1 output compare channel 0 |
P2.2/PM_TD1.1 | PM_TD1.1 | TD1 input capture channel 1 | TD1 output compare channel 1 |
P2.3/PM_TD1.2 | PM_TD1.2 | TD1 input capture channel 2 | TD1 output compare channel 2 |
P2.4/PM_TEC0CLR/
PM_TEC0FLT2/PM_TD0.0 |
PM_CLR1TD0.0
PM_FLT1_2TD0.0 |
TD0 external clear input (controlled by module input enable)
TD0 fault input channel 2 (controlled by module input enable) |
TD0 output compare channel 0 |
P2.5/PM_TEC0FLT0/PM_TD0.1 | PM_FLT1_0TD0.1 | TD0 fault input channel 0 | TD0 output compare channel 1 |
P2.6/PM_TEC0FLT1/PM_TD0.2 | PM_FLT1_1TD0.2 | TD0 fault input channel 1 | TD0 output compare channel 2 |
P2.7/PM_TEC1CLR/
PM_TEC1FLT1/PM_TD1.0 |
PM_CLR2TD1.0
PM_FLT2_1TD1.0 |
TD1 external clear input (controlled by module input enable)
TD1 fault input channel 1 (controlled by module input enable) |
TD1 output compare channel 0 |
P3.0/PM_TEC1FLT2/
PM_TD1.1 |
PM_FLT2_2TD1.1 | TD1 fault input channel 2 | TD1 output compare channel 1 |
P3.1/PM_TEC1FLT0/
PM_TD1.2 |
PM_FLT2_0TD1.2 | TD1 fault input channel 0 | TD1 output compare channel 2 |
P3.2/PM_TD0.0/
PM_SMCLK/CB14 |
PM_TD0.0SMCLK | TD0 input capture channel 0 | SMCLK output |
P3.3/PM_TA0CLK/
PM_CBOUT/CB13 |
PM_TA0CLKCBOUT | TA0 input clock | Comparator_B output |
P3.4/PM_TD0CLK/
PM_MCLK |
PM_TD0CLKMCLK | TD0 input clock | MCLK output |
P3.5/PM_TA0.2/
VEREF+/CB12 |
PM_TA3_2 | TA0 input capture channel 0 | TA0 output compare channel 0 |
P3.6/PM_TA0.1/A7
VEREF-/CB11 |
PM_TA3_1 | TA0 input capture channel 1 | TA0 output compare channel 1 |
P3.7/PM_TA0.0/
A6/CB10 |
PM_TA3_0 | TA0 input capture channel 2 | TA0 output compare channel 2 |