Hi, I am having trouble configuring and using XOUT as a GPIO (P2.0)
Here is the code i have to configure the pin -
P2SEL0 &= ~(BIT0);
P2SEL1 &= ~(BIT0);
P2DIR = BIT0;
P2OUT = BIT0;
PM5CTL0 &= ~LOCKLPM5; // Engage GPIOs
but I am not reading a high value on the pin. Am i missing a step in configuring XOUT as a GPIO?