using SDIO on STM32L152VD

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

Moderators: barthess, RoccoMarco

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

using SDIO on STM32L152VD

Postby cyrosd » Tue Nov 28, 2017 5:35 pm

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,

User avatar
Site Admin
Posts: 10566
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 265 times
Been thanked: 228 times

Re: using SDIO on STM32L152VD

Postby Giovanni » Tue Nov 28, 2017 7:03 pm


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.


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 1 guest