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.

AM2434: How to check the measurement result of AM243x MCU+ SDK's Motor Control Benchmark Demo

Part Number: AM2434

Dear Sir

I have timed the FOC with the AM243x MCU+ SDK's Motor Control Benchmark Demo.

In this demo program, FOC benchmark is executed on R5F's Core3, but I didn't know how to compare this measurement result with the contents and results of the following materials.

How should I read the following material to determine the measurement results of the demo program?

https://www.ti.com/lit/an/sprad03/sprad03.pdf?ts=1664126821069&ref_url=https%253A%252F%252Fwww.google.com%252F

Best regards

  • Hi

    In the Demo, you have 5 build level settings as:

    /* Following is the list of the Build Level choices */
    #define  OPEN_LOOP_IQ_ID        1           /* Open loop Iq, Id */
    #define  CLOSED_LOOP_IQ_ID      2           /* Closed loop Iq with reference array, Id closed loop to 0.0 */
    #define  CLOSED_LOOP_SPEED      3           /* Closed loop Speed */
    #define  CLOSED_LOOP_POSITION   4           /* Closed loop Position */
    #define  CLOSED_LOOP_CIA402     5           /* Closed loop Iq, Speed, or Position based on EtherCAT CiA402 */

    From the user guide, different build levels can be chosen with their respective settings:

    The GPIO - SDDF_DEBUG_PIN is set High at the beginning of the ISR and set low at the exit of the ISR. This GPIO pin is connected to Logic Analyzer and the Pulse Width computes to ISR execution time. Placing the GPIO high and low codes and respective blocks gives their execution time.

    I see in the demo that the benchmark - FOC/EnDat code is implemented in R50_0 core. R50_1 contains Inter Process Communication (IpcNotify) related example. Please do correct me if I am wrong.

    Regards

    Sri Vidya