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.

F28069 can发送与中断

我在编写can通讯程序时,利用串口进行中断。当串口接收到消息时,进入中断程序。中断程序调用can通讯,将串口数据通过can进行发送。但是现在遇到一个问题就是当can在发送数据时,如果串口中断了,can就无法发送正确的数据,因为cpu开始执行串口数据了。这个问题该如何解决呢?可以设置can的发送中断吗?