JAJSG45G May 2010 – September 2020 MSP430F5630 , MSP430F5631 , MSP430F5632 , MSP430F5633 , MSP430F5634 , MSP430F5635 , MSP430F5636 , MSP430F5637 , MSP430F5638
PRODUCTION DATA
The port mapping controller allows the flexible and reconfigurable mapping of digital functions to port P2. Table 9-9 lists the mnemonic for each function that can be assigned.
VALUE | PxMAPy MNEMONIC | INPUT PIN FUNCTION | OUTPUT PIN FUNCTION |
---|---|---|---|
0 | PM_NONE | None | DVSS |
1 | PM_CBOUT | – | Comparator_B output |
PM_TB0CLK | Timer TB0 clock input | – | |
2 | PM_ADC12CLK | – | ADC12CLK |
PM_DMAE0 | DMAE0 Input | – | |
3 | PM_SVMOUT | – | SVM output |
PM_TB0OUTH | Timer TB0 high-impedance input TB0OUTH | – | |
4 | PM_TB0CCR0B | Timer TB0 CCR0 capture input CCI0B | Timer TB0: TB0.0 compare output Out0 |
5 | PM_TB0CCR1B | Timer TB0 CCR1 capture input CCI1B | Timer TB0: TB0.1 compare output Out1 |
6 | PM_TB0CCR2B | Timer TB0 CCR2 capture input CCI2B | Timer TB0: TB0.2 compare output Out2 |
7 | PM_TB0CCR3B | Timer TB0 CCR3 capture input CCI3B | Timer TB0: TB0.3 compare output Out3 |
8 | PM_TB0CCR4B | Timer TB0 CCR4 capture input CCI4B | Timer TB0: TB0.4 compare output Out4 |
9 | PM_TB0CCR5B | Timer TB0 CCR5 capture input CCI5B | Timer TB0: TB0.5 compare output Out5 |
10 | PM_TB0CCR6B | Timer TB0 CCR6 capture input CCI6B | Timer TB0: TB0.6 compare output Out6 |
11 | PM_UCA0RXD | USCI_A0 UART RXD (Direction controlled by USCI – input) | |
PM_UCA0SOMI | USCI_A0 SPI slave out master in (direction controlled by USCI) | ||
12 | PM_UCA0TXD | USCI_A0 UART TXD (Direction controlled by USCI – output) | |
PM_UCA0SIMO | USCI_A0 SPI slave in master out (direction controlled by USCI) | ||
13 | PM_UCA0CLK | USCI_A0 clock input/output (direction controlled by USCI) | |
PM_UCB0STE | USCI_B0 SPI slave transmit enable (direction controlled by USCI – input) | ||
14 | 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) | ||
15 | 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) | ||
16 | PM_UCB0CLK | USCI_B0 clock input/output (direction controlled by USCI) | |
PM_UCA0STE | USCI_A0 SPI slave transmit enable (direction controlled by USCI – input) | ||
17 | PM_MCLK | – | MCLK |
18 | Reserved | Reserved for test purposes. Do not use this setting. | |
19 | Reserved | Reserved for test purposes. Do not use this setting. | |
20–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 9-10 lists the default values for all pins that support port mapping.
PIN | PxMAPy MNEMONIC | INPUT PIN FUNCTION | OUTPUT PIN FUNCTION |
---|---|---|---|
P2.0/P2MAP0 | PM_UCB0STE, PM_UCA0CLK | USCI_B0 SPI slave transmit enable (direction controlled by USCI – input), USCI_A0 clock input/output (direction controlled by USCI) | |
P2.1/P2MAP1 | 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) | |
P2.2/P2MAP2 | 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) | |
P2.3/P2MAP3 | PM_UCB0CLK, PM_UCA0STE | USCI_B0 clock input/output (direction controlled by USCI), USCI_A0 SPI slave transmit enable (direction controlled by USCI – input) | |
P2.4/P2MAP4 | PM_UCA0TXD, PM_UCA0SIMO | USCI_A0 UART TXD (direction controlled by USCI – output), USCI_A0 SPI slave in master out (direction controlled by USCI) | |
P2.5/P2MAP5 | PM_UCA0RXD, PM_UCA0SOMI | USCI_A0 UART RXD (direction controlled by USCI – input), USCI_A0 SPI slave out master in (direction controlled by USCI) | |
P2.6/P2MAP6 | PM_NONE | – | DVSS |
P2.7/P2MAP7 | PM_NONE | – | DVSS |