EVAL-ADIN2111EVB Evaluation board

Overview

The EVAL-ADIN2111EBZ is a flexible platform enabling quick evaluation of the ADIN2111, robust, low power 10BASE-T1L 2-Port Ethernet switch. The evaluation board provides 2 10BASE-T1L channels with 10Mbit per second Single Pair Ethernet (SPE) connections reaching up to 1.7km of link distance.

The ADIN2111 internal switch can be configured in store and forward mode between the two 10BASE-T1L channels and the SPI host. Cut through mode is also available between Port 1 and Port 2 and can be used without the need of the SPI host (unmanaged configuration).

The evaluation board offers two modes of operation for maximum flexibility: Connected to a PC via USB port, the full set of ADIN2111 register settings and features such as link quality monitoring and diagnostics can be accessed over the USB using the serial command interface implemented in the evaluation firmware.

Alternatively, the board can operate in cut-through mode between Port 1 and Port 2 (unmanaged configuration without firmware) where the EVAL-ADIN2111EBZ acts as a network switch forwarding packets between the 2x 10BASE-T1L ports. The 2x links are configured by setting the ADIN2111 hardware configuration pins jumper and switches. The 2x On-board Activity LEDs provide Link activity status indication for each port.

Custom firmware can also be developed and the ADIN2111 driver support package includes simple project examples to start a custom implementation.

The SPI interface provides access to the management registers required for the switch configuration, the 2 PHYs configuration and data exchange between SPI host and ports.

Important

S1 DIP switches are shipped in Open Alliance SPI mode. The current Zephyr default board configuration is set to work as “Generic SPI, CRC enabled”, so the S1 DIP switches must be set as SPI_CFG0 OFF and SPI_CFG1 OFF. An inconsistent S1 DIP switches configuration will halt the boot.

Hardware

The ADI EVAL-ADIN2111EBZ hardware features list is available here:

https://wiki.analog.com/resources/eval/user-guides/eval-adin2111ebz-user-guide

Supported Features

The adi_eval_adin2111ebz board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

adi_eval_adin2111ebz/stm32l4s5xx target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4F CPU1

arm,cortex-m4f

ADC

on-chip

STM32 ADC2

st,stm32-adc

CAN

on-chip

STM32 CAN controller1

st,stm32-bxcan

Clock control

on-chip

STM32 RCC (Reset and Clock controller)1

st,stm32-rcc

on-chip

STM32 HSE Clock1

st,stm32-hse-clock

on-chip

Generic fixed-rate clock provider3

fixed-clock

on-chip

STM32 MSI Clock1

st,stm32-msi-clock

on-chip

STM32 LSE Clock1

st,stm32-lse-clock

on-chip

STM32L4/L5 main PLL1

st,stm32l4-pll-clock

on-chip

STM32 Microcontroller Clock Output (MCO)1

st,stm32-clock-mco

Counter

on-chip

STM32 counters9

st,stm32-counter

Cryptographic accelerator

on-chip

STM32L4 AES Accelerator1

st,stm32l4-aes

DAC

on-chip

STM32 family DAC1

st,stm32-dac

DMA

on-chip

STM32 DMA controller (V2)1 1

st,stm32-dma-v2

on-chip

STM32 DMAMUX controller1

st,stm32-dmamux

Ethernet

on-board

ADIN2111 standalone 10BASE-T1L Ethernet controller with SPI interface1

adi,adin2111

on-board

ADIN2111 PHY2

adi,adin2111-phy

Flash controller

on-chip

STM32 Family flash controller1

st,stm32-flash-controller

GPIO & Headers

on-chip

STM32 GPIO Controller9

st,stm32-gpio

I2C

on-chip

STM32 I2C V2 controller4

st,stm32-i2c-v2

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

on-chip

STM32 External Interrupt Controller1

st,stm32-exti

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MDIO

on-board

ADIN2111 MDIO Driver node1

adi,adin2111-mdio

Memory controller

on-chip

STM32 Battery Backed RAM1

st,stm32-bbram

MMC

on-chip

STM32 SDMMC Disk Access1

st,stm32-sdmmc

MTD

on-chip

STM32 flash memory1

st,stm32-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

on-board

Properties supporting Zephyr spi-nor flash driver (over the Zephyr SPI API) control of serial flash memories using the standard M25P80-based command set1

jedec,spi-nor

OCTOSPI

on-chip

STM32 OSPI Controller2

st,stm32-ospi

PHY

on-chip

This binding is to be used by all the usb transceivers which are built-in with USB IP1

usb-nop-xceiv

Pin control

on-chip

STM32 Pin controller1

st,stm32-pinctrl

Power management

on-chip

STM32 power controller1

st,stm32-pwr

PWM

on-chip

STM32 PWM10

st,stm32-pwm

Reset controller

on-chip

STM32 Reset and Clock Control (RCC) Controller1

st,stm32-rcc-rctl

RNG

on-chip

STM32 Random Number Generator1

st,stm32-rng

RTC

on-chip

STM32 RTC1

st,stm32-rtc

Sensors

on-chip

STM32 family TEMP node for production calibrated sensors with two calibration temperatures1

st,stm32-temp-cal

on-chip

STM32 VREF+1

st,stm32-vref

on-chip

STM32 VBAT1

st,stm32-vbat

Serial controller

on-chip

STM32 USART1 2

st,stm32-usart

on-chip

STM32 LPUART1

st,stm32-lpuart

on-chip

STM32 UART2

st,stm32-uart

SMbus

on-chip

STM32 SMBus controller4

st,stm32-smbus

SPI

on-chip

STM32 SPI controller with embedded Rx and Tx FIFOs2 1

st,stm32-spi-fifo

SRAM

on-chip

Generic on-chip SRAM description1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

on-chip

STM32 timers11

st,stm32-timers

on-chip

STM32 low-power timer (LPTIM)2

st,stm32-lptim

USB

on-chip

STM32 OTGFS controller1

st,stm32-otgfs

Watchdog

on-chip

STM32 watchdog1

st,stm32-watchdog

on-chip

STM32 system window watchdog1

st,stm32-window-watchdog

Connections and IOs

ADI ADIN2111EBZ evaluation board has 7 GPIO controllers (from A to G). These controllers are responsible for pin muxing, input/output, pull-up, etc.

For mode details please refer to EVAL-ADIN2111EBZ User Guide.

Default Zephyr Peripheral Mapping:

  • UART_1 TX/RX : PA9/PA10 (UART to FT232, console)

  • SPI1 SCK/MISO/MOSI : PA5/PA6/PA7 (SPI to external nor flash IS25LP128)

  • SPI2 SCK/MISO/MOSI : PB13/PB14/PB15 (SPI to external ADIN2111)

  • LED1 : POWER (Green LED)

  • UC_LED1 : PB6 (Blue LED)

  • MOD LED1 : PE2 (SR LED)

  • MOD LED2 : PE6 (BG LED)

  • NET LED1 : PB10 (SR LED)

  • NET LED2 : PB11 (BG LED)

System Clock

EVAL-ADIN2111EBZ System Clock could be driven by an internal or external oscillator, as well as the main PLL clock. By default the System clock is driven by the PLL clock at 80MHz, driven by the 16MHz high speed internal oscillator.

Serial Port

EVAL-ADIN2111EBZ has 1 U(S)ART. The Zephyr console output is assigned to UART1 that is connected to a FT232, available through Micro USB connector. Default settings are 115200 8N1. Same UART1 TX and RX cmos signals are available before the FT232, at P9 connector.

Programming and Debugging

Flashing

EVAL-ADIN2111EBZ includes an ST-LINK/V2-1 JTAG/SWD 10 or 20 pin connector. This interface is supported by the openocd version included in Zephyr SDK.

Flashing an application to Discovery kit

Connect the EVAL-ADIN2111EBZ to your host computer using the USB port, then run a serial host program to connect with your ADI board. For example:

$ minicom -D /dev/serial/by-id/usb-ADI_EVAL-ADIN2111EBZ_XXXXXX-12-if00-port0

where XXXXXX is the serial number of the connected device. Then, build and flash in the usual way. Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b adi_eval_adin2111ebz samples/hello_world
west flash

You should see the following message on the console:

Hello World! adi_eval_adin2111ebz

Debugging

You can debug an application in the usual way. Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b adi_eval_adin2111ebz samples/hello_world
west debug