cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE SDIO Pin Conflict

Jeffrey123
Associate

Hi everyone. When configuring SDIO, STM32CubeIDE gives me the warning "partially disabled conflict with I2C1" even though the I2C and SDIO bus are on seperate pins. I2C1_SCL and I2C1_SDA overlaps with SDIO_D4 and SDIO_D5 respectively but I'm only using SDIO in 4 bit mode.

A guess is that STM32's pin planning tool wants to make sure nobody designs SDIO that doesn't work in the mode they want that requires more pins? I can't seem to find any information about it in the documentation.

When I run it, I get the error handler when calling MX_SDIO_SD_Init(). I was wondering if anybody knew a workaround? Thanks.

image.pngimage.pngimage.png

1 REPLY 1
TDK
Guru

Yellow warnings can and should be ignored. It is letting you know that additional features cannot be selected due to pin constraints. There is no error to correct here.

 

> When I run it, I get the error handler when calling MX_SDIO_SD_Init(). I was wondering if anybody knew a workaround?

This is a separate issue and will require code debugging. Is a card inserted? There have been bugs with 4-bit SDIO initialization code over the years.

If you feel a post has answered your question, please click "Accept as Solution".