SD Card compatibility problem "SD card initial Error with SPI mode"

Dear Sirs,

I am writing you to inquire about following questions about nRF5340.

We are using Laird BL5340 and SDK2.3.0 for our product.
While attempting to write data to SD card, we found in some SD card nRF5340 provide error in initial sequence.

We confirmed four error cases depending on the type of card. 
We obtained the waveform and the error log when the error occurred.

Please find the attached ppt.

Could you think of anything that might have caused it?

Besides, are there any way to fix this problem?
SDcard initial err.pptx

  • tommy said:
    we will also post this issue on Git just in case.

    Yes. It would be interesting to see Zephyr's take on this. From our perspective, we don't (directly) provide SD card readers nor SD cards, but SPI. And in general, we can only directly change what is present under the "nrf" part of NCS, not whatever is coming from the zephyr part of the SDK. I see that you are pointing at some specific values in the MISO of the SPI communication. I don't know the details on the driver on that level (and it is not written by us, so I wouldn't know who to direct you to). 

    1: Do you know why they respond incorrectly?

    2: Do you have any suggestion on what the drivers should do in these cases?

    Best regards,

    Edvin

Related