erxun 发表于 2013-7-23 13:50:28

LPC1788 以太网,慎用MII接口,丢包哇~~MII换成RMII即可~~

M3内核的片子,LPC1788支持SDRAM,随意原来STM32F的板子,换成LPC1788。以太网接口没有修改的就用上了,MII接口。

现在板子调试了,老是丢数据,经查找,是接收的数据经常有异常,怀疑是PHY问题,折腾一天,

其实在LPC1788的勘误手册已经提到了,


Problem:
In MII mode, the transmit data TXD3:0 and transmit enable TX_EN should reference the
TX_CLK from the Ethernet PHY. However, due to a configuration error in the chip, the
transmit data TXD3:0 and transmit enable TX_EN reference RX_CLK in data
transmission. The consequence of this error isthat a small percentage of packets cannot
be received by the PHY.
Work-around:
This will be fixed with the next silicon release.
Note: There is no issue in RMII mode operation.

哎,怎么当时没看勘误手册呢,
还有,LPC1788芯片都出来好几年了,怎么还是有这个问题呢。硅片不改了?

xiangxiadage 发表于 2013-7-23 14:03:27

谢谢分享!
左手Datasheet,右手Errata,这样才保险啊

Excellence 发表于 2013-7-23 14:27:29

勘误手册必须看啊,上次也被折腾了很久。

ST_ATMEL_NXP 发表于 2013-7-23 14:36:37

勘误手册还需要实时更新的。呵呵

prince2010 发表于 2013-12-27 10:50:40

datashit{:lol:}

lcyc51 发表于 2014-1-9 22:18:54

感谢楼主分享啊。。。
页: [1]
查看完整版本: LPC1788 以太网,慎用MII接口,丢包哇~~MII换成RMII即可~~