Cypress技术论坛
直播中

乔婧

7年用户 258经验值
私信 关注
[问答]

如何检查CY3255 DEVICIT之间的封包错误率?

你好,
我们正在对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 communication 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

回帖(1)

杨军

2019-7-30 09:42:40
不确定你是否看过这个
HTTP://www. GoGoLe.COM/URL?2和放大器;VEL= http%3a%2f%2FrHululPaSANI.FixPo.2F201%2F03%2FAN59464。PDF&Em=5DVUVPC66A2SATY4IDIDAG;和UGG=AFQJCNGDE0QUVVECLTMN WAOANOAVPJW和;SIG2= YQQ7WYK8X-RDGK3ZCWOJG和BVM=BV 57155469,D CGU。SA= T&RCT= J&P;q=&;ESRC= S&源= Web&Cd;
你可能想张贴一个案子
提交一个技术案例
CyPress网站
“支持”
“技术支持”
“创建一个MyCase'”
问候,Dana

以上来自于百度翻译


     以下为原文
  Not sure if you have seen this -
     
        
              http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CC8QFjAB&url=http%3A%2F%2Frahulparsani.files.wordpress.com%2F2011%2F03%2Fan59464.pdf&ei=5dSVUvPcK6a2sAT_4IDYAg&usg=AFQjCNGdE0QuvVeclttriMw0AoAnoavpjw&sig2=Yqq7wYK8x-RDGk3zC_WOJg&bvm=bv.57155469,d.cGU
     
    You may want to post a CASE
     
        
              
    To file a tech case -
     
    www.cypress.com
    “Support”
    “Technical Support”
    “Create a MyCase”
     
    Regards, Dana
举报

更多回帖

发帖
×
20
完善资料,
赚取积分