Other Parts Discussed in Thread: DP83869
Tool/software:
Hi team,
Customer understands that if 1000BASE-T mode is selected, PHYs can select Master and Slave via auto-negotiatin. And they also understand that the selection of Master and Slave can be set on manual using registers below.
GEN_CFG1 register
bit12: MASTER_SLAVE_MAN_CFG_EN
bit11: MASTER_SLAVE_MAN_CFG_VAL
So if they select Master and Slave on manual, they think they need to set bit12 and bit11. However, lookign at the driver in bleow link, only bit11 is set. Could you tell the reason why the driver set only bit11?
https://github.com/TexasInstruments/ti-ethernet-software/blob/main/linux_drivers/dp83869.c#L92
the below is the portion of the driver they mention.
/* CFG1 bits */#define DP83869_CFG1_DEFAULT (ADVERTISE_1000HALF | \ ADVERTISE_1000FULL | \ CTL1000_AS_MASTER) ★#define CTL1000_AS_MASTER 0x0800 (this means that this driver sets only bit11: MASTER_SLAVE_MAN_CFG_VAL)
Regards,
Noriyuki Takahshi