boards/adi/eval_adin1110ebz/doc/index.rst
.. zephyr:board:: adi_eval_adin1110ebz
Overview
The EVAL-ADIN1110EBZ is a flexible platform enabling quick evaluation of the ADIN1110, robust, low power 10BASE-T1L MAC-PHY. It provides 10Mbit per second Single Pair Ethernet (SPE) connections with devices across 1.7km of cable.
The evaluation board offers two modes of operation for maximum flexibility. Connected to a PC via USB port, the full set of ADIN1110 register settings and features such as link quality monitoring and diagnostics can be accessed over the USB using serial command interface. The board also provides an Arduino interface.
Alternatively, the board can operate in stand-alone mode where it is configured by setting hardware configuration links and switches. On-board LEDs provide status indication.
The SPI interface provides configuration and data access to the ADIN1110.
A small prototyping area and test points are provided for experimentation with alternative cable connection topologies including isolation transformers and/or power coupling inductors.
.. important::
S201 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 S201 DIP switches must be set as SPI_CFG0 OFF and SPI_CFG1 ON.
An inconsistent S201 DIP switches configuration will halt the boot.
Hardware
The ADI EVAL-ADIN1110EBZ hardware features list is available here:
https://wiki.analog.com/resources/eval/user-guides/eval-adin1110ebz-user-guide
.. zephyr:board-supported-hw::
ADI ADIN1110EBZ 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-ADIN1110EBZ User Guide <https://wiki.analog.com/resources/eval/user-guides/eval-adin1110ebz-user-guide>_.
EVAL-ADIN1110EBZ 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.
EVAL-ADIN1110EBZ has 2 U(S)ARTs. The Zephyr console output is assigned to UART1 that is connected to a FT232, so available through Micro USB connector. Default settings are 115200 8N1.
Programming and Debugging
.. zephyr:board-supported-runners::
EVAL-ADIN1110EBZ 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.
Connect the EVAL-ADIN1110EBZ to your host computer using the USB port, then run a serial host program to connect with your ADI board. For example:
.. code-block:: console
$ minicom -D /dev/serial/by-id/usb-ADI_EVAL-ADIN1110EBZ_AVAS_XXXXXX-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 :zephyr:code-sample:hello_world application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: adi_eval_adin1110ebz :goals: build flash
You should see the following message on the console:
.. code-block:: console
Hello World! adi_eval_adin1110ebz
You can debug an application in the usual way. Here is an example for the :zephyr:code-sample:hello_world
application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: adi_eval_adin1110ebz :maybe-skip-config: :goals: debug
.. _EVAL-ADIN1110EBZ evaluation board website: https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-adin1110.html
.. _EVAL-ADIN1110EBZ board User Guide: https://wiki.analog.com/resources/eval/user-guides/eval-adin1110ebz-user-guide
.. _ADIN1110 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/adin1110.pdf
.. _STM32L4S5QII3P reference manual: https://www.st.com/resource/en/reference_manual/rm0432-stm32l4-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdf