AnsweredAssumed Answered

STM32F103RCT6 HOW TO USE SDIO & UART4

Question asked by young su cho on Jun 8, 2017
Latest reply on Jun 8, 2017 by Imen D

I Have a problem using sdio(1bit) and UART4.

 

UART4 TX does not work when SDIO is INIT.

 

If SDIO is not INIT, UART4 TX work.

 

Please tell me how to fix it.

 

CUBE setting are shown below.

 

 

 

 

  MX_GPIO_Init();
  MX_DMA_Init();
  MX_ADC1_Init();
  MX_IWDG_Init();
  MX_SDIO_SD_Init();
  MX_SPI1_Init();
  MX_SPI3_Init();
  MX_UART4_Init();
  MX_USART1_UART_Init();
  MX_USART2_UART_Init();
  MX_USART3_UART_Init();
  MX_FATFS_Init();
  MX_TIM6_Init();

 

HAL_UART_Transmit(&UART4, aTxBuffer, Transmit_Size,1000);

Outcomes