使用 nRF24L01 发送 320 个字节发送 1 个字节或 32 个字节需要多长时间?

问题描述

我想计算在 ShockBurst 模式下使用 nRF24L01发送 320 字节数据需要多长时间。我想知道当我通过 1 字节发送数据时会是哪种结果,如果我一次发送 32 字节会是哪种结果。

参见(第 28 页): Timing of ShockBurst in TX

所以我认为我的计算公式应该是:

Td + Tce + Tsby2xSB + Toa,where:

Td (delay between edges): min. 50ns
Tce (hold CE in state HIGH at least 10us): 15us - in my case
Tsby2xSB (ST_BY -> TX ShockBurst): max: 195us

Toa = 1/datarate*(databits+1)
datarate: 2Mbps = 2*10^6 bit/s
databits: 8 * 1 or 32 bytes

At the end in case: 1 byte at a time we ought to multiply result by 320 (because we need to send
1byte 320 times to get result of 320 bytes sent),in other case: 32 bytes we ought to multiply
final result by 10.

参见(第 25 页): Operational timing of nRF2401

请问,如果我的计算没有错误,有人可以告诉我吗? 这是一个数据表:nRF2401

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)