cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX: SDIO 4bit issue

ingwmeier
Senior
Posted on April 15, 2015 at 17:33

STM32F429

Generated Code does not initialize all pins correctly, some should be set to open drain highspeed, this has to be done manually. Without this only 1bit mode works correctly 4bit gets stuck. We use a 2GByte uSDcard.

Regards

Werner
3 REPLIES 3
Posted on April 15, 2015 at 18:04

Hi Werner,

Could you post your modifications? I was screwing around with this code on a '407 for far too long before I gave up.

Andrei (not from ST)

ingwmeier
Senior
Posted on April 16, 2015 at 08:10

Cube MX sets SDIO pins in GPIO Settings to ''Nopull-up and no pull-down'' and Max Output Speed to ''Low''. they have to be changed to ''Pull-up'' and Max Output Speed ''High''.

We thought that Cube should apply GPIO Settings automatically to these working conditions.

stm32cube-t
Senior III
Posted on April 29, 2015 at 17:03

Hello, this shall be fixed within 4.8 release.

Best regards.