在按钮ISR中使用CyPrS语法没有帮助
我注意到的3件事:
1。不管我让程序运行多长时间,当我暂停它时,它就停在同一个地方。(下图)
2。该设备在CyScript中可见,RSSI值变化,表明至少BLE堆栈正在运行。
但是,没有到达我的断点,主循环和WDT ISR计数器没有增加。
三。WDT ISR点火4次,然后停止。有时它根本不着火,有时火灾2-3次。它应该每800毫秒发射一次
我不明白。这个问题很奇怪地让我想起了我在ISR中的一个外部问题。ISR也在零星地发射。我放弃了一种WDT的方法,它工作得很好,直到我启用低功耗模式。
不知道这些问题是否相关,只是指出它。
以上来自于百度翻译
以下为原文
Using the Cypres syntax in the button ISR did not help
3 things I'm noticing:
1. No matter how long I let the program run it stops at the same place when I pause it.(image below)
2. The device is visible in CySmart and the RSSI values change which indicates that at least the BLE stack is running
However none of my breakpoints are reached and the main loop and the WDT ISR counters do not increment
3. The WDT ISR did fire 4 times and then stopped. Sometimes it does not fire at all, sometimes fires 2-3 times. It should fire every 800 ms
and I don't see that. The issue is strangely reminiscent of the problem I had with ISR from an external part. There too the ISR was firing sporadically. I abandoned that method in favor of a WDT which worked great until I enabled low power mode.
Don't know if these issues are related,just pointing it out.

在按钮ISR中使用CyPrS语法没有帮助
我注意到的3件事:
1。不管我让程序运行多长时间,当我暂停它时,它就停在同一个地方。(下图)
2。该设备在CyScript中可见,RSSI值变化,表明至少BLE堆栈正在运行。
但是,没有到达我的断点,主循环和WDT ISR计数器没有增加。
三。WDT ISR点火4次,然后停止。有时它根本不着火,有时火灾2-3次。它应该每800毫秒发射一次
我不明白。这个问题很奇怪地让我想起了我在ISR中的一个外部问题。ISR也在零星地发射。我放弃了一种WDT的方法,它工作得很好,直到我启用低功耗模式。
不知道这些问题是否相关,只是指出它。
以上来自于百度翻译
以下为原文
Using the Cypres syntax in the button ISR did not help
3 things I'm noticing:
1. No matter how long I let the program run it stops at the same place when I pause it.(image below)
2. The device is visible in CySmart and the RSSI values change which indicates that at least the BLE stack is running
However none of my breakpoints are reached and the main loop and the WDT ISR counters do not increment
3. The WDT ISR did fire 4 times and then stopped. Sometimes it does not fire at all, sometimes fires 2-3 times. It should fire every 800 ms
and I don't see that. The issue is strangely reminiscent of the problem I had with ISR from an external part. There too the ISR was firing sporadically. I abandoned that method in favor of a WDT which worked great until I enabled low power mode.
Don't know if these issues are related,just pointing it out.

举报