STM32MP157 alternate ADC

Hello everyone, I wanted to ask, Is there a way we can use a GPIO of the STM32MP157 SoM as an direct ADC through alternate code function. The processor has 16-bit ADCs but it is not present in the pinout.

Hi there,
I see in the Data -sheet This?

and I see the pins come out of the Module?

Looks like a beast of Hardware…LOL :+1:
GL :slight_smile: PJ

3.22 Analog-to-digital converters (ADCs)
The STM32MP157C devices embed two analog-to-digital converters, which resolution can
be configured to 16, 14, 12, 10 or 8 bits. Each ADC shares up to 20 external channels,
performing conversions in the single-shot or scan mode. In scan mode, automatic
conversion is performed on a selected group of analog inputs.
Additional logic functions embedded in the ADC interface allow:
• simultaneous ADC1/ADC2 conversion
• interleaved ADC1/ADC2 conversion.
The ADC can be served by the DMA controller, thus allowing the automatic transfer of ADC
converted values to a destination location without any software action.
In addition, an analog watchdog feature can accurately monitor the converted voltage of
one, some or all selected channels. An interrupt is generated when the converted voltage is
outside the programmed thresholds.
In order to synchronize A/D conversion and timers, the ADCs can be triggered by any of
TIM1, TIM2, TIM3, TIM4, TIM6, TIM8, TIM15, LPTIM1, LPTIM2 and LPTIM3 timers