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.

TM4C1294NCPDT: It would be into FaultISR() when compared between float data.

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: IWR1642

Hi, TI teams,

I used the TM4C1294NCPDT MCU to process the Radar point cloud data from iwr1642 UART.

I turn off the Optimization level in CCS,

I take the breakpoint to debug my code, as below, the radar point cloud  data is saved in ui8RadarPD[D_MAX_PACKAGE_LEN],  (D_MAX_PACKAGE_LEN is 4k),

Then, I press F5 to run into SetPointData() function, as below, I filter the point cloud data when its doppler is less then 0,

when I press F5, the code runs into FaultISR(), 

I do not know why? I have retried many times but it is the same.

Maybe it needs take some config in CCS?

Regards,

eric

  • Hi,

      There are two things for you to first check. 

    1. Did you enable the floating point support?

    2. What is your stack size? I think the D_MAX_PACKAGE_LEN  might have been to large and overflow the stack. Try to increase the stack size to a larger value. Will it make a difference? Another method is to reduce the D_MAX_PACKAGE_LEN to a smaller value to begin with. If you see a smaller value is running fine then it is due to the stack size. 

  • Hi, Charles,

    Thank you for you reply.

    I reduce the  D_MAX_PACKAGE_LEN, then it is OK.

    Regards,

    eric