微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决使用 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 举报,一经查实,本站将立刻删除。