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.

DRV8301: Issue with Lab 12a Sensored Inertia Identification of InstaSpin Motion

Part Number: DRV8301


Hi Team,

Good day! I am posting this in behalf of the customer. I have shared here below the full details of their inquiry.

I am using DRV8301 Kit, in which i have completed InstaSpin Motion and FOC Lab procedure for

1. Lab2a Motor ID from ROM

2. Lab05c for InstaSpin Motion Inertia ID

3 Now i am stuck in Lab12a Procedure where in 

gMotorVars.Flag_enableSys value overrides to 0 even after changing it 1 '\0x01'

(gMotorVars.Flag_Run_Identify sets to 1 on changing it from 0 to 1 value but issue with gMotorVars.Flag_enableSys ) 

I have done all the prerequisites required for this lab, also checked user.h file declarations, checked Encode, A, B, I signal connections and Motor phases connections with the board.

Previously build Labs 2a and 5c worked perfectly fine,

I am doing this procedure as ultimately my application is same as Lab13a Tuning SpinTAC Position Control and it is mentioned there in prerequisites of this lab to follow Lab12a procedure,

Kindly suggest appropriated actions in this regards,

Jonathan

  • Hi Jonathon,

    I have forwarded your post to the C2000 team for further support with InstaSPIN-MOTION. 

    Thanks,
    Aaron

  • Hi Aaron, 

    Thank you for forwarding this concern. I will be waiting for the C2000 team for further support with InstaSPIN-MOTION. 

    Best regards,

    Jonathan

  • Since both lab02a and lab05c work well, the issue should be from the motor and encoder connection.

    For lab12a, it is important to ensure that the physical connections are done correctly. If the motor or

    encoder wires are connected in the wrong order, the lab will not function properly. Please refer to the information for your board in order to wire your encoder and motor correctly, make sure the the motor phases are connected
    to the right phase on the board, and the order of the encoder are correct. Also, need to set the correct USER_MOTOR_ENCODER_LINES for the ENC module that is the number of lines on the encoder.