Posted on April 27, 2017 at 20:29This is the list of alternate functions for PB14 in CubeMX. Which one would be the Card Detect for SDIO mode? How would you write this in the code?
Posted on April 27, 2017 at 20:19I have __HAL_RCC_GPIOB_CLK_ENABLE() defined and enabling the clock on that port. Are you redefining this function __SD_DETECT_GPIO_CLK_ENABLE() ? I don't have __SD_DETECT_GPIO_CLK_ENABLE() in my code.
Posted on April 27, 2017 at 03:06Yeah, in STM32CubeMX under 'Configuration' -> 'GPIO' a 'Pin Configuration' window comes up. Under the 'SDIO' tab it shows the SDIO pins, which are defaulted as 'Alternate Function Push Pull' for 'GPIO mode', but unde...
Posted on April 27, 2017 at 01:43Thanks. After posting, I actually re-read the Nucleo user manual realized, yes, by default it connects to the STLINK 8MHz external crystal. So I made the changes and when I build I still get these issues:Warnings:- i...