I want to use P2.7/XOUT/CA7 as a simple GPIO on the TRF EVM but have not been able to do so without breaking host communications.
Per table 22 in the MSP430F2370 datasheet, (Port P2 (P2.7) Pin Functions) if I clear bit 7 of P2SEL the EVM will stop talking to the host PC via UART/USB. If I leave P2SEL.7 set then I cannot drive P2.7 high.
EX:
P2DIR |= BIT7;//output
P2SEL &= ~BIT7;//if active, kills host comm. If commented out, disables P2.7 (won't go high)
CAPD &= ~BIT7;
P2OUT |= BIT7; //high
Any ideas?