
NXP Semiconductors
AH1721
SJA1105SMBEVM UM
AH1721
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2018. All rights reserved.
User Manual
Rev. 1.00
— 16 July 2018
22 of 35
5.4 Example Software features
The example software project implements the following exemplary features:
•
Changing the rotary switch while the FW is running causes a reboot.
•
With dial-setting #1 and #2, ethernet functions are enabled. This means:
o
All ports receive untagged traffic and traffic on VLAN-0. Egress traffic is
always untagged.
o
Traffic is forwarded between all ports (except the FE port). This includes
dynamic address learning, and transparent forwarding over the
cascading SGMII link.
o
No policers, no traffic shapers.
o
the GBit-Ports and the FE-Port allow auto-negotiation for link speed only.
This is since the switches’ MACs only allow full duplex links.
o
The uC periodically sends out data packets on its ENET0 (connected to
the switch) and ENET1 (FE) ports. As the chosen destination address
08:00:27:02:12:88 is not known in the switch
’s L2 address tables, the
packets are flooded to all ports. The µC uses 08:00:27:02:12:01 and
08:00:27:02:12:02 as source address. These addresses are configured
with ProcessorExpert in the ENET device driver.
o
For 100BASE-T1 ports, the Link LED indicates an established link. All
100BASE-T1 ports on the SJA1105SMBEVM take the master role, so
the peers must be configured for slave, so that a link can come up. This
can be changed by SW, but it is not implemented in the delivered
example.
•
With dial-setting #1 and #3, the CAN interface is activated. The uC then
periodically sends out a CAN-frame at 100kBit/sec, using 8 payload bytes and
the CAN-ID 333h. Can-FD is not used. With each frame, the 2
nd
Byte is
incremented, and when having reached 255 wraps around.