using SDIO on STM32L152VD

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
cyrosd
Posts: 1
Joined: Tue Nov 28, 2017 5:14 pm

using SDIO on STM32L152VD

Post by cyrosd »

Hello,
I am using a STM32L152VD and I am trying to use the SD card to save data I'm recording from ADC, but it seems like Chibi OS doesn't let STM32L1xx use the SD Card. I tried some tweaks (especially defining STM32_SDIO_HANDLER on vector 104 as it is done on all the other platforms) but I'm getting stuck at sdc_lld_init() which only seems to be configured for STM32F1xx and STM32F4xx because rccEnableSDIO is only exists for those. Is there anything I missed in order to use SDIO? Or is it that you willingly left it out?
Thank you,
Cyosd
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: using SDIO on STM32L152VD

Post by Giovanni »

Hi,

It is not tested on that platform so there could be things not working or left out. You need to provide those RCC macros then start testing.

Giovanni
Post Reply