Cube MX having bug when setting up the ADC1 channels of STM32U575 in Diff Mode
Hi,
This is my setup:
MCU: STM32U575OGY
STM32CubeIDE: 1.9.0
STM32CubeMX: 6.5.0-RC4
When setting up the ADC1 channels as Differential using the STM32CubeMX, it selects the GPIO pins that doesn't match with the GPIO mapping of the ADC1 in the datasheet. I manually set the channels and test the pins and datasheet is correct about the pins. So this seems like a bug in CubeMX. I am not sure if it has been fixed in updates or not.
Example: Setting up "ADC1- IN16 Differential" in CubeMX shows it is connected to "ADC1_IN15" and "ADC1_IN16". However; based on datasheet it is connected to ADC1_IN16 and ADC1_IN17. screenshots below.
The problem with this issue is that CubeMX will lock up the wrong GPIO and won't let use it as another feature. In example below I cannot use the PB0 as anything else while it is not used.



