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>;

};

相关推荐
ricky_fan8 小时前
(25年12月)claude code报错:might not be available in your country
macos·bash
阿拉斯攀登8 小时前
STM32 架构概述
stm32·单片机·架构
james bid8 小时前
MacBook Pro 2015 上 XUbuntu 24.04 启用 eGPU (GeForce GTX 1080 Ti) 和核显黑屏问题解决
linux·ubuntu·macos·cuda·egpu
物联网牛七七9 小时前
STM32 EXTI(外部中断)详解
stm32·单片机·嵌入式硬件·exti
d111111111d9 小时前
STM32外设学习-读取芯片ID。(学习笔记)
笔记·stm32·单片机·嵌入式硬件·学习
阿拉斯攀登9 小时前
STM32 简单入门
stm32·单片机·嵌入式硬件
私人珍藏库9 小时前
[Mac] Mac风扇控制软件 iFan V1.1.1
macos
腾讯云qcloud07559 小时前
腾讯位置商业授权iOS 轨迹SDK
macos·ios·cocoa
新手村领路人9 小时前
MacOS Tahoe26.1自制定时休眠app
macos
2501_916007479 小时前
没有 Mac,如何在 Windows 上架 iOS 应用?一套可落地的工程方案
android·macos·ios·小程序·uni-app·iphone·webview