The i.MX7D has one dedicated pad and four ALT pads for the USB_OTG1_ID input. I don't understand how to switch between dedicated input and ALT inputs (or why the ALT inputs exist in the first place).
First, there is the non-multiplexed pad USB_OTG1_ID.
Then, there are the following pads that can input USB_OTG1_ID as an ALT function:
GPIO1_IO12 ALT7
I2C4_SCL ALT4
SD2_WP ALT4
GPIO1_IO02 ALT7
With IOMUXC_USB_OTG1_ID_SELECT_INPUT, I can choose between the four ALT inputs, but not the dedicated pad. With the reset value (00), GPIO1_IO12 ALT7 should be used for the ID input.
How can I switch this to the dedicated pad instead?
Hello @tgbe
I hope you are doing well.
Please refer to register: IOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO1_IO02
SION will be set to 0 and MUX_MODE set to 111 that enables the USB_OTG1_ID function.
Best regards!