-
Notifications
You must be signed in to change notification settings - Fork 6
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
STM32F405 Express, PCB error about SD card detection #1
Comments
thanks for the note - we'll fix this on the next PCB run! |
Howdy @dombru54 , thanks for your work, i just purchased two feathers from here, and i quickly found the same problem (fixed with your same solution) I dont see any Hardware revision markings in my boards, so there is no way for me to guess if either berrybase had old stock or this error wasnt fixed yet (for sure isnt fixed in adafruits repo). |
@javiBajoCero , |
@javiBajoCero ,
|
@javiBajoCero ,
|
|
@javiBajoCero , |
@javiBajoCero , |
Hi @dombru54 , first thanks for all of your tips, they are gold! I got it to work yesterday, my problems were ;
About your tips:
I see youre using a super old version of cubeMX, why is that?
2.After, you must use a divider with ClockDiv = 3 , especially not another value ... for me
3.For good precision, it is more than recommended to use the 2 quartz, therefore the 2 LSE and HSE modes.
4.4. For the SDIO to work, you must activate the USB pins, maybe to run USB clock.
|
Hello @javiBajoCero ,
Hope to read you soon |
Hello @javiBajoCero ,
SYL |
Hello @javiBajoCero , |
Hello @javiBajoCero , Version 1.7 : |
I didnt understood that sorry.
this looks very nice!!! i will stick with adafruit feather tough. |
Hello @javiBajoCero , Sorry, most directly, you could insert the link to this issue in the file "readme.md" of https://github.com/javiBajoCero/featherSDcardTests ... Neopixel ... I understand why : https://www.hackster.io/javier-munoz-saez/coding-your-own-neopixel-driver-baremetal-stm32-b6b4d0 You say : "fatfs library doesnt like to be breakpointed by the debugger" : strange, maybe due to an interraction between Debugger clock and SDIO clocks ... I never had this problem. SYS |
Hi all! Trying to use the SD card on this board over SDIO within ST32duino. We can program the board and get data from an MSA311 over the qic connect, but we can't get SD.begin() to work. Initially, it would hang for a long time at this step (multiple seconds), and then fail. We think we found the letter "B" with a circle around it on the board, suggesting this was a Rev B board with the card detect trace error. We cut that trace with an exacto. Now, it fails much more quickly. Our hypotheses as to the problem are:
Details of each are:
setup: we are not including a PinName library - but it compiles so I assume that's ok...
It would be very useful to hear from anyone who has gotten this working with code similar to the above for setting the pins, and with just cutting the trace. If we need to mess with changing things in libraries or adjusting clock timings, then i think we'll just stack an adalogger feather wing on it and communicate with the SD card via SPI or something simpler. Thank you for any input! |
Hello, I think that if the card had been revised, I would have been warned. First, verify PB12 pin (cardDetect) with voltmeter. Sorry, i don't know STM32duino, i just use STM32codeIDE. ".....\STM32CubeIDE\workspace_1.8.0\project\FATFS\Target\fatfs_platform.c"
|
Hi @javiBajoCero, Did you finally manage to make the SD card work? I'm at the same standpoint. I started the discussion and shared my observations in here: |
yup, i managed |
Hello,
With your STM32F405 Feather Express card, the PB12 pin (cardDetect) is always to 0 (GND).

This is due to a short circuit with the card reader double pin 10
Error in the card reader manufacturer's datasheet and red correction

With actual PCB, cut ground track with a scalpel, at the edge of the metal case


Thanks to make a revision of this board
.
The text was updated successfully, but these errors were encountered: