jaredwolff Hi thanks for reply so fast!
What’s the rated max speed of the card?
- I am using this SD card, 80MB/s will be its maximum speed. I am also using this micro SD card breakout board.
Have you read back the data to see what was the result?
- I haven’t look back on this test data for accuracy, but it is show the exact same size as written(32256 Bytes). Additionally, I was trying to writing some PDM data into a wav file on sd card and it playback with clear recording voice so I assume the data is correct.
Have you also, for sanity, probed the GPIO pins you’re using for SPI? (Also which pins are you using?)
- CLK-P0.01(D5); MOSI-P0.30(D3); MISO-P0.0(D4); CS-P0.29(D2).
- I try probe the CLK line on my scope and wired thing happens. The file system is not working (it can’t mount the SD card, read or write), when I remove the probe, it works as normal. When probing other line, it works perfect as well. I thought it might because of my scope goes wrong but I try with another scope and still the same. Still debugging…
if you’re using logs as measurements is the CONFIG_LOG_IMMEDIATE option.
- Thanks for the suggestion. I will add it on configuration