完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
你好,
我目前正在使用CyBLY-222014-01模块。我正在使用内部RTC。我想让系统处于休眠状态,但是系统是 不是在睡眠模式下,因为RTC更新,我使用系统计时器API来更新RTC。 CySysTyStk(); /*CONFIG SytiG定时器每隔100MS**产生中断 CySysTickSetReload(SyStkyReLoad); *查找未使用的回调槽*/ 对于(LoopyCale= 0U;LoopyStigal& lt;CythySysSythOnthoFo.Eclipse;++Loopl计数) { 如果(CySysTickGetCallback(圈数)=空) {/*设置回调*/ CySysTickSetCallback(SysTickIsrHandler罗圈伯爵); 断裂; } } 因此,由于我的BLE不是在睡眠模式,它总是在ON状态,只有当我禁用系统蜱然后睡眠工作,但RTC不更新 我想自动更新RTC和睡眠模式也使能。 请提出解决问题的建议。 感谢阿达文斯 以上来自于百度翻译 以下为原文 Hi, i am working currently with cyble-222014-01 module.i am using the internal RTC. I wanted to put the system in sleep mode .but the system is not in sleep mode because for rtc updation i am using the system timer API's to update the RTC CySysTickStart(); /*config Systick Timer to Generate interrupt every 100ms*/ CySysTickSetReload(SYSTICK_RELOAD); /*Find unused Callback Slot*/ for (loop_count = 0u; loop_count if (CySysTickGetCallback(loop_count) == NULL) { /*Set Callback */ CySysTickSetCallback(loop_count,SysTickIsrHandler); break; } } so,due to this my ble is not in sleep mode ,it is always in on state only if i disable the system tick then the sleep working but the RTC is not updating i want Auto update of RTC and sleep mode also enable. Please give suggestions to resolve the issue. Thanks in adavance |
|
相关推荐
4个回答
|
|
|
如何在不调用RTCIUpdate()API的情况下进行BLE RTC自动更新。
以上来自于百度翻译 以下为原文 how to make ble RTC auto update without calling the RTC_Update() API. |
|
|
|
|
|
改变RTC更新API被称为/从一个中断请求发起,然后设置中断定时器运行在睡觉。该装置将进入睡眠,通过定时器,唤醒中断,更新RTC,然后可以回去睡觉,如果需要。
PSoC Creator应该可以使用如果你创建和定时器或示例项目中断定时器的例子很多。 以上来自于百度翻译 以下为原文 Change the RTC update API to be called/initiated from an interrupt request, then set the interrupt to a timer that runs while sleeping. The device will then go to sleep, get interrupted by the timer, wakeup, update the RTC, and then can go back to sleep if needed. The PSoC Creator should have plenty of timer examples you can use if you create and example project for a timer or interrupts. |
|
|
|
|
|
我认为组件的数据表定义了您必须调用更新函数来更新时间。 以上来自于百度翻译 以下为原文 I think the component's datasheet defines that you have to call the update function to update the time |
|
|
|
|
|
这里是睡眠图,这样你就可以看到你选择了睡眠模式的设备。
以上来自于百度翻译 以下为原文 Here is the sleep chart so you can see what devices are on in which sleep mode you selected. |
|
|
|
|
只有小组成员才能发言,加入小组>>
786个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7088 浏览 0 评论
2477 浏览 1 评论
2166 浏览 1 评论
4031 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2074 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7568浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6114浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
742浏览 2评论
710浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
7963浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 16:54 , Processed in 0.928970 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
975