LPC1758 using RMII to connect switch chip

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

LPC1758 using RMII to connect switch chip

跳至解决方案
1,516 次查看
sonic_hsieh
Contributor I

Hello All,

I'm using LPC1758 to connect a four port switch (using RMII, mac to phy). I already configured EMAC module and can see frames are sent out from switch ports. It seems Tx in LPC1758 EMAC is working. But Rx is not working. I print the  two Rx registers: RxProduceIndex and RxConsumeIndex. Both of them are always zero. Is that any special config will cause Tx works but Rx not work.

Thanks.

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,361 次查看
sonic_hsieh
Contributor I

Hello,

 

I think problem is solved. I find RMII RX_DV is wrong connected to other pin.

Fixed it and RMII Tx/Rx are working normally now.

 

Thanks the support.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,362 次查看
sonic_hsieh
Contributor I

Hello,

 

I think problem is solved. I find RMII RX_DV is wrong connected to other pin.

Fixed it and RMII Tx/Rx are working normally now.

 

Thanks the support.

0 项奖励
回复
1,361 次查看
soledad
NXP Employee
NXP Employee

Hi,

This issue may refer to memory locations, please check the below thread:

LPC1788 Ethernet DMA interrupt problem 


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复