SD Card Interfacing with STM32 - STM32 SPI

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 35

  • @wegi9621
    @wegi9621 Год назад

    Thanks for very nice complete content with printf debug. Firstly doesn't work, but after decrease SPI_CLK speed it work! But not with everyone SD Card - Kingstont doesn't work. Anyway thanks for great lesson. Thumbs UP!

  • @-Jagadeeshlavanuru
    @-Jagadeeshlavanuru Год назад

    thank you very much sir for your great lecture..!!

  • @shangchensu4878
    @shangchensu4878 Год назад

    This video helps me a lot, thx~

  • @Filipx87page
    @Filipx87page Год назад

    I don't understand why the standard SD card works but the microSD in adapter isn't found (13)?

  • @solankemithil
    @solankemithil 2 месяца назад

    In tera term no com port is showing for ST link. So I cheacked in device manager about this it showing my STM port under "universal serial bus devices." Sir, how you connected it to COM port ?

  • @TumpalaBhuvaneswariMadhavi
    @TumpalaBhuvaneswariMadhavi Год назад +1

    bro ,i tried on stm32l476rg board . i made changes pin configuration and all but i am not getting output. i am getting no module found.

    • @MarcoMigliorini-yt5hf
      @MarcoMigliorini-yt5hf 5 месяцев назад

      Do u have any update on this? I'm facing the same problem on stm32l476rg even with other libraries. Seems like the microSD is not recognized... While debugging I noticed that the program fails on waiting for a response from the board when 0xFF dummy bits are sent (always terminated in a timeout).

    • @TumpalaBhuvaneswariMadhavi
      @TumpalaBhuvaneswariMadhavi 5 месяцев назад

      yes, l476rg i think its not support sd card interface . the same sd card is working with esp32 but not working in stm32l476rg

  • @7osensi435
    @7osensi435 Год назад

    Informative video 👍

  • @SANDJONG123
    @SANDJONG123 Год назад

    Hello EmbeTronicX !!! Thanks for the tutorial video as well as for the web version. Very well explained.
    Though I followed all the step, it did not work.
    Some Details:
    I have a size card of 32Gb and when I wanted to set the parameter for formatting, there were no segmentation size of 4096. Could it be the reason why it is not working? Like I've said I followed all the instructions of your tutorial. Any clue what the problem could be?
    Thanks!

    • @danilomartins1901
      @danilomartins1901 Год назад

      Hey, have you managed to get it to work?

    • @EmbeTronicX
      @EmbeTronicX  Год назад

      Can you tell us what error you are getting?

    • @vikasraikwar786
      @vikasraikwar786 Год назад

      @@EmbeTronicX showing
      No SD Card found : (1)
      SD Card Unmounted Successfully!!!
      No SD Card found : (1)
      SD Card Unmounted Successfully!!!
      No SD Card found : (1)
      SD Card Unmounted Successfully!!!
      No SD Card found : (1)
      SD Card Unmounted Successfully!!!

  • @kimlonglieu5673
    @kimlonglieu5673 11 месяцев назад

    Please help, I can't mouth the micro SD card.

  • @sebastianramirowynen5184
    @sebastianramirowynen5184 Год назад

    Do you have a video explaining this methodology but with Freertos? Thanks

  • @koggism
    @koggism 6 месяцев назад

    Failed to initialize due to no medium or hard error. It fails trying to initialize on this function stat = disk_initialize(fs->drv); which is in ff.c. I'm using a f411 and I have the same problem on a f103c6t6

  • @davidkelemen3305
    @davidkelemen3305 Год назад

    Hello, can I play MP3 files this way from the SD card, using a speaker?

  • @premapatil5415
    @premapatil5415 6 месяцев назад

    hello sir, this code is working and executes successfully with 0 errors, but the file "write.txt"is not creating into the sd card, can you please give me the solution for this problem sir?

  • @jasmeetsingh7740
    @jasmeetsingh7740 2 года назад +1

    appreciate this video but there are already many such videos available on youtube. I tried to implement this using FreeRTOS, taking data from a sensor, and logging data into SD card but could not do it successfully. it will be really helpful if you can provide me some insight for the same

    • @EmbeTronicX
      @EmbeTronicX  2 года назад

      Sure we will do that. Thanks

  • @abolfazlshakibi7476
    @abolfazlshakibi7476 Год назад

    Thank you.

  • @batcircuit4742
    @batcircuit4742 3 месяца назад

    why dont you interface a 32 gb sdhc card, I think nobody was able to achieve that since time immemorial...

  • @shubhamsamal5951
    @shubhamsamal5951 6 месяцев назад

    sir can i use the same code for stm32f407 discovery board

  • @1978Denis1978
    @1978Denis1978 Год назад

    "Source code" link don't work!

  • @gastonkitambala4358
    @gastonkitambala4358 Год назад

    Hello, thank you for this great tutorial, this is the best explained video I have seen on RUclips on this topic. I have tried this code on an STM32F103RBT7. However when I run the project, nothing is happenning. When I debug I get FR_NOT_READY at the stage of mounting. How can I resolve this issue please?

    • @EmbeTronicX
      @EmbeTronicX  Год назад

      What is the size of the SD card?

  • @jeysanjanith3650
    @jeysanjanith3650 Год назад

    this code work for stm32f401re controller

  • @Evgeny_Miroshnichenko
    @Evgeny_Miroshnichenko 2 месяца назад

    The web version of this tutorial requires disabling AdBlock. A good sign to stay away from such sites. Goodbye.

  • @El_Alawy
    @El_Alawy Год назад

    hello, I followed all the steps but every time I find the sd-card empty. I tried to find what is the reason for that by making leds light at every operation of the process_SD_card function and found that the function enters the first if condition which mean (No SD Card found) and break.

    • @El_Alawy
      @El_Alawy Год назад

      I checked the module with arduino and it is working properly