When I wanted to use CAN to wake up the MCU which was in SLEEP MODE, the HardFaultReset had been happened.
Because of configure the register about can, such as CTRL1_PN, the offset is wrong, and cause the incorrect address access in register area.
In the head file of S32K144.h(from S32DS_ARM_v2018.R1), you can find the line write as uint8_t RESERVED_6[512]; .
Compared with the datasheet, uint8_t RESERVED_6[576]; is the right offset. And then the pretended networking function can be used in my project.