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.

在ucosII下串口接收数据存在的问题



最近将ucosII移植到dsp28335上,然后用copley驱动器通过串口将电机的数据反馈到dsp中,串口的普通接受方式和FIFO我都试过,就数据正确性而言FIFO比普通模式效果好,但是在使用过程中出现了数据接收的顺序不对,本来接收数据的顺序应该是123但运行一段时间后接收数据的顺序会变成312,或者321.有没有老司机帮忙出个主意来解决这个问题。