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.

TMS320F28069F: 使用28069F在instaspin-foc中加入CAN程序后,程序运行卡死在CAN初始化中的while(ECanaShadow.CANES.bit.CCE != 1 )循环为什么

Part Number: TMS320F28069F
Other Parts Discussed in Thread: MOTORWARE

你好,请教一下TI的Instaspin-foc加入CAN通信代码可以实现吗?我看TI的motorware文件里没有can.c文件,是不是想在instaspin-foc中加入CAN比较困难啊?因为我这边加入CAN代码后,一直死在can初始化部分,一直发现不了问题。CAN时钟和IO口都设置了,CAN的初始化也是按照controlsuit里面的2806X里面的Example_2806xECanBack2Back进行配置的,但是程序一直死循环在 while(ECanaShadow.CANES.bit.CCE != 1 ),请教一下这是什么原因,怎么解决呢?