Hi,
This is a bug report to the team supporting MCUXpresso Config Tool.
Issue is related to Pins Tool and i.MXRT processors:
If the pin configurations is spitted into multiple functional groups (i.e. multiple functions) and more than group initializes pin(-s) which needs changing IOMUXC_GPR registers the last operation to IOMUXC_GPR register might override IOMUXC_GPR bits for other pins.
For example i.MXRT1176 processor:
IOMUXC_GPR->GPR41 = ((IOMUXC_GPR->GPR41 &
(~(IOMUXC_GPR_GPR41_GPIO_MUX2_GPIO_SEL_HIGH_MASK))) /* Mask bits to zero which are setting */
| IOMUXC_GPR_GPR41_GPIO_MUX2_GPIO_SEL_HIGH(0x00U) /* GPIO2 and CM7_GPIO2 share same IO MUX function, GPIO_MUX2 selects one GPIO function: 0x00U */
);
will unroute pins 16..31 that have been routed to CM7_GPIO2 even though only one pin should be unrouted from CM7_GPIO2.
Best regards,
Panu