Part Number: MSP432P401R
I could find only a few PMAP examples and all of them related to PWM signals.
I notice that P7 is pin-mapable and is not wired to any hardware on the launchpad except the Jx connectors used for boosterpacks, so I choose P7 for my multiple-bus example.
Suppose I do this:
const uint8_t * myP7map[8] = {UCA1TXD, UCA1RXD, UCB1SDA, UCB1SCL, UCB2SOMI, UCB2SIMO, UCB2CLK, UCA2TXD}
MAP_PMAP_configurePorts( (const uint8_t *) myP7map, PMAP_P7MAP, 8, PMAP_DISABLE_RECONFIGURATION);
P7->SEL0 = 0xFF; // If I understand correctly, I must setup secondary function
P7->SEL1 = 0x00;
// I don't need to set DIR because all the above functions will do it automatically.
Will this work?
Thanks