Hi NXP support team,
I debugged the project, set break point at rtos_start(), in function: int main(void),
the first line.
the global should be initialized, but used PEMicro, on Expressions window, I found:
g_pin_mux_InitConfigArr0[73]
Details:{
base = 0x0 <__isr_vector>,
pinPortIdx = 0,
pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
passiveFilter = false,
driveSelect = PORT_LOW_DRIVE_STRENGTH,
mux = PORT_PIN_DISABLED,
pinLock = false,
intConfig = PORT_DMA_INT_DISABLED,
clearIntFlag = false,
digitalFilter = false,
gpioBase = 0x0 <__isr_vector>,
direction = GPIO_INPUT_DIRECTION, initValue = 0 '\0'}
this will cause a the program stopped at default ISR.
I searched pinPortIdx in pin_mux.c, got:
board
pin_mux.c (73 matches)
124: .pinPortIdx = 10U,
So the issue is only 73 items in g_pin_mux_InitConfigArr0[];
but in pin_mux.c,
/* Generate array of configured pin structures */
pin_settings_config_t g_pin_mux_InitConfigArr0[NUM_OF_CONFIGURED_PINS0] = {
#define NUM_OF_CONFIGURED_PINS0 77 // in pin_mux.h,
i am wondering why the NUM_OF is 77 in pin_mux.h,
I am using S32 Design Studio for S32 Platform Version: 3.4,S32K1XX SDK RTM 4.0.2.
Any help would be much appreciated.