The typical sequence for to feed the watchdog onto one LPC1768 is the follow:
LPC_WDT->WDFEED = 0xAA; LPC_WDT->WDFEED = 0x55;
My question: is It recommended to wrap the upper two lines inside a
section, when you enable the watchdog into a FreeRTOS environment?
I got very rare watchdog events and I start to believe that they could be caused because one task switch happens between the two rows above.
Thanks in advance.