Hi guys, I have some task's to access an peripheral and because this, TSK WDT has 30sec to reboot (I using binary semaphore to synchronize all)... However, some another task's don's access peripheral and need to be have an TSK WDT more frequently.
Can I create 2 separate task watchdog? I need one with large delay (30sec) and another with <2sec. How to avoid this problem?
Two Task Watchdog
Re: Two Task Watchdog
The current Task WDT API will not support that. You could disable the current task watchdogs and re-implement a custom task watchdog by using the same MWDT as the task watchdog (MWDT of Timer Group 0). However I think it's generally bad practice to have any task run for too long without yielding. Would it be possible for you to program your task so that it will periodically block?
Who is online
Users browsing this forum: ivoras and 80 guests