Forum Discussion
Hi
You could find the registers for the values in the datasheet below:
https://my.mouser.com/datasheet/2/609/ADIN1200-3121141.pdf
After going through the datasheet it seems like the registers are not in the standard format below:
* Table below show the format of the return value required by TSE driver PHY detection
* ----------------------------------------------------------------------------------
* | BIT | Value: Description |
* ----------------------------------------------------------------------------------
* | 31-17 | Reserved |
* | 16 | 1: Error:Invalid speed read from PHY |
* | 15- 4 | Reserved |
* | 3 | 1: 10 Mbps link |
* | 2 | 1: 100 Mbps link |
* | 1 | 1: 1000 Mbps link |
* | 0 | 1: Full Duplex 0: Half Duplex |
* ----------------------------------------------------------------------------------
You are required to create your own function to return the speed and and duplex mode.
You can see how it is for the National DP83848C PHY.
The OUI, model and rev from the ADN1200 datasheet is 0x0283, 0x2 and 0x1