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.
Hi ml0943,
有没有用示波器看一下发送的数据是否正确?
另外,数据格式是否一致?如波特率,校验位,停止位等。
你使用的是什么硬件?如果方便,可否把相同代码在TI的EVM上运行试试看?
TI的Hercules USBkit或HDK都支持串口转USB。
这样可以排除硬件错误的干扰。
我这没有示波器和EVM(这个EVM是什么),但是我这里有程序(用到了SCI的发送,接收中断;RTI;CAN2发送,接收中断)是前段时间新建的,今天下载到板子中,串口的收发功能都正常。所以,我认为是程序哪里不合适,但是仔细找了所有,都没发现,单步调试能够进入到SciSendByte函数。郁闷