Hi,how can I define the address of the PHY(STE100P)?what is the function of the PAD[4:0]?but there is not the PAD[4:0] pins,the MAC controler is STR912X.
The address is defined on the pins MF0..MF4 at reset. These are read into the PAD register. Eg. If you have an IAR evaluation board (STR912_SK) it is 0x17 If you have the REva_DAUGHTER board it is 0x15. Note: I haven't actually programmed these boards but I have prepared to do it. Therefore it is not 100% guarantied.Regards Mark Butcher www.uTasker.com
I have just started working with teh PHY and have also found that it responds to address 0x00. I have started a new thread about the subject. If I can find any more details I will follow up there. Regards Mark
Hi mjbcswitzerland.In the code of Ethernet Library,the function Ethernet_Init() define the address of PHY is 0x00.but the data which I read from PR20-XMC is 0xaa(PAD4:0 10101).when I think the address of the PHY is 0x00,I also can read ID of PHY(STE100P)and the ID is right.So what I wonder is that what is the address of PHY ,how to define ?In my evaluation board the Mf4:0 is 10111.I appreciate your help.