Other Parts Discussed in Thread: CONTROLSUITE
Hi C2K Champs,
I'm working through the 2010-TIC2000-MotorControl-Workshop-Labsv1.0 Lab found in <install directory>controlSUITE\development_kits\LVMultiAxis+PfcKit_v1.4\~Docs and in Lab 1 after setting the BUILDLEVEL LEVEL1 and programming nothing happens.
Stepping through the code reveals that it is getting trapped in "void ISR_ILLEGAL(void) // Illegal operation TRAP" when it gets to // Initialize ADC module ADC_MACRO_INIT() Macro.
Commenting out this macro enables motor one to beginning spinning.
Also note, that the instruction to change EnableFlag has no effect if you do not uncomment the following on line 195 of 2xPM_Sensorless.c