Other Parts Discussed in Thread: CC2640R2F
SDK: simplelink_cc13xx_cc26xx_sdk_6_10_00_29
想要把watchdog整合到simple_peripheral和simple_central 中
請問有示範的例子可以參考嗎? (已經參考過單獨的watchdog範例)
目前初步想法是:
在main()中再產生另一個task, 裡面是用來Watchdog_clear的定時clock
並且將此clock task的priority設定成1, 再將simple_peripheral task的priority設定成2
請問M3是否會定時被watchdog喚醒, 而失去了在沒有BLE傳輸下進入power saving的好處?
如果是如此, 應該如何加入,才能確保watchdog只有在BLE傳輸的時間才會工作?
是在simple_peripheral task的for loop中間, event之前嗎? 煩請指點, 謝謝
// Application main loop
for (;;)
{
Watchdog_clear();
uint32_t events;
events = Event_pend(syncEvent, Event_Id_NONE, SP_ALL_EVENTS,
ICALL_TIMEOUT_FOREVER);