2015-12-14 12:50 PM
Hi,
If have a disco429 board modified, removing hardware that i dont use for an experiment and in order to connect and access an SD memory card by 4 bit.The settings in CubeMX is set to SD 4 bits wide bus, but the code generated is ''hsd.Init.BusWide = SDIO_BUS_WIDE_1B;''Is this because i started the cubemx project with the selection of the disco board or might it be considered a bug?Thanks! #cubemx-4.12-sdio2015-12-14 11:38 PM
HAL_SD_ErrorTypedef hse;
hse = HAL_SD_WideBusOperation_Config(&hsd, SDIO_BUS_WIDE_4B);
if(hse != SD_OK) {
printf(''Error: failed to set SD card to 4 bit transfers (%d)
'', hse);
}
Cheers,
Mark
2015-12-14 11:50 PM
Thanks Mark, Ahhh that could be the reason.. i give it a try.