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.

原本程序中中断函数有浮点数运算,但我又在main函数的while加入代码后出问题,问题如下:

Part Number: TMS320F28027
Other Parts Discussed in Thread: SFRA, C2000WARE

原本程序中中断函数有浮点数运算,但我又在main函数的while加入代码后出问题,问题如下:

1.在中断中加入浮点数的运算

开始时一RUN程序直接跑到ILLEGAL_ISR函数中

浮点数采用printf打印输出,但我把中断里面的涉及浮点数的代码删除就可以正常运行,这是怎么回事?

谢谢!