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.
Solved! Go to Solution.
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.
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.
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.
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
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.
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.
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.
Hi daniel,
PHY on our device is 10/100/1000 mbps compatible, the part no is 88E1512.
Kindly let us know if any updates.
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.
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
"
Again, we apologize for the delay.
Please, let us know.
Hi,
Thanks for the reply @Daniel-Aguirre, we will check and update you.
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.