你好,
我们正在对2个CY3255 DEVICIT之间的
通信质量进行测试。
为了检查封包错误率,我设置以下寄存器:rx_overwrite = 1,这样的rx_packet_dropped状态标志不会触发,和tx_retry = 0。这种登记的设置,我们可以检测每个无效CRC传输错误。(在错误上没有ACK)。
用这种方法,我把每31个字节的数据(有效载荷数据包总大小:39字节)和一个速率为2400bps传输。1000发送的数据包,我至少有1的丢失的数据包。这是正常的,因为一个链接,只有1、2米长的吗?
= & gt;一包1000:与假设我们有至少一个故障点的故障包:BER = 1/(39×12×1000)= 2,1e-6
另一个问题:在由Cypress提供的API,定义了几乎所有的功能,我可以轻松地为每个人找到源代码。但我找不到定义和plt_poll()源代码!!我想知道这个函数是如何工作的。
谢谢你
当做,
法比恩
以上来自于百度翻译
以下为原文
Hi,
We are doing some tests on the quality of the communica
tion between 2 CY3275 devkits.
In order to check the packet error rate, I've set the following registers : Rx_Overwrite = 1, this way the rx_packet_dropped status flag won't trigger, and TX_Retry = 0. With this register setup, we are able to detect transmission errors on each invalid CRC. (no ACK on error).
With this method, I filled each payload with 31 data Bytes (total packet size : 39 Bytes) and transmitted at a bitrate of 2400bps. For 1000 packets transmitted, I have at least 1 lost packet. Is that normal, for a link which is only 1 or 2 meters long ?
=> 1 packet on 1000 : with the hypothesis we have at least 1 fault bit in the fault packet : BER = 1/(39*12*1000) = 2,1e-6
Another question : in the API provided by Cypress, almost all functions are defined, and I can easily find the source code for each of them. But i can't find the definition and source code of PLT_Poll() !! And i would like to know how this function works.
Thank you
Regards,
Fabien