When calling HRCAP_Cal from inside the HRCAP example, I get this this error:
Can't find a source file at "C:\TI\controlSUITE\libs\utilities\hrcap_hccal\type0\v100\source\Debug/../HCCal_Type0.c"
"HCCal_Type0_V1.h" is included and everything compiles and runs correctly, until it hangs here.
while (status!=2) // While calibration is incomplete { status = HRCAP_Cal(1,HCCAPCLK_PLLCLK, &EPwm8Regs); if (status == HCCAL_ERROR) { ESTOP0; // If there is an error on HRCAP, stop and check 98 MHz < PLL2CLK < 120 MHz . } }
I can't find any reference to HCCal_Type0.c, so I have no idea why the compiler is looking for that file.
Any ideas?
Thanks,
Aron