Part Number: LP-AM261
Other Parts Discussed in Thread: DP83826E
Tool/software:
Hi,
I am currently working with LP AM261x using the SDK version ind_comms_sdk_am261x_10_02_00_17, specifically the EtherCAT SubDevice Beckhoff SSC Demo example. I have encountered an issue when trying to run the example with only one Ethernet Add-on Board connected.
Setup details:
PHY: Ethernet Add-on connected only at ETHERNET CONNECTOR 0
ETHERNET CONNECTOR 1: left empty (no PHY)
syscfg configuration snippet:
const ethercat = scripting.addModule("/industrial_comms/ethercat/ethercat", {}, false);
const ethercat1 = ethercat.addInstance();
ethercat1.name = "CONFIG_ETHERCAT0";
ethercat1.ethphy[0].$name = "CONFIG_ETHPHY0";
ethercat1.ethphy[0].name = "DP83826E";
ethercat1.ethphy[0].mdioPort = 1;
ethercat1.ethphy[1].$name = "CONFIG_ETHPHY1";
ethercat1.ethphy[1].mdioPort = 3;
ethercat1.ethphy[1].name = "NONE";
EtherCAT master: Beckhoff CTT tool connected to PORT0
Problem:
When both PHYs are mounted (on ETHERNET CONNECTOR 0 and 1), the EtherCAT Subdevice example works perfectly.
However, when the PHY on ETHERNET CONNECTOR 1 is removed, the EtherCAT master cannot detect the subdevice.
Has anyone experienced a similar issue or can provide advice on how to configure the example or syscfg properly to support operation with only one PHY connected? Is it necessary to modify the example or SDK settings to disable or remove the second Ethernet interface completely? Or is there a hardware or driver dependency that requires both PHYs to be present?