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.

PROCESSOR-SDK-AM437X: Where is the function ENETPHY_FindingState() called?

Part Number: PROCESSOR-SDK-AM437X


I am testing the example: C:\ti\pdk_am437x_1_0_16\packages\MyExampleProjects\NIMU_BasicExample_skAM437x_armExampleproject, and I modified the code to realize the dual network port function, and can get the print information from the debugging serial port:

SetPhyMode:000021e1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
SetPhyMode:000021e1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
ENETPHY_FindingState: PhyNum: 5
ENETPHY_FindingState: PhyNum: 4
ENETPHY_DisablePhy(5)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
ENETPHY_DisablePhy(4)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10

By analyzing the code, it is found that the information is printed by the following driver:

C:\ti\pdk_am437x_1_0_16\packages\ti\board\src\idkAM437x\device\enet_phy.c

I want to know Where are the functions in this driver(such as  ENETPHY_FindingState()) called?

processor_sdk_rtos_am437x_6_01_00_08, bios_6_76_02_02, ndk_3_61_01_01,Code Composer Studio Version: 9.1.0.00010