[SOLVED] SPI noise

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • [SOLVED] SPI noise

      Hi,

      I am a beginner of emFile. Now I can build and write file to my SD card (SPI interface). Now I am testing continuous file write in noisy environments. And I find the FS is corrupted occasionally. I think this is due to the noise on SPI bus. Any suggestions to improve this?

      caster
    • Hello Caster,

      You can try to enable the CRC verification of the data via the FS_MMC_ActivateCRC() API function to check

      if it helps preventing file system corruptions.

      The emFile SPI MMC/SD driver retries a data read operation (up to 10 times by default) if it detects a CRC error
      in the data received from SD card.

      Best regards,
      Marius
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.