Part Number: TMS320LF2407A
Dear TI Team:
I written the watchdog software function, when I stopped feeding the dog for software testing, I found that the DSP chip stopped working, But there is no reboot. Can you help me find out the reason for the problem?
And do you have any examples of watchdog programming?
Below is my program:
Reset Watchdog:
ldp #0E0h
splk #00A9h,WDCR ;Overflow TIME=3.28ms 10(101)(001 3.28ms) enable watchdog,clear WDFLAG
KICK_DOG ;Reset Watchdog
Test:
check_dog ldp #F>>7
lacl F
sub #2560
bcnd no_dog,gt
KICK_DOG
no_dog
lacl F
sub #2560
bcnd no_dog,gt
KICK_DOG
no_dog
Regards,
K.K