Skip to main content
Visitor II
December 14, 2024
Question

STM32CubeIDE SDIO Pin Conflict

  • December 14, 2024
  • 1 reply
  • 760 views

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

    This topic has been closed for replies.

    1 reply

    Super User
    December 15, 2024

    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.