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: AM243x-LP

Part Number: AM2434


Tool/software:

Hi there,

about motor control sdk, and the sdks included in it, I see these two functions: 
EC_API_SLV_cbRegisterUserApplicationRun()
EC_API_SLV_cbRegisterUserApplicationMainLoop()

See: https://software-dl.ti.com/processor-industrial-sw/esd/ind_comms_sdk/am243x/09_02_00_24/docs/am243x/ethercat_slave/group___e_c___a_p_i___s_l_v___s_s_c_gac0d2d5da054bfd38ecdc08b4848f4302.html#gac0d2d5da054bfd38ecdc08b4848f4302.

What is the difference? 

Are the callbacks triggered by PDI interrupt, or sync0 signal or sync1 signal? 

Best regards,

Jinlong

  • Hello Jinlong,

    The API registered with EC_API_SLV_cbRegisterUserApplicationRun() is triggered by PDI interrupt and Sync 0 signal, which handles the process data as per the user application. The API registered with EC_API_SLV_cbRegisterUserApplicationMainLoop() is triggered by a loop task, EC_SLV_APP_SS_loopTask().

    Kind Regards,