DE10-Nano Quickstart

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/images/DE10Nano.jpg

Requirements

Hardware

  1. EVAL-CN0540-ARDZ

  2. DE10-Nano on Arduino shield connector

    1. 5V/2A Wall Power supply with barrel jack (comes with DE10-Nano)

    2. mini USB to USB Type A (comes with DE10-Nano)

  3. Class 10 16GB SD Card

  4. Ethernet cable

  5. IEPE Compatible Sensor

Software

Setup

SD-Card

To prepare the SD-card for the DE10-Nano board:

  1. Download ADI Kuiper Image for CN0540

  2. Validate, Format, and Flash the SD Card

    1. Format and flash the SD Card using Windows

    2. Format and flash the SD Card using Linux

Once microSD card has been imaged, safely remove the hardware from the SD card writer, and insert the card directly into the microSD card slot on the DE10-Nano.

Download and Install IIO-Oscilloscope

Download the latest IIO-Oscilloscope release from Github, and install it on your PC. (You may need to right-click the installer, and run as “Elevated” in order to get it to install.)

DE10-Nano Hardware Configuration

The DE10-Nano comes ready to use out of the box, but it is important to double check that the FPGA Configuration Mode Switch (S10) is configured properly. See the image below for the proper configuration, and if more information is needed, check out the DE10‑Nano Getting Started Guide

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/images/de10-nano_fpga_switch_matrix.png

Cable & Connectors

Connect the power, cables, and sensor according to the diagram below.

  1. Ethernet cable

  2. Sensor Input

  3. Miniusb cable

  4. Power cable

Boot Sequencing

Once the microSD card and cables have been connected to the DE10-Nano and EVAL-CN0540-ARDZ, it’s now time to boot the system.

  1. Connect the other end of the Ethernet cable into a router or other network connection. This will be the easiest way to stream and save the data.

    Info

    If you don’t have a network available and want to stream data directly from the Ethernet port of the DE10-Nano to the Ethernet port of your PC, that is still possible, but requires some extra configuration. Please see the [Wiki] Network Configuration page for complete details.

  2. Using the Arduino pins, plug in the EVAL-CN0540-ARDZ on top of the DE10-Nano.

    Note

    You may leave the plexiglass as is — the EVAL-CN0540-ARDZ board will plug in without issue.

  3. Plug your sensor into the SMA connector on the EVAL-CN0540-ARDZ.

    1. You may also connect your sensor into the 2‑pin header at P1 if your sensor does not have an SMA output.

  4. Plug the UART cable into your PC’s USB port.

    1. A driver for the board should automatically be detected and installed. If this does not happen, you may need to manually install the driver.

      Here is a link to the UART Serial Driver.

  5. Plug the power supply into the wall outlet and power up the setup.

https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/images/cn0540_de10nano.jpg

Finding your CN0540

Before you can start gathering data, you first must locate the EVAL-CN0540-ARDZ on your network.

  1. Set up UART serial communication between your PC and the DE10-Nano board using the micro USB to USB Type‑A cable.

  2. Using your Device Manager, locate the COM port assigned to the DE10-Nano board.

  3. Open PuTTY, Tera Term, or another serial terminal program. Open a terminal to the COM port of the DE10‑Nano by setting the baud rate to 115200, then connect.

  4. The serial terminal connection will auto‑login and place you in the root directory of the SD card.

  5. From here, it’s a good idea to check whether your devices can be detected by typing iio_info into the terminal and pressing Enter.

    1. This should provide a list of devices along with their channels and attributes.

  6. Type ifconfig into the terminal and press Enter.

  7. The command output will include the network information for the DE10‑Nano. From there, locate the inet address of eth0.

    https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/images/cn0540_serial_terminal_linux_ifconfig_inet.png
  8. Open up the IIO-Oscilloscope application on your PC

  9. Set the radio button for “Remote Devices” and type the inet address you just found, hit the “Refresh” button, and then click “Ok”.

    https://media.githubusercontent.com/media/analogdevicesinc/documentation/main/docs/solutions/reference-designs/images/cn0540_iio_oscilloscope_board_found.png

Using the System with IIO Oscilloscope

EVAL-CN0540-ARDZ Plugin