Hi,
the processor creates two files named mux.h and mux.c. In this files it saves your pin configuration. If you have problems with the processor you can add a pin configuration in the mux.c by yourself (The example below shows two configurations... just copy one of them and change it for your purpose):
pin_settings_config_t g_pin_mux_InitConfigArr[NUM_OF_CONFIGURED_PINS] =
{
{
.base = PORTC,
.pinPortIdx = 1u,
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
.passiveFilter = false,
.driveSelect = PORT_LOW_DRIVE_STRENGTH,
.mux = PORT_MUX_AS_GPIO,
.pinLock = false,
.intConfig = PORT_INT_EITHER_EDGE,
.clearIntFlag = false,
.gpioBase = PTC,
.direction = GPIO_INPUT_DIRECTION,
.digitalFilter = false,
},
{
.base = PORTE,
.pinPortIdx = 0u,
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
.passiveFilter = false,
.driveSelect = PORT_LOW_DRIVE_STRENGTH,
.mux = PORT_MUX_AS_GPIO,
.pinLock = false,
.intConfig = PORT_INT_EITHER_EDGE,
.clearIntFlag = false,
.gpioBase = PTC,
.direction = GPIO_INPUT_DIRECTION,
.digitalFilter = false,
}
}But be sure, that the definition of
NUM_OF_CONFIGURED_PINS = 0x02U
in the mux.h file matches the number of pin configurations in the array above.
Best regards
Tom