This FAQ applies for both ADIN3310 and ADIN6310 devices.
1. Product Overview
Q1. What are the target markets for this product? The switch suits any application that benefits from its architecture, such as cut-through forwarding, and from its key features:
- Time-Sensitive Networking (TSN)
- Redundancy
- Quality of Service (QoS)
- Security
- Freedom to choose the host processor and PHY that best fit the application
- Small footprint
- Low power
The main markets are Energy, Industrial and Process Automation, Motion Control, Transportation, Networking, Building Automation, Robotics, and Instrumentation.
Q2. Are the PHYs integrated in the switch? No. Keeping the PHYs external lets you choose the best PHY for your application, such as 10BASE-T1L, 10/100 or Gigabit, copper or fiber. ADI's PHY portfolio includes the ADIN1100, ADIN1101, ADIN1200 and ADIN1300.
Q3. Which ports support SGMII, and can I design for both RGMII and SGMII? [NEW]
- ADIN3310: 2 of its 3 ports support SGMII (Ports 1–2).
- ADIN6310: 4 of its 6 ports support SGMII (Ports 1–4).
The SGMII pins are dedicated and separate from the RGMII MAC interface pins. You can lay out a board for both interfaces and choose which one to use when the switch is configured.
2. Switch Management
Q4. Is this an unmanaged switch? No. It's a managed switch. An external host processor configures its features, including port settings, TSN and redundancy. The host can connect over SPI or over a MAC interface through any port. Hardware strapping pins tell the switch which host interface to use when it comes out of reset.
Q5. What does the packet assist engine do? Is it a processor? Yes. The packet assist engine is an integrated processor. It manages the switch features, TSN and redundancy, and it runs several protocol stacks, which takes that work off your host processor. Your host talks to the packet assist engine to configure the switch.
Q6. Can I write my own code for the packet assist engine? No. ADI develops the packet assist engine firmware and releases firmware updates and the TSN Driver Library (APIs) on a regular schedule. The Serial Wire Debug (SWD) interface is locked.
Q7. How does the host configure the switch? Is a register map available? Your host uses the APIs in the ADI TSN Driver Library, which talk to the firmware on the packet assist engine. You never program registers directly. The protocol stacks (PTP, HSR/PRP, MRP and others) run on the switch, which reduces the work your host has to do.
Q8. Which host interfaces are supported?
- SPI: single, dual or quad.
- MAC interface: RMII, RGMII or SGMII, on any port.
Strapping pins select the host interface.
Q9. Can the host port carry data traffic as well as configuration? Yes. When the switch is managed over an Ethernet port, that port still carries data to and from the host. SPI can also carry data. For high data rates to the host, we recommend a MAC interface.
Q10. What do I need for an SPI host design? Connect TIMER0 to a host GPIO. In SPI mode, it acts as the interrupt that tells the host a message is waiting.
3. Switch Firmware and Software
Q11. What software is provided for the switch? There are two main packages. Both work with the ADIN3310 and the ADIN6310.
- Evaluation software: a GUI that configures a PC-based web server. It supports a daisy-chain of up to 10 switches.
- TSN Driver Library: an operating-system-independent library of APIs for the switch features. You port it to your host platform and call the APIs you need.
Both packages are available from the product pages and through myAnalog.
Q12. What firmware is on the device when it ships from the factory? None. Devices ship without user firmware. On your own prototype or production hardware, the host loads the firmware first:
- An unprogrammed device sends image-request messages to the host.
- Those messages prompt the driver to load the firmware automatically.
- The load takes about 20–30 seconds.
The host also initializes and configures the switch after every power cycle.
Q13. How do I update the firmware? Do I need special hardware or tools? No special hardware, tools or connectors are needed. The host updates the firmware over the configured host interface, either SPI or Ethernet. The firmware ships inside the TSN Driver Library package. When you run a new driver package, the update happens automatically.
Q14. Do the firmware and driver versions have to match? Yes. They're released as a pair. When you move to a new release, update the driver files in your project and let the automatic firmware update run.
Q15. Is there a Linux kernel driver? The TSN Driver Library includes a Linux user-space driver, with examples that include NETCONF support through sysrepo. ADI also provides a Windows example project and a Zephyr example for the field switch reference design. Bootloader-level support, such as U-Boot, isn't currently provided.
4. Getting Started and Evaluation
Q16. The evaluation GUI can't find or connect to my board. What should I check?
- Install Npcap in WinPcap API-compatible mode.
- In the GUI, select your Ethernet adapter in the top window, then double-click the "Ethernet Adapter" field in the lower window so that it fills in.
- Connect your PC to the host port on the evaluation board.
Q17. Can I configure more than one board from the GUI? Yes, up to 10 switches. You can daisy-chain them from one network adapter or give each one its own adapter. Separate adapters are easier for ring topologies.
Q18. How do I evaluate HSR or PRP? Choose the matching startup XML file from the Startup File Name list (for example, eval-adin6310-hsr.xml). The default file sets the switch up for standard TSN switching, with 802.1AS, LLDP and MSTP enabled.
Q19. Are the evaluation board design files available? Schematics and PCB layer PDFs are on the evaluation board pages. To get Gerber or editable design files, contact ADI.
5. Hardware Design
Q20. Which interface do I need for Gigabit operation? RMII supports 10 or 100 Mbps only. For 1 Gbps, use RGMII or SGMII. If you might move to Gigabit later, choose a Gigabit-capable PHY such as the ADIN1300.
Q21. How do I connect fiber or SFP modules? Route the SGMII differential pairs directly to the SFP cages, and supply VDD_SGMII with proper decoupling. You don't need an external PHY for fiber.
Q22. What power supplies are required?
- 1.1 V core.
- 3.3 V supply.
- VDDIO, selectable at 1.8 V, 2.5 V or 3.3 V.
A lower VDDIO reduces power consumption.
Q23. How should RESET_N be handled? We recommend a pull-down, so the host holds the switch in reset until it's ready to configure it.
Q24. Does the switch need PHY start-of-packet signals for PTP timestamping? No. The switch captures hardware timestamps at the MAC, so any standard PHY works.
Q25. Will a 1000BASE-KX backplane link report link-down? Yes. An internal peak detector flags loss of signal. If your host subscribes to port events, it receives a link-down notification.
6. Time Synchronization (PTP)
Q26. Which PTP profiles are supported?
- IEEE 802.1AS-2020.
- The IEEE 1588-2019 default profile.
- The IEC 62439-3 profiles used with HSR and PRP (new from software release 6.1.0-GA)
Check the datasheet for the current list.
Q27. Does the switch support one-step and two-step PTP? For 802.1AS, 1588 pofiles, the switch transmits two-step. It accepts one-step messages from upstream devices.
Q28. How do I configure PTP with HSR or PRP? Using the evaluation GUI, set up the redundancy mode first. Then choose DAHC for HSR or DAOC for PRP on the Time Synchronization page.
Q29. How do I set up a transparent clock plus boundary clock so PTP reaches the host port? Using the evaluation GUI, select more than four PTP ports, and include the host port. With four PTP ports, the switch runs as a transparent clock plus ordinary clock.
Q30. What does the correctionField value represent? It's the residence time, meaning how long the switch takes to forward a PTP message from one port to another.
7. Redundancy (HSR, PRP, MRP)
Q31. Which device should I use for each redundancy role?
- ADIN6310: a good fit for a DANH or a RedBox.
- QuadBox: use two ADIN3310 devices, which gives it hardware redundancy.
Q32. How large can an HSR/PRP network be? The node table holds up to 1024 entries. The RedBox proxy node table holds up to 8 entries.
Q33. When should I use MRP rather than HSR or PRP? Use MRP for rings that can tolerate a short, bounded recovery time. Use HSR, PRP or FRER when your application needs zero recovery time.
8. Protocols and Features
Q34. Does the switch support EtherCAT? The switch doesn't process EtherCAT.
Q35. How many gate control list entries are available for scheduled traffic (Qbv)? 32 entries are available to users. The switch reserves additional entries for guard-band handling.
Q36. What security features are included?
- Secure boot.
- Authenticated firmware updates with anti-rollback protection.
- A hardware root of trust.
- Hardware-based cryptography.
9. Support and Updates
Q37. Where do I find known issues and errata? Silicon anomalies are listed in the datasheet. Software known issues are in the release notes inside each software package.
Q38. How do I get notified of new software releases? Create a myAnalog account and email adin6310@analog.com to join the distribution list. For technical questions, please post on EngineerZone.