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.
Part Number: AM3352
when I use the default project NIMU_BasicExample_bbbAM335x_armExampleproject for my test,
I can't ping the device successful.
Through the code, we learned that the code related to the initialization of emac has the following parts:
/* Chip configuration MII/RMII selection */ SOCCtrlCpswPortMacModeSelect(1, ETHERNET_MAC_TYPE_RMII); SOCCtrlCpswPortMacModeSelect(0, ETHERNET_MAC_TYPE_RMII);
EMAC_socGetInitCfg(0, &cfg); cfg.port.phy_addr = EMAC_CPSW_PORT0_PHY_ADDR_EVM; cfg.port.phy_addr = EMAC_CPSW_PORT0_PHY_ADDR_EVM; cfg.macModeFlags = EMAC_CPSW_CONFIG_MODEFLG_FULLDUPLEX; EMAC_socSetInitCfg(0, &cfg);
/create app task/
NIMUDeviceTable[nimu_device_index++].init = &CpswEmacInit ; NIMUDeviceTable[nimu_device_index].init = NULL ;
about the soc,is there any config for HW except SOCCtrlCpswPortMacModeSelect?
and I know the init and register EMAC is by CpswEmacInit .
how can I know init and register EMAC success,is there any log?
I don't know how does CpswEmacInit function exectued.so I don't know if EMAC has init or register.
In reply to lding:
can you give me the link of TI BBB circuit design document,I will ask our HW engineer to check.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.