Problem to change transceiver (LAN8710A)

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

Problem to change transceiver (LAN8710A)

跳至解决方案
3,185 次查看
edgarsevilla
Contributor II

Hi,

I have a project with ethernet aplications running in a Tower System, and works perfectly.

I'm trying to move this sfotware to a custom board (Kinetis K60X256 with LAN8710A ethernet transceiver).

The BSP was modified in order to use phy_lan8710 instead of phy_ksz8041.

Plug/unplug data cable can be detected, but for one reason, transmit or receive information is not possible. And the problem is that RTCS API don't return any error in the initialization.

Does anyone know what else is needed to jump-start the ethernet driver?

Thanks for your help

Edgar Sevilla

标签 (1)
0 项奖励
1 解答
2,627 次查看
edgarsevilla
Contributor II

I found what is the likely cause. We are working with MII Option

I removed from ENET_default_params the option ENET_OPTION_RMII and it works right now.

Regards,
Edgar Sevilla

在原帖中查看解决方案

0 项奖励
4 回复数
2,356 次查看
Deekshap
Contributor I

Hi,

I am working on Ethernet PHY module with RMII interface, on my evaluation board there is ksz8091rnb PHY chip which works fine when configured as dhcp client and using that IP address for ping test gives me a success result. Similar way if I try to test it on my Custom board where the PHY chip used is lan8710a I am facing issue in the driver code. 

@edgarsevilla you mentioned that you modified the BSP in order to use phy_lan8710 instead of phy_ksz8041. Can you please share the working drive code for lan8710a chip. 

It would be of great help!

Deeksha P

0 项奖励
2,628 次查看
edgarsevilla
Contributor II

I found what is the likely cause. We are working with MII Option

I removed from ENET_default_params the option ENET_OPTION_RMII and it works right now.

Regards,
Edgar Sevilla

0 项奖励
2,626 次查看
hongtranduc
Contributor II

Hello,

Which clock source you used for LAN8710A, sync from kinetis mcu or from external oscillator?

-Hong

0 项奖励
2,627 次查看
edgarsevilla
Contributor II

Hi,

I'm using an external oscillator (25 MHz).

Regards,

Edgar Sevilla

0 项奖励