Micro-SD SPI module with the STM32 NUCLEO-F746ZG micro-controller

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 38

  • @miclastname292
    @miclastname292 Рік тому

    I adapted your code for a Seeed Studio SD card Shield (Arduino compatible) on a Nucleo-F446RE, I had to modify for the shield's CS and used SPI1 and UART2. Worked like a charm. PS I had to run the video 1 second at a time to get the code for main as the link does not work.

  • @abhimanyuawake
    @abhimanyuawake Місяць тому

    no clock setup required ?

  • @szelenko
    @szelenko Рік тому +1

    Дякую за відос!
    В мене така ж плата і не вийшло отримати дані через uart2.
    Можливо є у Вас канал солв'їною?

  • @netherlabgames7511
    @netherlabgames7511 4 роки тому +3

    Thank you so much! This worked instantaneously! I am so grateful you took the time to make this video!

  • @michaelbertocchi
    @michaelbertocchi 10 місяців тому

    Is possible use this code for stm32g431kb?

  • @woldecosgrove
    @woldecosgrove Рік тому

    link to the code is not working. could you please update the correct link ? thx

  • @peterdirnhofer6777
    @peterdirnhofer6777 3 роки тому +2

    Thanks for the tutorial.
    It works for me with a NUCLEO 32L476RG under stm32l4xx_hal.h.
    To be compatible to a Arduino Data Logging Shield V1.0, i used SPI1 and PB6 (Arduino D10) for SPI1_CS.

    • @purposeoflife47
      @purposeoflife47 3 роки тому

      Yes ,, same here ,,, i have NUCLEO 32L476RG and it works ,, only one problem that i have 3 sd cards and 1 is working, rest of two are not working. But all three are showing fine on laptop, dont know that is the issue.

    • @maciejwisniewski1315
      @maciejwisniewski1315 7 місяців тому

      could you please send me your project? I have the same board and can't make it work, idk what is the issue. Card is working with esp32, I did all things from video and after proper initialization i can't open file

  • @abhimanyuawake
    @abhimanyuawake Місяць тому

    Why skipping clock configuration??

  • @dajianghe
    @dajianghe Рік тому

    Have you tried writing and reading files with large size like 10K?

  • @gaganjain1929
    @gaganjain1929 2 роки тому

    Hey this link can't be open because your website has been closed. Can you please provide me the code?

  • @CosimoDavideViggiano
    @CosimoDavideViggiano 3 роки тому +1

    I'm using a Nucleo F446RE, I did everything You done in the video but my fresult in f_open is always FR_NOT_READY. I don't know why.

    • @andresfelipe6085
      @andresfelipe6085 3 роки тому +1

      Can you solve the problem? i have the same with my blue pin

  • @netherlabgames7511
    @netherlabgames7511 4 роки тому

    I see now that every 512th character is in error. When I write all 'a' characters, every 512th character is an 'i'. 5 different text files generated errors in exactly the same places. What do you think this could be?

  • @NikitaMane-j6z
    @NikitaMane-j6z Рік тому

    i am use this code but this data display in my serial port not open txt file please help me sir
    Micro SD card is mounted successfully!
    File was not opened for reading and checking the free space!
    The free space is: 253950
    The file was not closed.
    File was not opened for reading!
    The file was not closed.
    The Micro SD was not unmounted!

  • @jeysanjanith3650
    @jeysanjanith3650 Рік тому

    Thank you,this code work for stm32f401re

    • @mohamedkharrat9728
      @mohamedkharrat9728 Рік тому

      can you give the code because i work with the same board then you and it wouldn't work

  • @xptodundee
    @xptodundee 4 роки тому

    Thanks for the video, so helpful. I do have a question, I did not follow the thought sequence where you say that 2 external files (fatfs_sd) are needed - did you get those from an application example? self developed? I would expect the CubeIDE to create them somewhere? it's the only thing that confuses me still.

  • @ziyaonal4772
    @ziyaonal4772 4 роки тому

    Can we use sdhc cards with this project?

  • @ondrejsakala3980
    @ondrejsakala3980 2 роки тому

    Thanks a lot, it is a very helpful video.

  • @abdurrahmanmughal215
    @abdurrahmanmughal215 4 роки тому

    I have a question

  • @farukadak_
    @farukadak_ 10 місяців тому

    Thanks mate, cheers..

  • @purposeoflife47
    @purposeoflife47 3 роки тому

    Thanks alot for the tutorial.
    It works , i have NUCLEO 32L476RG and it works ,, only one problem that i have 3 sd cards and 1 is working, rest of two are not working. But all three are showing fine on laptop, dont know that is the issue.

    • @maciejwisniewski1315
      @maciejwisniewski1315 7 місяців тому

      Did you find out what was the problem? I have also l476rg and don't know why it is not working

  • @antonstoynev7668
    @antonstoynev7668 4 роки тому

    Привет Олегсей, можно ли сделаем связ на Скайп или Ваибер что то пообщаемся ?

  • @anhngocle738
    @anhngocle738 3 роки тому

    thank you so much!

    • @meohoang7741
      @meohoang7741 3 роки тому

      ong xài con nào ấy,toi xai f4 discovery lỗi ngay khúc f_open ko trả giá trị ok.ông có bị v ko,giúp tui với

  • @alperenerdogan4602
    @alperenerdogan4602 3 роки тому

    privet privett bro !!! nice tutorial !!!

  • @paulg.3067
    @paulg.3067 4 роки тому +2

    14:30 ... hmmm okay, to get rid of the warnings just rebuild the project and they are magically gone :D :D

    • @netherlabgames7511
      @netherlabgames7511 4 роки тому

      lol yeah xD

    • @m4nuz
      @m4nuz 4 роки тому

      it doesn't work for me... i wish i would be a magician also...

  • @jugnu361
    @jugnu361 3 роки тому

    PLZNO CUBE IDE