Hi @Zhirong_Yang ,
/*
// GPIO_AD_B0_04_MQS_RIGHT SW7_4, GPIO_AD_B0_05_MQS_LEFT SW7_3
IOMUXC_SetPinMux(
IOMUXC_GPIO_AD_B0_04_MQS_RIGHT,
0U);
IOMUXC_SetPinMux(
IOMUXC_GPIO_AD_B0_05_MQS_LEFT,
0U);
IOMUXC_SetPinConfig(
IOMUXC_GPIO_AD_B0_04_MQS_RIGHT,
0x10B0u);
IOMUXC_SetPinConfig(
IOMUXC_GPIO_AD_B0_05_MQS_LEFT,
0x10B0u);
*/
// GPIO_B0_00_MQS_RIGHT J8_A30, GPIO_B0_01_MQS_LEFT J8_A34
IOMUXC_SetPinMux(
IOMUXC_GPIO_B0_00_MQS_RIGHT,
0U);
IOMUXC_SetPinMux(
IOMUXC_GPIO_B0_01_MQS_LEFT ,
0U);
IOMUXC_SetPinConfig(
IOMUXC_GPIO_B0_00_MQS_RIGHT,
0x10B0u);
IOMUXC_SetPinConfig(
IOMUXC_GPIO_B0_01_MQS_LEFT,
0x10B0u);
In fact, both the two method I have tested, all works OK.
If your GPIO_AD_b0_04 and GPIO_AD_B0_05 no output, comment GPIO_B0_00 and GPIO_B0_01, test it again. Please also note, GPIO_AD_B0_04 and GPIO_AD_B0_05 is the special pin, it is the BOOT_MODE pin.

When you do reset, please make sure you connect nothing, after the code is boot, then you can test the related pin, otherwise, it will influence the chip boot, thanks.
Best Regards,
Kerry