Dtynin
DIIDevHeads IoT Integration Server
•Created by Dtynin on 8/19/2024 in #firmware-and-baremetal
How to fix "Failed to initialize SD card -ENODEV" error on AVR128DA48 using SPI?
I'm working on logging pressure data to an SD card via the SPI interface on the AVR128DA48 microcontroller. However, I'm encountering an issue where the SD card fails to initialize. I have ensured the SD card is properly formatted and compatible with the system, and also verified the SPI wiring and connection to the SD card module, but I'm still facing the
Failed to initialize SD card -ENODEV
error. how can I overcome this and log the pressure data?
this is my instruction snippet:
2 replies