how can I set the phy_KSZ8041.c and phy_KSZ8041.h for RMII interface?

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

how can I set the phy_KSZ8041.c and phy_KSZ8041.h for RMII interface?

ソリューションへジャンプ
2,190件の閲覧回数
MehmetAliIpin
Contributor V

Dear community,

I have a custom Vybrid VF3x prototype board, which has a Micrel KSZ8081 ethernet PHY chip. I have added the phy_KSZ8041 .c and .h files to my projects' BSP in order to add the ethernet interface. I am using KSZ8081 which is very similar to KSZ8041(8041 has bot MII and RMII modes) in RMII mode.

Therefore, If I set the KSZ8041 .c and .h files to RMII mode, may be it will be enough to start RTCS protocols.

Please help me how can I set the KSZ8041 into RMII mode?

Thanks and best regards.

Mehmet Ali Ipin.

ラベル(8)
0 件の賞賛
返信
1 解決策
1,158件の閲覧回数
naoumgitnik
Senior Contributor V

Dear Mehmet,

I would not count on Timesys Support only in this case...


It looks like both PHYs belong to the same family, but the one you are interested in got 2 MAC interface types.

Based on my experience, in this case one usually has to take the existing RMII-only PHY settings and add 1 more - the MAC interface type selection (to be sure, compare the 2 datasheets).

Sincerely, Naoum Gitnik.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,158件の閲覧回数
timesyssupport
Senior Contributor II

Hi Mehmet,

Yes, I would take Naoum's advice and review the KSZ8081 datasheet to learn how to set this into RMII mode, and compare the other registers set in the driver to the datasheet.

Thanks,

Timesys Support

1,159件の閲覧回数
naoumgitnik
Senior Contributor V

Dear Mehmet,

I would not count on Timesys Support only in this case...


It looks like both PHYs belong to the same family, but the one you are interested in got 2 MAC interface types.

Based on my experience, in this case one usually has to take the existing RMII-only PHY settings and add 1 more - the MAC interface type selection (to be sure, compare the 2 datasheets).

Sincerely, Naoum Gitnik.

0 件の賞賛
返信
1,158件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport can you attend this case?

0 件の賞賛
返信