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.

28335的串口中断有多快?能达到多少?500HZ?600Hz?



RT,我需要用串口来接收单片机发来的数据,是500HZ的,不知道串口中断能不能及时响应?另外,怎么计算程序的运行周期啊?总不能用灯来看吧……求教!!

  • 你好!

    1)中断响应+处理最快大约在30个CPU clock左右。

    500hz的响应基本没有问题。

    2)看程序的运行周期,最直接的是在调试时看反汇编的长度进行计算,简单的办法就是输出到IO口上,用示波器测一下了。