How to set SJA1110 100BASE-T1 PHY Master/Slave?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to set SJA1110 100BASE-T1 PHY Master/Slave?

ソリューションへジャンプ
630件の閲覧回数
liujialu_2024
Contributor III

On board S32G-VNP-RDB2 , BSP 42.0.

How to set SJA1110 100BASE-T1 PHY master/slave in Linux user space?

0 件の賞賛
返信
1 解決策
552件の閲覧回数
liujialu_2024
Contributor III

for example, the wires "100BASE-T1 TRX8" of J53 Cable on the board.

after enable DSA and up the interface trx8(default in slave mode), set it to be master mode like this:

ethtool -s trx8 master-slave forced-master

 

元の投稿で解決策を見る

タグ(4)
0 件の賞賛
返信
6 返答(返信)
553件の閲覧回数
liujialu_2024
Contributor III

for example, the wires "100BASE-T1 TRX8" of J53 Cable on the board.

after enable DSA and up the interface trx8(default in slave mode), set it to be master mode like this:

ethtool -s trx8 master-slave forced-master

 

タグ(4)
0 件の賞賛
返信
579件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @liujialu_2024 

Thanks for your clarification and sorry for my previous misunderstanding on it.

I could understand now that you are interested in the PHY Master/Slave, as far as I know,  PHY management for these ports can be done only from SJA1110 firmware, I do not think it could not be set from Linux user space directly with default S32G BSP.
Actually the issue is not directly related with S32G, but SJA1110, for detailes, I suggest post your questions to the following board:

https://community.nxp.com/t5/Other-NXP-Products/bd-p/other

There should be more professional support for the internal components/features of SJA1110 itself.

I apologize for your inconvenience.

 

BR

Chenyin

 

0 件の賞賛
返信
587件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @liujialu_2024 

Thanks for your reply.

PFE master/slave is a feature of PFE(A IP of S32G), while the 100BASE-T1 is a PHY(included in the SJA1110 Switch).

There is not a feature called "100BASE-T1 slave".

On RDBs, the PFE0 connected to port4 of the SJA1110 by default, while the PFE0 is configured as multi-instance(for example, M core master, A core slave), for example in one configuration, T100BASE-T1(port6) is connected to the network segment that targeted to the A core side, AR8035 PHY(port 2) connected to the network segment that targeted to the M core side,  then the traffic from T100BASE-T1 could be routed to the port4, then to A core via PFE0(PFE-slave),while the traffic from AR8035 could be routed to M core side also via PFE0(PFE master).

Hope it will help.

 

BR

Chenyin

 

0 件の賞賛
返信
583件の閲覧回数
liujialu_2024
Contributor III

In SJA1110 User Manual (um549820-UM11107 Software User Manual for SJA1110(2.0).pdf)

liujialu_2024_0-1730252742927.png

How can I set/clear the bit 14 of B100T1_PMA_CONTROL register in Linux user space?

note: the reigster is used to set the mode of 100BASE-T1 PHY (Master / Slave)

the mode is initialized by the pin strapping (PHY_M_Sx)

liujialu_2024_1-1730253026109.pngliujialu_2024_2-1730253061855.png

 

0 件の賞賛
返信
601件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @liujialu_2024 

Thanks for your post.

For enabling the master/slave feature on RDB2, you may reference the chapter 7.3.4 from BSP42.0 UM.

PFE master/slave is the function for PFE, on RDB2, by default, the PFE0 connect to the SJA1110, then the T100 port from sja1110 could be used for testing this feature.

 

BR

Chenyin

0 件の賞賛
返信
598件の閲覧回数
liujialu_2024
Contributor III

Thanks for your reply.

But "pfe-slave" is not "100BASE-T1 slave".

My question is how to set the 100BASE-T1 PHYs in SJA1110 to Master/Slave Mode.

0 件の賞賛
返信