msg = "\r\nYou will enter a character, and the DSP will echo it back! \n\0";
scia_msg(msg);
串口调试助手里显示的是乱码,于是我试着发送一个数据。
int i=0x05;
scia_xmit(i);
寄存器里SciaRegs.SCITXBUF确实=0x05但,串口调试助手里出来的不是0x05。
注:SCI工作在FIFO模式下。
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.
msg = "\r\nYou will enter a character, and the DSP will echo it back! \n\0";
scia_msg(msg);
串口调试助手里显示的是乱码,于是我试着发送一个数据。
int i=0x05;
scia_xmit(i);
寄存器里SciaRegs.SCITXBUF确实=0x05但,串口调试助手里出来的不是0x05。
注:SCI工作在FIFO模式下。