SJA1110 EVM Forward to Port 0 ENET/L2 LUT

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

SJA1110 EVM Forward to Port 0 ENET/L2 LUT

912 Views
Stefan5
Contributor I

Hello,

I want to send Data from the RJ45 Port from SW1 to the RJ45 Port from SW2. All the traffic should forward to the MCU with Port 0. I used the Switch_Config Example and modify the reachable Ports from SW/P1 that only Port can be reached and deactivate the SPI connection between SW1 and SW2.

 

Stefan5_0-1640184798033.png

Does the programm still works without SPI connection to SW2? With the new changes. I couldnt even ping the lwip stack anymore. Is the config and the idea for the switch table correct?

Stefan5_1-1640185129589.png

I tried to force the forwarding to Port 0 with the L2 LUT. How do I configure this table correctly to forward all traffic from SW1 to Port 0?

Stefan5_0-1640229911913.png

If I forward all the traffic to ENET. How can I read out my frames and how can I use the register. For example i want to inspect the DA or Payload with my M7.

Thank you for helping!

Labels (1)
Tags (3)
0 Kudos
Reply
1 Reply

819 Views
bpe
NXP Employee
NXP Employee

First of all, you must initialize all switches that are required to be active.
This has to be done via SPI either by the on-chip microcontroller or
via the externally visible SPI. An unconfigured switch is fully passive.
As of the rest, the description you provided is ambiguous:

I want to send Data from the RJ45 Port from SW1 to the RJ45 Port from SW2.
All the traffic should forward to the MCU with Port 0

So where frames coming on the externally connected ports have to be forwarded
to, the host port, the cascaded port, both?

 

Best Regards,
Platon

0 Kudos
Reply