Hi,
The microcontroller for our project S32K322NH(2MB Dual-core, 100pin) . An evaluation board for the same controller was not available. As per the instruction from the NXP part supplier we purchased an S32K344 dev board and by using an elf (given by NXP FAE) file we converted it into an S32K324(dual core).
We started working with S32K324 by using RTD version 4.0.0 with S32DS 3.5 (Update 9). With this, I was able to control GPIO but when I started developing FLEX_CAN the API FlexCAN_Ip_GetTransferStatus(INST_FLEXCAN_0, RX_MB_IDX); always returned FLEXCAN_STATUS_BUSY. Also not receiving any data.
I Asked for support again, and they informed me to change the RTD version to 3.0. Now I am getting a hard fault error. Not able to run the code. I saw a solution on the forum (screenshot attached) which asked to define MPU_ENABLE.
In my case, this MPU_ENABLE is already defined.
From the highlighted line of code, my program is entering Hard-fault. Need a solution ASAP as our product development is on hold due to this. Any help would be deeply appreciated!
I am attaching my code and supporting screenshot documents along with this.