mmc_spi problem
Posted: Tue Sep 29, 2020 7:49 pm
Hi ,
I want to connect sd card with stm32f103c8(Blue Pill) using chibios191 with (RT-STM32F103-OLIMEX_STM32_P103-FATFS)demo.
But it doesn't work. when I test the SPI pin on oscilloscope there is no signal output on it.
I Have tried to disable JTAG (AFIO->MAPR |=AFIO_MAPR_SWJ_CFG_JTAGDISABLE) noting happend
,
also I tried to switch to SPI1 but I failed .
another question :
does I have to change
(mmc_lld_is card _inserted) and (mmc_lld_is _write_protected ) or it doesn't mater ?

does spi signal send continues trying to connect or it have un event?

I want to connect sd card with stm32f103c8(Blue Pill) using chibios191 with (RT-STM32F103-OLIMEX_STM32_P103-FATFS)demo.
But it doesn't work. when I test the SPI pin on oscilloscope there is no signal output on it.
I Have tried to disable JTAG (AFIO->MAPR |=AFIO_MAPR_SWJ_CFG_JTAGDISABLE) noting happend
also I tried to switch to SPI1 but I failed .
another question :
does I have to change
(mmc_lld_is card _inserted) and (mmc_lld_is _write_protected ) or it doesn't mater ?
does spi signal send continues trying to connect or it have un event?