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.

c2000 launchpad 平方运算



你好。

我使用C2000 LAUNCHPAD来采集一组数据, 我需要将这一组数据中的每一个数据平方后存储在RAM中。

 我是在例程I2C_EEPROM中进行修改。加入了自己的代码, 通过I2C接口采集这种数据时没有问题的。

我调用标准的C库函数double pow(double x, double y)(在math.h)进行平方运算。但是我每次调用pow, core都会跳入ILLEGAL_ISR(), 这是为什么呢?

BTW, 我的代码运行在RAM中。