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.
Hi,
We have a problem when we upgrade the version mcu_plus_sdk_am243x_08_05_00_24 to mcu_plus_sdk_am243x_08_06_00_43.
The demo directory:\ti\mcu_plus_sdk_am243x_08_06_00_43\examples\industrial_comms\ethercat_slave_demo\simple\am243x-lp.
In the above demo,If we use RxPDO or TxPD alone, run the program ,an error will be reported:Slave Init Error Code: 0x3801000d.
The error in the source code:
error = (EC_API_EError_t)EC_API_SLV_init(pAppInstance_p->ptEcSlvApi);
if (error != EC_API_eERR_NONE)
{
OSAL_printf("Slave Init Error Code: 0x%08x\r\n", error);
goto Exit;
}
Both RxPDO and TxPDO can be used.
But in the SDK version:mcu_plus_sdk_am243x_08_05_00_24,we use RxPDO or TxPD alone,it's OK,no error.
Why is there this difference? How can we avoid it.
BR
Thanks Jie, For sharing the solution for future audience facing this issue.. WIll be closing the thread.