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.
Tool/software: Code Composer Studio
Hello,
Thanks, Everyone for the previous support now I start the new task MSP430 with GPIO expander(MCP23S08) using SPI connection anyone can suggest me an example code?
Hello,
I am using MSP430 2553 with the connection of GPIO expander with SPI connection. In the GPIO expander port, I have to connect LED but they have not started so above code work fine in this condition or any mistake on that code? and also In this communication require a UART jumper or not?
Hi Yash,
Ok, from what I can tell, your code should work.
No UART jumper required.
If the GPIO expander is not working, it is possible that the SPI clock phase and polarity configured on the MSP430 does not match the GPIO expander requirements. You will need to check GPIO datasheet.
Here is an description from the MSP430x2xx users guide.
Hello,
Thanks for support my problem resolved finally.your right clk selection.
**Attention** This is a public forum