Ethernet not working in 100mbps port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet not working in 100mbps port

Jump to solution
3,245 Views
naveenkumar_muthusamy
Contributor IV

Hi

I am trying to connect the S32g2 to a device which works at 100Mbps ethernet speed, but the issue is that, S32g2 does not ping or does not create a link with this device.

I am able the Ping the s32g2 from PC when keep the speed and duplex as auto negotiation and 1gbps , but when i reduce the speed to 100mbps in PC, it simply does not work.

 

i have tried to reduce the speed from 1G to 100Mbps in GMAC configuration in peripheral tab and updated code, but still it does not work.

 

Kindly provide me help on this issue.

Tags (1)
0 Kudos
Reply
1 Solution
2,924 Views
naveenkumar_muthusamy
Contributor IV

Hi @Daniel-Aguirre,

I have changed  TX_REF_CLK, RX_REF_CLK, PERIPH_PLL_PHI5, all these to 25MHZ, and the GMAC works for the 100mbps. i am able to ping the board from PC.

As a improvement to the driver, kindly consider configuring the driver from the PHY register data.

because once the PHY auto negotiation is over, PHY will speed and duplex of the device, so if the driver configures the device according to the data from PHY register data, it will be very much helpful in communicating with the different devices at different speed configurations.

View solution in original post

0 Kudos
Reply
14 Replies
2,925 Views
naveenkumar_muthusamy
Contributor IV

Hi @Daniel-Aguirre,

I have changed  TX_REF_CLK, RX_REF_CLK, PERIPH_PLL_PHI5, all these to 25MHZ, and the GMAC works for the 100mbps. i am able to ping the board from PC.

As a improvement to the driver, kindly consider configuring the driver from the PHY register data.

because once the PHY auto negotiation is over, PHY will speed and duplex of the device, so if the driver configures the device according to the data from PHY register data, it will be very much helpful in communicating with the different devices at different speed configurations.

0 Kudos
Reply
2,907 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

We will send this information to the related team, to understand if it is feasible under the current releases. In the meantime, good to know you got it working.

Please, let us know.

2,925 Views
naveenkumar_muthusamy
Contributor IV

Hi @Daniel-Aguirre ,

in the clock diagram, i can see GMAC_TX_CLK_REF and GMAC_RX_CLK_REF, so we have to configure these clocks to the 25MHZ, or we have to only configure the PERIPH_PLL_PHI5 to 25mhz kindly suggest

0 Kudos
Reply
3,206 Views
naveenkumar_muthusamy
Contributor IV

Hi Daniel,

 

Thanks for the support

I am using the Microsys miriac SBC S32g274a board, i am using RTD  S32 Real-Time Drivers AUTOSAR 4.4 Version 3.0.2 Hotfix 01 is AUTOSAR 4.4.0 compliant

I am using RGMII and using LWIP example lwip_s32g274a example, the example works, i am able to ping the board from PC when the Auto-negotiation is set for speed and Duplex in ethernet drivers in windows. as soon as i change the speed to 100mbps full duplex in windows , i am unable to ping the board from windows. Ethernet PHY used in the board is 88E1512P-xx-NNP.

In PHY driver init, auto negotoation is enabled by default.

 

we are trying to connect to MIMXRT1176, ENET_QOS, in which the ethernet is working and also able to ping the board from PC.

 

Kindly check on this issue.

 

0 Kudos
Reply
3,197 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

Let us verify what we can achieve from our side. Can you share with us which peripheral configurations have you modified? If any.

Also, to confirm, you are using TCPIP v1.0.1, is this correct?

Please, let us know.

0 Kudos
Reply
3,189 Views
naveenkumar_muthusamy
Contributor IV
Hi daniel,
we are using TCPIP_STACK for S32G version 1.0.1 We have not made any changes to the peripherals. I have tried changing the speed og GMAC to 100M and ran the example, but it is not working, when i revert back to 1G , the example works.and i am able to ping the board.
0 Kudos
Reply
3,180 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. We will verify then if we are able to ping @100 Mbps. If not, we will confirm with the internal team if this is possible.

Seeing the documentation, it should be supported, but there may be some extra configurations required.

Also, we might not have access to the schematics of the board you are using, can you confirm that the PHY on your board is 100Mbps compatible? Just as a sanity check.

Please, let us know.

0 Kudos
Reply
3,147 Views
naveenkumar_muthusamy
Contributor IV

Hi daniel,

PHY on our device is 10/100/1000 mbps compatible, the part no is 88E1512.

 

Kindly let us know if any updates.

0 Kudos
Reply
3,091 Views
naveenkumar_muthusamy
Contributor IV

Hi @Daniel-Aguirre ,

Any update regarding the ethernet GMAC 100 Mbps ?

Tags (1)
0 Kudos
Reply
3,083 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We do apologize for the delay. We are still investigating the manner. The internal team is looking into it.

Once we receive an update, we will let you know.

Again, we do apologize.

Please, let us know.

0 Kudos
Reply
3,024 Views
naveenkumar_muthusamy
Contributor IV

Hi @Daniel-Aguirre,

Thanks for the reply

Awaiting your response regarding the same.

0 Kudos
Reply
3,019 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We have received the following update from our internal team:

"Besides GMAC PHY speed change(1G=>100M), TX/RX clock should also change. 

GMAC TX/RX clock should also change to 25Mhz.

Below is the GMAC RGMII clocking, RX clock is from external(it means that you need to connect to an external 25Mhz clock). TX is from PERIPH_PLL_PHI5_CLK

DanielAguirre_0-1699474427922.png

"

Again, we apologize for the delay.

Please, let us know.

0 Kudos
Reply
2,928 Views
naveenkumar_muthusamy
Contributor IV

Hi,

Thanks for the reply @Daniel-Aguirre, we will check and update you.

0 Kudos
Reply
3,214 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Are you using any NXP development board? Or is this a custom board?

Which BSP/RTD version are you using? For GMAC, are you using RGMII or SGMII?

If using BSP, did you modify anything under your DTB?

If using RTD, are you using an example?

Please, let us know.

0 Kudos
Reply