S32G SerDes mode

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

S32G SerDes mode

809 Views
Alex_mjl
Contributor II

Hi NXP,

    I have a "S32G -VNP-RDB2" development board. I want to change the working mode of SerDes1.The development board now uses mode3 by default. I want to change to mode 1, that is, PFE MAC0 is connected to lane1.

Alex_mjl_0-1698460577941.png

   I made the following changes, but did not succeed, what else need to be changed?

1.Change the SW8 ON->OFF

Alex_mjl_1-1698460724581.png

2.Modify some attributes in the device tree:

Alex_mjl_2-1698460834918.png

Alex_mjl_3-1698460869268.png

 

 

0 Kudos
4 Replies

767 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

In which BSP version are you working with?

You should be able to change the mode under uboot, without needing to change the device tree, but depending on the version the command could be different.

Please, let us know.

0 Kudos

742 Views
Alex_mjl
Contributor II

Hi,

  I set the environment variable of hwconfig in uboot to " pcie0:mode=pcie,clock=ext;pcie1:mode=rc&sgmii,clock=int,fmhz=100,xpcs_mode=1".

   And fixed the rate of SJA1110 and PFE0 to 1000, but still not.

Alex_mjl_0-1698837575679.png

Alex_mjl_1-1698837583363.png

Alex_mjl_2-1698837589811.png

 

 

Tags (1)
0 Kudos

730 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

We understand that there is no need of modifying the device tree. For the uboot command, we have the following example:

=> setenv hwconfig "serdes0:mode=pcie,clock=ext;pcie0:mode=rc;serdes1:mode=pcie&xpcs0,clock=ext,fmhz=100;pcie1:mode=rc;xpcs1_0:speed=1G"
=> setenv pfeng_mode enable,sgmii,rgmii,rgmii
=> setenv pfengemac 0
=> saveenv

 

But for hwconfig, it is shown under BSP35.0 commands. BSP33.0 uses legacy, which is what you are using. The difference we are seeing is that the CLK should be EXT, and you are setting it as INT.

As for the "but still not" comment. What is the behavior you are seeing? Can you share logs about it? What are you expecting that it is not happening?

Please, let us know.

0 Kudos

756 Views
Alex_mjl
Contributor II

Hi,

   The BSP version is 33.0.

   Can you ask me how to operate in uboot?

0 Kudos