Hi can someone help me in reading the switch registers of the KSZ8863 for debugging the phy using lpc MII mode.
I can only access the phy registers using the MII interface of the lpc1778.
kindly help me on this.
Hi rong,
I managed to communicate with the switch using bit bang.
But i am not able to get the counter registers value.
Always reading 0 for counters value.
Hi, Ankish,
I just downloaded the data sheet of the ethernet switch KSZ8863, and browsed the data sheet, it has SPI and I2C interface so that user can configure the KSZ8863. It appears that you can access the register of KSZ8863 via spi or I2C, the debugger can only show the peripheral register of LPC1778 itself, it can not show the register of KSZ8863, but I suppose that you can use spi/I2C modules to read/write the registers of KSZ8863 from/to on-chip memory of LPC1778, in this way, you can see the memory value.
Hope it can help you
BR
XiangJun Rong