Problem to change transceiver (LAN8710A)

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

Problem to change transceiver (LAN8710A)

ソリューションへジャンプ
3,806件の閲覧回数
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 解決策
3,248件の閲覧回数
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,977件の閲覧回数
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 件の賞賛
返信
3,249件の閲覧回数
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 件の賞賛
返信
3,247件の閲覧回数
hongtranduc
Contributor II

Hello,

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

-Hong

0 件の賞賛
返信
3,248件の閲覧回数
edgarsevilla
Contributor II

Hi,

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

Regards,

Edgar Sevilla

0 件の賞賛
返信