This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/SIMPLELINK-MSP432-SDK: Executing the firmware causes Hard Fault Error randomly while SPI transfer is ongoing between MSP432 and another device

Part Number: SIMPLELINK-MSP432-SDK

Tool/software: TI-RTOS

Hi Team,

I have designed the firmware that reads the uPulser data on the USART line and stores the data to SD card (using FatFs) .

The same data is read from SD card and transmitted to another device that is on board over the SPI line and later that data is from another device is transmitted over the radio .

I am also using NVS driver so as to keep track of the file numbers just in case there is power reset scenario so as not loose the last know file number written.

Lastly, I am also using the deep sleep mode  (DEEPSLEEP_1) and waking up the unit using RTC based on alarm mode.

The challenge is that after running for some time (where it gathers the data and sends to another device successfully) the firmware crashes and shows hardware fault (Hwi_exec).

When I look into the details of the exception tab of Hwi, it shows "Hard Fault: FORCED: USAGE: NOCP"

Looking at some of the documents I understood that NOCP occurs means, attempted to execute coprocessor execution.

What I am not able to do is to find how this has occured and what particular task or statement the controller was executing when this occured.

Kindly provide your input.

Vikram

**Attention** This is a public forum