Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi, there
I am running an example project from C2000Ware for my Launchpad LAUNCHXL-F28379D. The project is located at "C:\ti\C2000Ware_1_00_04_00_Software\device_support\f2837xd\examples\cpu1\adc_soc_epwm\cpu01"
Here's the problems I see:
1st. When I try to build the project, I got a lot of warnings, do you know why?
2nd. I went ahead to execute the project with the Launchpad. It stuck at the function " InitSysPll(XTAL_OSC, IMULT_20, FMULT_0, PLLCLK_BY_2);" located in "F2837xD_SysCtrl.c"
I stepped through it and found that it stuck in the following code:
while(sysclkInvalidFreq == true)
{
..........("setup cputimer1 and cputimer2 to verify the PLL)
sysclkInvalidFreq = ((sysclkToInClkError > 0.10) || (sysclkToInClkError < -0.10));
}
sysclkInvalidFreq is always true. It seems the cputimer1 and cputimer2 is never working right.
the cputimer1 and cputimer2 interrupt flag is always high even right after a line of code "CpuTimer2Regs.TCR.bit.TIF = 1;" is stepped through.
Why is that, is this problem something to do with the problem 1?
3rd. I tried to use a different source(int_OCS2) or bypass this PLL clock verify. Still not working, it never going to the ADC interrupt.

