accessing ksz8863 switch registers for debugging

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

accessing ksz8863 switch registers for debugging

934 次查看
ankish_kacktwan
Contributor I

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.

标签 (1)
0 项奖励
回复
2 回复数

791 次查看
ankish_kacktwan
Contributor I

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.

0 项奖励
回复

791 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复