Hello. We are currently developing the firmware for a custom i.MX8X carrier board. For the ADC_IN0 - ADC_IN5, we are currently unsure what the pad/mux control configurations should be, specifically for the sw_config field.
If we set the field value to "Default," does it automatically configure it to the mux mode that the pad is set to (i.e. automatically adjusted to ADC versus if we were to change it to the GPIO)?
Would setting it to "Default" be a good choice, or is there a better field selection for the ADC pins?
Hello,
“Default” does NOT adapt to mux mode and is not ADC-aware.
For ADC pins on i.MX8X, explicitly configure the pad control to disable all pulls/keepers and minimize digital influence.
Best regards/Saludos,
Aldo.