Hi
Few pins in MSP430F5635 is mapped to multiple functions .
eg.
P8.6/UCB1SOMI/UCB1SC
P8.5/UCB1SIMO/UCB1SDA
P8.4/UCB1CLK/UCA1STE
P8.3/UCA1RXD/UCA1SOMI
P8.2/UCA1TXD/UCA1SIMO
P8.1/UCB1STE/UCA1CLK
For my design , I need to use the
1. UART for connecting to an RS232 port and
2. SPI for connecting to an external SPI device.
I decided to use the UCA1 UART and UCB1 SPI . I have to use the pins P8.2 and P8.3 for the UCA1TXD and UCA1RXD respectively.
How do I choose this functionality ?
I am confused as the same pin is assigned for 2 purposes . If I have to use P8.2 for UCA1TXD what should I do ?
If I have to use P8.2 for UCA1SIMO what should I do ?
When I do P8SEL = BIT2 , What happens ? which functionality of the pin is brought into action ?
I am very new to embedded programmng .
If my questions are silly , please do not mind . Please do answer me .
Thanks in advance.
Jenitta