使用自制的板子进行以太网模块调试,电路设计仿照28388评估板,在以太网输入25Mhz时钟那里有一点修改,在调试例程时发现卡在这里,请问是什么情况?
还有ethernet_ipc_ex1_basic_c28x1例程中这句话是要C28x1和CM同时运行吗?如何同时运行?
谢谢!
user5922989:
,
Susan Yang:
之前有客户遇到了相同的问题,请查看我之前回复的帖子
e2echina.ti.com/…/617927
1)首先在CPU1端运行can_config_c28x
2)连接CM内核,在CM端加载can_ex2_loopback_interrupts示例并运行
,
user5922989:
谢谢您,不过程序还是会在这里卡死
,
Susan Yang:
具体卡在哪一句呢?能否私信下程序,我周一拿板子测试一下
,
user5922989:
卡在循环里,程序是官方的例程ethernet_ex2_phy_loopback
,
Susan Yang:
抱歉,之前漏掉了您的帖子。在该例程中有如下说明//! \b External \b Connections \n //!This example programs the Ethernet module in External Loop back mode (at PHY) //! and hence needs external connection to the PHY on the MII interface and //! also the MDIO Pins connected to the PHY. This example assumes DP83822 PHY //! for the PHY configurations if a different PHY is used the sequences might change //! Refer to the C28x CPU1 code of ethernet_config_c28x project //! for which GPIOs are used for connecting to the PHY另外您是否已通过C28x配置了以太网外围设备时钟和以太网端口?
您需要先在C28x Core中加载并运行ethernet_c28x_config 项目,然后在CM上加载以太网示例,如ethernet_ex2_phy_loopback。