Part Number: TMS320F28379D
Tool/software: Code Composer Studio
I am working with watchdog RESET I am able to enable it but I am not able to set the prescaler.
It is giving me 14ms time period(checked using oscilloscope) with any prescaler selected on RESET pin(Pin-16 on launchpad).
This is my currenet code for watchdog
setWatchdogMode(SYSCTL_WD_MODE_RESET);
setWatchdogPrescaler(SYSCTL_WD_PRESCALE_16);
serviceWatchdog();
enableWatchdog();
But when i use example from driverlib folder (Example name): watchdog_ex1_service
I am able set any prescaler I wish to yet it using the same code for enabling watchdog.
I have changed the mode from interrupt to reset in example and also tried all prescaler(ALL PRESCALER WORKING IN EXAMPLE.).
PLEASE EXPLAIN THIS TO ME AND SUGGEST ME SOME GOOD SOLUTION FOR THIS.