LS1046A connect SJA1105 test

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

LS1046A connect SJA1105 test

1,185 Views
tian_shuliang
Contributor I

I use ls1046a serdes1 lane0 to connect SJA1105 P4, SJA1105 P0 connect MCU,SJA1105 P1 and P2 connect PHY。

I want know how to test SJA1105 use ls1046a?

0 Kudos
5 Replies

1,020 Views
tian_shuliang
Contributor I

I use ls1046a serdes1 lane0 to connect SJA1105 SGMII interface, and SJA1105 other port connect mcu。 I want to know how to test the data path between mcu and ls1046a? If i use ifconfig can get SJA1105 SGMII interface net node, then use ping command?

pastedImage_1.png

pastedImage_2.png

0 Kudos

1,020 Views
bpe
NXP Employee
NXP Employee

Yes, if your MCU supports IP and ICMP protocols, you can configure
LS1046A and the MCU to be on the same IP subnet and ping. Otherwise,
you need to  identify a network protocol mutually supported by LS1046A
and the MCU (or another device connected to SJA1105).


Have a great day,
Platon

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

1,020 Views
tian_shuliang
Contributor I

It use mac to mac link between SJA1105 P4 and LS1046A. And I modified dts as follows (use SGMII.9 to SJA1105 P4):

When system start up ,  I use ifconfig -a, but can't find eth node.

pastedImage_1.png

1. If dts patch is right ?

2.If need modify uboot code or set mac address in uboot?

0 Kudos

1,020 Views
bpe
NXP Employee
NXP Employee

1. If dts patch is right ?

These properties are correct but not sufficient .
If Linux doesn't recognize your mEMAC interface, check the rest of the
required properties.  See this document for details.

2.If need modify uboot code or set mac address in uboot?

You can give your mEMAC a MAC address in u-Boot but this
is optional.

Hope this helps

Platon

0 Kudos

1,020 Views
bpe
NXP Employee
NXP Employee

The answer depends on what exactly you want to test. If the switch
data path, you can use any available tool to generate traffic on
your LS1046A and see what is received on other ports, or vice versa,
use any external traffic source to send traffic towards LS1046A
and see what is actually received with tcpdump or whatever.

If the switch control port is also connected to LS1046A, you can use
this tool to read and/or update the switch configuration and status.

 


Have a great day,
Platon

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos