在按照HAL code generator的canINT 的example进行相关的设置,设置的can2为接收中断INT,can1--》can2,但是在IAR调试中,发现canTransmit函数进入后,返回值为success=1说明can发送到messagebox1中了(并且led闪灯,说明发送函数执行过)。在中断函数canMessageNotification中设置了断点,但程序无法进入这个中断函数。怎么回事?
如附件所示
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.
在按照HAL code generator的canINT 的example进行相关的设置,设置的can2为接收中断INT,can1--》can2,但是在IAR调试中,发现canTransmit函数进入后,返回值为success=1说明can发送到messagebox1中了(并且led闪灯,说明发送函数执行过)。在中断函数canMessageNotification中设置了断点,但程序无法进入这个中断函数。怎么回事?
如附件所示