Hallo Jimenez,
First, thank you very much for your kind help.
I tried as your suggestion, the problem cannot be worked out.
But I found that the value of “Maximum Priorities” must be 1, then the project can work normally, shown as the following fig.

and it seems the problem is caused by the NVIC priority grouping, the illustration of freeRTOS codes ares shown as the following fig. But I cannot understand how to set the NVIC_SetPriorityGrouping for S32K144.

I read the datasheets, and I set PRIGROUP bits of register AIRCR as this:
S32_SCB_AIRCR_PRIGROUP(0x03);
which I means to set preemptive priority is 16, and subpriority is 0.
but when I debug, the value of register S32_SCB -> AIRCR is always 0 in EmbSysRegisters view.
Could you help me again?
My questions are :
1. I think the S32K146 support the max preemptive priority is 16. If I want to use freeRTOS in S32K144, I had better to set the preemptive priority as 16 and set subpriority as 0.
Do I get the point? Could you check if the problem is caused by the settings of interrupt priority?
2. how to effectively set the AIRCR register, especially the PRIGROUP?
Thank you very much!
Wish you happy!