Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
pistons7
Level 4
Level 4
50 questions asked 10 likes given 100 sign-ins

The MPU is set to MII, and the Ethernet IC-Chip side is set to RVMII.
I am using sample code which is Ethernet_1_KIT_TC397_TFT.
Of course, the pin assignment has been changed to MII.

When this code is executed, "GETH_MAC_PHYIF_CONTROL_STATUS.B.LNKSTS"
does not become 1 in the judgment condition.


The description of GETH_MAC_PHYIF_CONTROL_STATUS was as follows.


MAC PHY Interface Control and Status Register
The PHY Interface Control and Status register indicates the status signals
received by the SGMII, RGMII, or SMII interface (selected at reset) from the PHY.
This register is optional.
when the MAC is configured for the SGMII, RGMII, or SMII PHY interface.

From this description, does LNKSTS not work on MII/RVMII?

What kind of link status should I check when using MII?
Does anyone have a sample program that I can refer to?

0 Likes
1 Solution
Aiswarya_A
Moderator
Moderator
Moderator
25 likes received 250 sign-ins 50 solutions authored

Hi, 

We see that you have created another thread on this topic. We can continue the discussion here.

Kind Regards,
Aiswarya.

View solution in original post

0 Likes
1 Reply
Aiswarya_A
Moderator
Moderator
Moderator
25 likes received 250 sign-ins 50 solutions authored

Hi, 

We see that you have created another thread on this topic. We can continue the discussion here.

Kind Regards,
Aiswarya.

0 Likes