请问采用1M波特率在spi的fifo接收中断中填充发送fifo的数据可靠吗?采用4级fifo收发数据。
我测得fifo接收中断耗时3微秒,1M波特率是1微秒一个时钟,那接收中断期间往发送fifo填充的数据会不会因为前2微秒的时钟缺失而发送错误的数据?
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.
请问采用1M波特率在spi的fifo接收中断中填充发送fifo的数据可靠吗?采用4级fifo收发数据。
我测得fifo接收中断耗时3微秒,1M波特率是1微秒一个时钟,那接收中断期间往发送fifo填充的数据会不会因为前2微秒的时钟缺失而发送错误的数据?
假设数据传输是连续的 (no breaks between 16 bit words),那么:
- 1MHz clock rate is 1us cycle time or 1us per bit
- 4 x 16 bit words = 64 bits
- total time to fill the FIFO is 64us