stm32mp2 RMII phy调试总结

stm32mp2 RMII phy调试总结

phy有两种提供clk的方式

1、mac直接提供50M clk给phy。

此时的pin连接 ETH1_CLK(stm32mp2端) --> RXC(rtl8201f端)

2、晶振提供25M clk给phy,phy在输出给50M给MAC

此时的pin连接 TXC(rtl8201f端)--->ETH1_RMII_REF_CLK(stm32mp2端)

3、是否需要进行reset,延时多少

reset-gpios = <&gpiob 6 GPIO_ACTIVE_LOW>;

reset-assert-us = <10000>;

reset-deassert-us = <80000>;

4、需要配置mac端clk 输入还是输出配置

st,ext-phyclk;

5、phyid和具体使用的phy

此处001C.c816为phy的id值,查手册得知

phy0_eth1: ethernet-phy@0 {

compatible = "ethernet-phy-id001C.c816",

"ethernet-phy-ieee802.3-c22";

reset-gpios = <&gpiob 6 GPIO_ACTIVE_LOW>;

reset-assert-us = <10000>;

reset-deassert-us = <100000>;

reg = <0>;

};

相关推荐
tianyue1002 小时前
STM32G431 ADC 多个channel 采集
stm32·单片机·嵌入式硬件
安生生申5 小时前
STM32 ESP8266连接ONENET
c语言·stm32·单片机·嵌入式硬件·esp8266
2501_941881407 小时前
在墨西哥城复杂流量环境下构建高稳定性API网关的架构设计与实现实践分享
macos·golang·xcode
wadesir8 小时前
macOS Sequoia与macOS Tahoe全面对比:功能、性能与升级教程(新手入门指南)
macos
youcans_10 小时前
【动手学STM32G4】(3)STM32G431之定时器
stm32·单片机·嵌入式硬件·定时器
FreeBuf_11 小时前
新型TCC绕过漏洞:macOS面临自动化攻击风险
macos·自动化·策略模式
硬汉嵌入式11 小时前
ST最新推出的CMSIS-Driver,一套驱动完成对所有STM32系列的驱动支持
stm32·st·cmsis-driver
Alice11 小时前
Remote control Mac ios
macos
huaiyanchen11 小时前
mac Navicat 下载及安装
macos
小李做物联网11 小时前
【单片机毕设】c24基于单片机stm32蓝牙温室大棚物联网毕业设计
stm32·单片机·嵌入式硬件·物联网