hello Zhiming
i have a try, i use the demo of boards/evkmimx8ulp/driver_examples/rgpio/led_output
i change the GPIOE6 to GPIOC0, the gpio may be taking turns to shine,but it's not!
diff --git a/boards/evkmimx8ulp/driver_examples/rgpio/led_output/cm33/app.h b/boards/evkmimx8ulp/driver_examples/rgpio/led_output/cm33/app.h
index 6589748..c7857db 100644
--- a/boards/evkmimx8ulp/driver_examples/rgpio/led_output/cm33/app.h
+++ b/boards/evkmimx8ulp/driver_examples/rgpio/led_output/cm33/app.h
@@ -11,8 +11,8 @@
* Definitions
******************************************************************************/
/*${macro:start}*/
-#define BOARD_LED_RGPIO GPIOE
-#define BOARD_LED_RGPIO_PIN 6U
+#define BOARD_LED_RGPIO GPIOC
+#define BOARD_LED_RGPIO_PIN 0U
/*${macro:end}*/
/*******************************************************************************
diff --git a/boards/evkmimx8ulp/driver_examples/rgpio/led_output/cm33/pin_mux.c b/boards/evkmimx8ulp/driver_examples/rgpio/led_output/cm33/pin_mux.c
index b87442f..485879e 100644
--- a/boards/evkmimx8ulp/driver_examples/rgpio/led_output/cm33/pin_mux.c
+++ b/boards/evkmimx8ulp/driver_examples/rgpio/led_output/cm33/pin_mux.c
@@ -82,7 +82,7 @@ BOARD_InitLedPins:
*
* END ****************************************************************************************************************/
void BOARD_InitLedPins(void) { /*!< Function assigned for the core: Cortex-M33[cm33] */
- IOMUXC_SetPinMux(IOMUXC_PTE6_PTE6, 0U);
+ IOMUXC_SetPinMux(IOMUXC_PTC0_PTC0, 0U);
}