SDAA194 November 2025 AM2431 , AM2432 , AM2434 , AM62P , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
The AM243x and AM6x family of devices share limited pins across multiple peripherals (UART, SPI, I2C, GPIO, etc.). Pin multiplexing (PinMux) selects which peripheral is connected to which physical ball and pin. Without correct PinMux setup, a peripheral cannot communicate with external devices. Conflicting assignments (for example, UART and I2C sharing the same pin) cause boot or runtime failures. All these conflicts can easily be avoided by using the CodeGen tool.
When a module and peripheral is added in the CodeGen tool, the pins required for the modules are exposed by the Sysconfig tool and corresponding code is generated. The user can also select the pin settings to be input enabled/disabled or can configure the pin to have pull up or down using the tool.
There are separate structures or sets of pins configured for MCU and MAIN domain peripherals.
Figure 4-7 shows the Pinmux Initialization generated code.
Figure 4-7 PinMux Initialization