accessing ksz8863 switch registers for debugging

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

accessing ksz8863 switch registers for debugging

1,450件の閲覧回数
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 返答(返信)

1,307件の閲覧回数
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 件の賞賛
返信

1,307件の閲覧回数
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 件の賞賛
返信