This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-AM243: LP-AM243

Part Number: LP-AM243
Other Parts Discussed in Thread: BP-AM2BLDCSERVO

Tool/software:

Hi,

I have BP-AM2BLDCSERVO and AM243x LaunchPad.  I modified the code "C:\ti\motor_control_sdk_am243x_09_02_00_09\examples\tidep_01032_dual_motor_drive\single_chip_servo\am243x-lp\r5fss0-1_nortos", instead of endat encoder I use Biss-C encoder. I use a different  servo motor ( 4 pole pairs) and it works. My questions are related to the "pruEncoderIrqHandler".  The cycle time of this routine is related to "Value of SD clock", isn't it?

/* Test Sdfm parameters */
SdfmPrms gTestSdfmPrms = {
300000000, /*Value of IEP clock*/
20000000, /*Value of SD clock (It should be exact equal to sd clock value)*/

...

....}

Is there a sycronisation between  "pruEncoderIrqHandler" routine and PWM cycle time? If yes, can you explain it?

Regards,

Vedat