Hi all,
As a bit on an aside, would anyone know the thinking, behind the following difference, with the XMC4800 Relax board? Does some convention, apply? I couldn't find anything concrete. We've followed suit, for our project board.
For the Ethernet port, the green LED is PHY pin driven, and the yellow LED is XMC pin driven, ie software control. But for the EtherCAT In and Out ports, the opposite is true. Details, below.
- With the Ethernet port, the green LED is driven by the Micrel KSZ8081RNA PHY LED0 output (default on for link, blink for activity, otherwise off).The PHY LED1 output (default 10/100 speed indication), is not-connected. The yellow LED is driven by XMC pin 2.10. The DAVE example project for Modbus TCP, doesn't drive the pin. For our project, I've added toggle after each packet send, LED off on comms timeout.
- With the EtherCAT In and Out port (lets call them EI and EO, respectively), the yellow LED is driven by the Broadcom BCM5241XA1KMLG PHY LED1 output, seemingly on for link activity, otherwise off. (The LED state goes also to XMC pins 6.3 for EI, 3.12 for EO, for EtherCAT Slave Code (ESC) monitoring use). The PHY LED2 output goes to 3V3 via 2K2. The green LED is driven by XMC pin 1.15 for EI, 3.4 for EO. The ESC blinks, for activity. The XMC4300 Relax board is the same, except latter pins 1.12 and 0.11.
Best regards,
David