Skip to content

spi_write() is not working in lpc5536 #63748

Answered by DerekSnell
aravinth-kalai asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @aravinth-kalai ,
Unfortunately, SPI is not yet supported on the LPCXpresso55S36 board. You can find the Supported Features for each board on the doc page, like this LPCXpresso55S36 table.

The good news is other similar boards have the same SPI peripheral supported, including the LPCXPRESSO55S69. This SPI support can be ported to the LPCXpresso55S36 board, but someone needs to do the port and test it. We typically test the SPI driver on a board using the spi_loopback test. And this test has overlay files for the LPCXPRESSO55S69 board, see the boards folder.

Something else that comes to mind when enabling a new peripheral on a board, the peripheral clock needs to be enabled. The soc.c h…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by DerekSnell
Comment options

You must be logged in to vote
1 reply
@aravinth-kalai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants