Hey there,
It sounds like the xEventGroupSetBits(dataStoreEvent, SleepSendDataFlag); line is triggering the watchdog issue in your project. Here are a few steps you can take to troubleshoot and resolve this issue:
Check Timing: Ensure this line isn’t causing long delays.
Task Priorities: Make sure the task setting the event and the task waiting on it have appropriate priorities.
Event Handling: Verify there are no deadlocks or frequent context switches involving the event group.
Watchdog Timer: Check the watchdog timer settings to ensure they are suitable for your tasks’ execution times.
Code Review: Look for any other related changes that might be affecting the watchdog.
Checking these areas, you should be able to pinpoint and resolve the issue.