-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32F412ZG-NUCLEO SDIO INIT FAILED #531
Comments
Could you please help with:
|
1.host side has not run into main function,there is no log 。 |
Can you first try spi? It should be easier to get along. SD we had to add the HAL layer wrapper (which is very unportable across STM32) here: The problem with STM32 is that it doesn't have default SDIO only HAL. So we needed to avoid 'MMC' part of it in process of initialisation. The SPI port doesn't have such dependencies and straight forward to setup. We are also coming up with network stack integrated solution with SPI (in current code network is need to be hooked by user). Always ensure you use same code commit at slave and stm32 host. code mismatch also may lead to unrecognised errors. |
1.My client uses sdio, so I don't care spi first. |
how to acoid ''MMC'' question,sorry i don't konw |
hi,can you help about question above.thank you best. because the question i‘m so unhappy. |
If you need sdio only, you need to handle check if your stm board hal layer supports the 'sdio natively. If it does, remove sdio__ll.c and use hal sdio. Last time we used sdio, our stm did not support sdio and only had sd mmc. So we re-wrote small hal in sdio_ll.c. you can refer it and adapt similar way for your stm. It is problem at stm host hal drivers, not at ESP as such. |
I used the same stm32 chip with you. |
1 similar comment
I used the same stm32 chip with you. |
Can you please find out when does it run into Error_Handler? What is the backtrace? |
Checklist
Issue or Suggestion Description
Hi, I use the stm32f412zgt6 nucleo board communication with esp32_devkitc_v4 via sdio.but stm32 sdio init failed. I don't konw why.
What I did:
1.Connect the two development boards correctly.
2.Wiring shorter than 5 cm.
3.I tried resistors of 10 and 51 ohm.
The text was updated successfully, but these errors were encountered: