Hi,
I am trying to understand the FCL library flow (MotorControl SDK v3.00.01.00) using the dual_axis_servo_drive_fcl_qep_f28004x project. Specifically, the timing between the eQEP, CLA, PWM, and ADC peripherals. There is a comment in the CLA 1 Task that I can't seem to validate.
//
// QEP UTO and ADCSOC are carefully pre aligned
// QEP POSLAT = QEP POSCNT at QEP UTO event that is in sync with ADCSOC
// Therefore, read mech angle from QEP POSLAT
//
Based on my grokking, I agree that the UTO event is running at the same frequency as the ADCSOC. But I can't find where UTO is synchronized any more than running at the same frequency. The optimal situation would be that the UTO latches the positions right before the CLA task tries to use it.
But I can't seem to find where that "careful pre alignment" occurs. Can anyone point me in the right direction?
Thanks,
-Colin