This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MCU-PLUS-SDK-AM243X:用于 DP83822的 CAN DP83826E PHY 驱动器

Guru**** 654100 points
Other Parts Discussed in Thread: AM2432, DP83825I
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1106136/mcu-plus-sdk-am243x-can-dp83826e-phy-driver-used-for-dp83822

器件型号:MCU-PLUS-SDK-AM243X
主题中讨论的其他器件:AM2432DP83869DP83825I

您好!

   我的客户希望使用 DP83822 PHY 替换 AM2432上的 DP83869。  我已检查 SDK 8.2.0.31、我们有用于 DP683826E 的驱动程序。  我还将介绍 AM64 SDK 中的 PHY 驱动程序、其中包含 DP83822的驱动程序源代码。 根据 DP83822 Linux 驱动程序、它可用于 DP83826。   

三、会议的报告

定义 DP83822_PHY_DRIVER (_id、_name)\
{\
PHY_ID_MATH_MODEL (_id)、\
.name =(_name)、\
/* PHY_basic_features */\
.probe = dp83822_probe、\
.SOFT_RESET = dp83822_phy_reset、\
config_init = dp83822_config_init、\
read_status = dp83822_read_status、\
get_wol = dp83822_get_wol、\
.set_wol = dp83822_set_wol、\
.ack_interrupt = dp83822_ack_interrupt、\
config_intr = dp83822_config_intr、\
.suspend = dp83822_suspend、\
.resume = dp83822_resume、\

#define DP8382X_PHY_DRIVER (_id、_name)\
{\
PHY_ID_MATH_MODEL (_id)、\
.name =(_name)、\
/* PHY_basic_features */\
.SOFT_RESET = dp83822_phy_reset、\
config_init = dp8382x_config_init、\
get_wol = dp83822_get_wol、\
.set_wol = dp83822_set_wol、\
.ack_interrupt = dp83822_ack_interrupt、\
config_intr = dp83822_config_intr、\
.suspend = dp83822_suspend、\
.resume = dp83822_resume、\

静态结构 phy_driver dp83822_driver[]={
DP83822_PHY_DRIVER (DP83822_PHY_ID、"TI DP83822")、
DP8382X_PHY_DRIVER (DP83825I_PHY_ID、"TI DP83825I")、
DP8382X_PHY_DRIVER (DP83826C_PHY_ID、"TI DP83826C")、
DP8382X_PHY_DRIVER (DP83826NC_PHY_ID、"TI DP83826NC")、
DP8382X_PHY_DRIVER (DP83825S_PHY_ID、"TI DP83825S")、
DP8382X_PHY_DRIVER (DP83825CM_PHY_ID、"TI DP83825M")、
DP8382X_PHY_DRIVER (DP83825CS_PHY_ID、"TI DP83825CS")、
};
MODULE_phy_driver (dp83822_driver);

静态结构 MDIO_DEVICE_ID __MORT_unused dp83822_tbl[]={
{DP83822_PHY_ID、0xffffff0}、
{DP83825I_PHY_ID、0xffffff0}、
{DP83826C_PHY_ID、0xffffff0}、
{DP83826NC_PHY_ID、0xffffff0}、
{DP83825S_PHY_ID、0xffffff0}、
{DP83825CM_PHY_ID、0xffffff0}、
{DP83825CS_PHY_ID、0xffffff0}、
{},
};
MODULE_DEVICE_TABLE (MDIO、dp83822_tbl);

MODULE_DESCRIPTION ("德州仪器(TI) DP83822 PHY 驱动程序");
module_Author ("Dan Murphy <dmurphy@ti.com);
MODULE_LICENSE ("GPL v2");

我想知道客户是否可以将 DP83826驱动程序直接与 MCU+ SDK 中的 DP83822 PHY 搭配使用?  可以帮助我确认吗? 谢谢。

此致

Andre

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

      在比较 了 DP83822/DP83826数据表和 DP82836驱动器中的功能后、 LED 设置之间存在差异。  我弄错了。  我无法使用  

    从  C:\TI\MCU_PLUS_SDK_am243x_08_02_00_31\SOURCE \board\ethphy 直接下载 dp83826驱动程序。

    此致

    Andre