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芯片都出来好几年了,怎么还是有这个问题呢。硅片不改了? 谢谢分享!
左手Datasheet,右手Errata,这样才保险啊 勘误手册必须看啊,上次也被折腾了很久。 勘误手册还需要实时更新的。呵呵 datashit{:lol:} 感谢楼主分享啊。。。
页:
[1]