Other Parts Discussed in Thread: DP83640, , HALCOGEN
Tool/software:
Hello,
for a custom project I am trying to interface a DP83848 with TMS570LS1227. I chose the DP83848 instead of the DP83640 since it is AEC-Q100 certified.
I never worked before with Ethernet on this chip/mcu and I am trying to find a starting example.
So far, I found the lwip examples on the Texas Instruments git, but it seems it is not working, since I am not able to read the Phy registers such as ID (I am basically stuck inside EMACHWInit.
Some more details about my config:
- I am using RMII mode, COL and RXD2:3 are left floating (but as far as I know they have internal pullups/downs)
- I have a 50MHz oscillator as per Application note describing RMII config with this chip.
- RMII mode enabled in HALCogen, by disabling "Enable MII" under EMAC Tab
Can someone provide me some more infos about the following points?
- should the COL and RXD2:3 pins be fitted with pull ups/downs to be sure a defined PHY address is detected at startup? As a reference, I have configured at startup RXD0:1 pins to be TTL "1" and then I also proceed in pulling TTL"0" on Ethernet reset pin to provide consistency in the bootstrap of the connected pins
- should I change something in the DP83640 c/h file to make it working with DP83848? As I understand basic registers are equal
- IS there any basic example about phy communication with the TMS?
- do you have any specific advice on what to check or understanding why the example is not working ?