Hello @Atkinson ,
Thank you for your report. Based on your description, it seems there is a misunderstanding regarding the meaning of PHY Role = Automatic in the context of the SJA1110 Automotive Ethernet switch.
In automotive applications, auto-negotiation is typically not used, because the roles (MASTER/SLAVE) are predefined and fixed during system design. Therefore, the "Automatic" setting does not imply dynamic negotiation. Instead, it means the PHY will follow the default configuration, which is usually determined by pin strapping.
Here is the definition of phy_role_t from the SJA1110 SDK 1.0.2 :
typedef enum
{
PHY_ROLE_AUTO = 2, /**< Automatic configuration, i.e. use the default of the device. Could be pin strapping or auto-negotiation of master/slave parameter. */
PHY_ROLE_MASTER = 1, /**< Master */
PHY_ROLE_SLAVE = 0 /**< Slave */
} phy_role_t;
To verify the current role of the PHY, please read the B100T1_PMA_CONTROL register, specifically bit 14, which indicates the MASTER/SLAVE status. Refer to UM11107 (Software user manual for SJA1110) for detailed register descriptions.
Please note: The MASTER/SLAVE setting is only relevant during the initial PHY link negotiation. After the link is established, both PHYs behave as equal peers, including support for features like TC10 sleep/wake signaling.
Best regards,
Pavel