完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我在CY8CKIT-042-BLE先锋套件上进行了电流消耗测量。测量主要集中在广告的BLE,广告在所有三个可能的渠道。在执行电流测量时,我做了一个奇怪的观察,我对此没有任何解释。也许这里有人可以帮助我: 在“广告包”不变的情况下留下数据字节,改变“扫描响应包”数据(因此不同的字节数)在电流和功耗方面表现出巨大的差异。首先,我认为这是因为另一个BLE设备正在扫描。但事实并非如此。没有观察到的扫描响应。仔细观察广告事件表明,频道间延迟的持续时间存在差异。因此,例如,当选择31字节的扫描响应包时,信道间延迟需要更长时间,如选择3字节的扫描响应包。然而,从来没有发送扫描响应。根据AN92584[ 1 ],第37页,信道间延迟应该固定在1.25MS,这在我的情况下绝对不是真的。然而,根据蓝牙标准4.2,这种信道间延迟必须小于10ms,因此当然,功能不受限制。 有人能告诉我为什么频道间的延迟是可变的吗?它背后的原因是什么? 托拜厄斯,最好的问候和感谢 [1 ] HTTP://wwwyCysP.COM/FIL/14091/1下载 以上来自于百度翻译 以下为原文 Hello, I performed current consumption measurements on the CY8CKIT-042-BLE Pioneer Kit. The measurements were mostly focused on the advertising of BLE, advertising on all three possible channels. While performing the current measurements I made a strange observation where I have no explanation for. Maybe someone here can help me: Leaving the bytes of data under "Advertisement packet" constant and changing the "Scan response packet" data (so different number of bytes) showed a huge difference in current and therefore in power consumption. First I thought this would be because of another BLE device which is scanning. But this was not the case. There were no scan responses observable. Taking a closer look to the advertising event showed that there was a difference in the duration of the Inter-Channel-Delay. So, e.g., when choosing a scan response packet of 31 Bytes, the Inter-Channel-Delay took longer as when choosing a scan response packet of 3 Bytes. Nevertheless, the scan response was NEVER sent. According to AN92584 [1], page 37 the Inter-Channel-Delay should be fixed at 1.25ms, which is in my case definitely not true. Nevertheless, according to the Bluetooth Standard 4.2 this Inter-Channel-Delay has to be shorter than 10ms, therefore of course the functionality is not restricted. Could someone explain to me why the Inter-Channel-Delay is variable? What is the reason behind it? Best regards and many thanks in advance, Tobias [1] http://www.cypress.com/file/140991/download |
|
相关推荐
5个回答
|
|
你知道你看到的频道间延迟范围的测量结果吗?(你能在这儿张贴吗?)
否则,这听起来像一个用柏树无线电代码处理柏树的错误。 以上来自于百度翻译 以下为原文 Do you know the measurements of the inter-channel-delay range you were seeing? (can you post them here?) Otherwise, that sounds like a bug with the BLE radio code for cypress to handle |
|
|
|
谢谢你的回答! 第一个图显示了具有30字节有效载荷数据和0字节的广告响应事件的广告事件的功耗。在所有三个频道的广告的整个持续时间大约为5.5毫秒。 第二个图显示了具有相同设置的广告事件的功耗,除了扫描响应分组:选择了31个字节的有效载荷。 肉眼可见,两个通道间延迟较长,导致总持续时间约为6.6毫秒。 对于这个测量,来自CyPress 100的代码在100天内进行项目,第27天使用BuryPosil测量[1 ]。如前一篇文章中所提到的,我正在改变的是在“空白设置”、“外围角色”和“扫描响应包”下的扫描响应的有效载荷量。 最好的问候! 〔1〕HTTPS://GITHUBCOM/CyPress半导体ToC/COPS-4-BLU/TRAE/MIST/100A项目,在100100天/Day027 以上来自于百度翻译 以下为原文 Thanks for your answer! The first plot shows the power consumption of an advertising event with 30 Bytes of payload data and 0 Bytes for the scan response packet. The whole duration of the advertising on all three channels is about 5.5 ms. The second plot shows the power consumption of an advertising event with the same settings, except for the scan response packet: There 31 Bytes of payload were chosen. Visible to the naked eye, the two Inter-Channel-Delays are longer, resulting in a total duration of about 6.6 ms. For this measurement the code from Cypress 100 Projects in 100 Days, Day 27 BLE_Power_Measurement was used[1]. As mentioned in the previous post, all I am changing is the amount of payload for the scan response under tab "Gap Settings", Peripheral role -> Scan response packet. Best regards! [1] https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day027_BLE_Power_Measurement |
|
|
|
假设项目中的所有组件都已更新到最新版本(BLE看起来像V5.5是最新版本)?; 潜在的这种延迟可能是由于省电模式的怪异,扫描响应数据的缓冲区溢出,或者正在处理的/正在运行的中断。 不过,我认为我同意您最初的评估,CyPress库很可能有一个错误导致这个延迟随扫描响应数据波动。 以上来自于百度翻译 以下为原文 Assuming you have all of your components in the project updated to the latest versions (BLE looked like v5.5 was latest?); Potentially this delay could be caused by something weird with power saving mode, buffer overflow of the scan response data, or interrupts being handled/functions being run. However, I think I agree with your initial assessment that the cypress library most likely has a bug causing this delay to fluctuate with scan response data. |
|
|
|
非常感谢你的帮助!最新版本应该是V3.30A(根据CyPress的网站),是的,我正在使用这个版本。 有没有可能从一个柏柏尔人那里得到答案? 以上来自于百度翻译 以下为原文 Thanks a lot for your help! The latest version should be v3.30a (according to Cypress' website) and yes I am using this version. Is there any possibility to get an answer from one of the Cypress guys? |
|
|
|
对不起,你是对的,版本是BLE组件的3.30(我读错了) 潜在的,你可以打开他们的案件,以获得与塞浦路斯FAES的直接沟通,确定问题的原因。 以上来自于百度翻译 以下为原文 Sorry, you're right; the version is 3.30 for the BLE component (I misread that pretty bad ) Potentially, you could open a case with them to get some direct communication with the Cypress FAEs on determining the cause of the issue. |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2075 浏览 1 评论
1829 浏览 1 评论
3645 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1766 浏览 6 评论
1517 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
516浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
370浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
413浏览 2评论
360浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
868浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-29 03:18 , Processed in 0.976311 second(s), Total 85, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号