Hi,
I am using MSP430F5438A on MSP-TS430PZ5x100 target development board.
In the example project usci_a_spi_ex1_master, I found that SPI is used in 3 wire mode and I have verified that it's working.
What I failed to understand is why the respective GPIOs for Slave in Master Out and SPI clock are set as Input Pin, when clearly they should be set as Output pin.
Below is snippet from the code:
GPIO_setAsPeripheralModuleFunctionInputPin(
GPIO_PORT_P3,
GPIO_PIN5 + GPIO_PIN4 + GPIO_PIN0
);
Thanks and Regards,
Ankit