Problem with NXP S32K3XX entering error interrupt in user mode

I’m using a chip from NXP’s S32K3 series, and there are some functions that need to be run in user mode.When I ported FreeRTOS to my project, the code would enter the FreeRTOS error interrupt when running the startup program.

Is this because FreeRTOS can only run in privileged mode?
How can I configure my program to be FreeRTOS compatible?

Looking forward to hearing from you.

This is a Cortex-M7 part. Which functions need to run in user mode? Which FreeRTOS port are you using?

Which interrupt is this one?

You can run application tasks as unprivileged if you use FreeRTOS port with MPU port.

You need to share more details about the error you are facing.