Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE, TMS320F28379D
Tool/software: Code Composer Studio
HI,
Intro:
I am using TMS320F28377S microcontroller. I want to configure CPU Clock Source as PLL output. So, I am using TI's SysCtl_setClock() function which is readily available from TI in sysctl.c.
Issue:
Trying to service watchdog inside loop is causing Reset .
I want to Service watchdog inside while loop in SysCtl_setClock(), So i am uncommenting SysCtl_serviceWatchdog() line( which was commented by TI). But this is causing me Reset. Code works fine if that particular line is commented
When i execute it stops and shows following error.
More Detail:
Code implementation
main(){
1. Initialize non windowed watchdog (working fine as far as i know) - Enabled state
2. Calling SysCtl_setClock with parameters.
}
WatchDog Implementation:
I need to have watchdog enabled before initializing PLL. Please let me know what is causing the issue


