8 years, 7 months ago.

could not put SD card in to SPI idle state ,

Hello, I'm using nucleo-L053R8. When trying to store sensor values, I'm getting above problem.

Didn't get a response from the disk , Set 512-byte block timed out

Question relating to:

1 Answer

8 years, 7 months ago.

Do you get the same error without a card fitted? Most of the time when I see that error it's because I forgot to put the card in the socket.

If removing the card doesn't change the error then check your connections and the pin selections.