程序结构如下
void main(void)
{ init();
while(1)
{ printf("c");
myfunction();
}
}
以上程序在C6748 400MHz DSP上运行 。通过TSC定时器测试发现 执行一次while 需要18ms 。但是硬件串口每秒只收到了 12个字符 "c" 按理应收到1000/18=55个"c" 才是正确的啊。 串口波特率设置为57600bps。这是什么原因呢。
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.
程序结构如下
void main(void)
{ init();
while(1)
{ printf("c");
myfunction();
}
}
以上程序在C6748 400MHz DSP上运行 。通过TSC定时器测试发现 执行一次while 需要18ms 。但是硬件串口每秒只收到了 12个字符 "c" 按理应收到1000/18=55个"c" 才是正确的啊。 串口波特率设置为57600bps。这是什么原因呢。