Hi everybody,
This is my first topic in this forum. I have a problem about ms88e6390 marvell ethernet switch. I use stm32f407 for controlling the switch. MDC is running at 1.64MHz and when I look at MDIO and MDC signals on oscilloscope, there is no problem about them. It is running in multi chip addresing mode, because I have two marvells on same SMI lines. They have adresses as one and two with physical addressing and I have no problem about addressing and accessing method.
The problem is when I write and read back a value in any register, sometimes I cannot read same value from that register. I think that sometimes I can not write into SMI data register or register address value in SMI cmd register is changing after I wrote in. Because when I want to read any register value, it is sometimes getting value of another register. I approved this issue repeatedly. I am waiting busy bit to read/write again on both stm32 and marvell sides.
I will be appreciate if you can help with the problem.
Thank you very much,