Thanks for replying. Not sure what the real issue was, I was facing another issue (Unable to load the program to the microcontroller through st link after adding or deleting some lines of code.). Due to this issue I reinstalled the STM32 Cube IDE a...
Adding to the above question, another query : When I enable 2 channels and try to monitor 1 of them with the watchdog feature, the watchdog feature does not work.