I work with evaluation board STM32G474-EVAL1. Some peripherals are connected to Multi function expander (STM32L152CCT6) which is accessed via I2C. Where can I read the proticol specification?
Is there a way to connect some pins to both ADC and comparator inputs, for example ADC_IN2 and COMP1_INP? It should be possible because they both are inputs.
I suppose that GPIOx_AFR registers are not required for analog peripheral, analog is turned in GPIOx_MODER register. But CubeMX does not allow to set ADC_IN2 and COMP1_INP to one pin. Maybe this is a Cube issue and I can to set them "manually"?