2024-12-14 02:54 PM - edited 2024-12-14 02:55 PM
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.
2024-12-15 06:59 AM
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.