AnsweredAssumed Answered

S32K HardFault with IMPRECISERR

Question asked by antoine monmarché on Dec 10, 2019
Latest reply on Feb 9, 2020 by Carlos Gonzalez

Hello,

 

I'm working on a S32K148-EVB. My software uses FreeRTOS and I'm doing SPI with lpspi using DMA.

The MPU is enabled and I'm also doing CAN reception.

 

Randomly I get HardFault error when high load on CAN (9 CAN frame received every 15ms) bus and SPI (32 bytes every 10ms). I takes from 30s to 5min to trigger the error.

 

When HardFault occurs, the register status are:

HFSR->FORCED=1

CFSR->IMPRECISERR=1

 

I don't know how to find the root cause for my issue.

What should I check in order to identify the root cause?

 

thank you.

Outcomes