完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我们放弃了尝试使用MIWI栈一段时间前,现在正在使用我们自己的。数据传输/接收错误处理明显改善,但现在至少有一个左边有一个潜在的硬件问题的签名。首先是硬件;我们使用MX32加上MRF24J40MD。接收模式默认是正常的,用CRC校验。在没有其他活动的情况下,事情看起来很好,但是当有其他交通工具时,问题就出现了。大部分时间,这是超过100K包,传输处理正确。是的,我们遇到媒体繁忙,并重新传输。没问题。这是所有的期望。每一次难得的机会,一个包收到的B1(位15-8)的帧格式描述符有一个或多个位损坏。注意,我们使用短地址和泛ID执行。发送缓冲区包含正确的数据,除了B1以外,所有接收到的数据都是正确的。奇怪的是,总的数据包长度总是正确的,即使帧格式被损坏来指示长的源/目的地地址。一旦信道上的其他流量被删除/不存在,事情就再好了。我在这个论坛搜索了类似的东西,但一无所获……将戳到TH。E问题多一点,但最终可能不得不写一个SW检查收到的包。可能添加我们自己的CRC和下降传入包错配…干杯!
以上来自于百度翻译 以下为原文 Hi, We gave up on trying to use the MiWi stack some time ago, and are now using our own. Data transmission/reception error handling has improved markedly, but there now appears to be at least one left which has the signature of a potential hardware problem. First the hardware; we use an MX32 uP with MRF24J40MD. The reception mode is left at default, which is Normal and with CRC check enforced. Without other activity on the chosen channel, things appear to work fine, but problems come around when there's other traffic. Most of the time, that is more than 100k packages, transmissions are handled correctly. Yes, we encounter media busy, and re-transmits. No problem there. That's all expected. Every once in a rare chance, a packet is received with B1 (bits 15-8) of the FrameFormat descriptor having one or more bits corrupted. Note; we use short addresses and PAN ID is enforced. The transmit buffer contains the correct data, and all received data appears to be correct except for B1. Oddly enough, the total packet length is always correct, even if the FrameFormat was corrupted to indicate a long source/destination address. Once other traffic on the channel is removed/absent, things work fine again. I searched this forum for something like this, but found nothing... Will poke at the problem a bit more, but will probably end up having to write a SW check on received packages. Possibly adding our own CRC and drop incoming packages on mismatch... Cheers! |
|
相关推荐
3个回答
|
|
看看这个帖子和我们的回复:http://www. McCys.com /论坛/ M9777..ASPX,99812.我们发现,我们需要在应用程序级周围的数据有效载荷周围添加我们自己的CRC,因为位错误仍然潜行。
以上来自于百度翻译 以下为原文 Take a look at this post and our replies: http://www.microchip.com/forums/m974777.aspx#974812 We have found that we need to add our own CRC around the data payload at the application level, because bit errors still sneak through. |
|
|
|
嗨,Wow,谢谢你,这一直证实了我的发现。我建议,并将实施CRC检查,为整个包,头和数据有效载荷。
以上来自于百度翻译 以下为原文 Hi, Wow, thank you, this consistently corroborates my findings. I'd recommend, and will implement, a CRC check for the entire packet, header and data payload. Thx again. |
|
|
|
在同一个问题上,我们用Microchip打开了12个月的支持票。12个月后,Microchip关闭了这张票,没有一个单独的建议。
以上来自于百度翻译 以下为原文 We had a support ticket open with Microchip for 12 months on this same issues. After 12 months Microchip closed the ticket, with not one single usfull suggestion. |
|
|
|
只有小组成员才能发言,加入小组>>
5159 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2224 浏览 5 评论
726浏览 1评论
612浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
501浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
625浏览 0评论
524浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-20 21:16 , Processed in 1.261971 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号