This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432P401R: Port Mapper doesn't put UCBOCLK on P4.3

Part Number: MSP432P401R

I will attach a code that seems to not work. The P4.3 always becomes MCLK after the second function.

port_mapping array looks like this on purpose. I know that PM_UCB0CLK should only be on the 4th place.

// Port mapper configuration register
const uint8_t port_mapping[] =
{
        //Port P4:
        PM_UCB0CLK, PM_UCB0CLK, PM_UCB0CLK, PM_UCB0CLK, PM_UCB0CLK, PM_UCB0CLK, PM_UCB0CLK,
        PM_UCB0CLK
};

int main(void)
{
    PMAP_configurePorts((const uint8_t *) port_mapping, PMAP_P4MAP, 1,
            PMAP_DISABLE_RECONFIGURATION);

    GPIO_setAsPeripheralModuleFunctionOutputPin(GPIO_PORT_P4,
                GPIO_PIN3, GPIO_PRIMARY_MODULE_FUNCTION);
}

**Attention** This is a public forum