Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/sphinx/source/projects/eval/cn0565.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../../../../../projects/cn0565/README.rst
265 changes: 265 additions & 0 deletions projects/cn0565/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,265 @@
CN0565 no-OS Example Project
============================

.. contents::
:depth: 3

Supported Evaluation Boards
---------------------------

- :adi:`EVAL-CN0565-ARDZ`

Overview
--------

The EVAL-CN0565-ARDZ is a specialized evaluation board for Electrical
Impedance Tomography (EIT). Designed to be cost-effective and
non-radiative, it utilizes impedance measurements to visualize internal
structures. The board can handle setups with up to 24 electrodes,
supported by a 12-channel crosspoint switch for efficient
multi-electrode operation. Enhanced safety and reliability are
prioritized through its power isolation features. Aligning with Arduino
standards, this board is compatible with various development platforms
and serves well in applications requiring detailed electrical impedance
analysis, particularly beneficial in non-invasive medical imaging.

Applications
------------

- Electrical impedance tomography
- Bioimpedance applications
- Medical imaging

Hardware Specifications
-----------------------

Power Supply Requirements
~~~~~~~~~~~~~~~~~~~~~~~~~

The EVAL-CN0565-ARDZ board relies on a 5 V supply provided by the host
platform. This supply powers an ADuM5020 isolated DC-to-DC converter,
which generates an isolated 5V output at 500 mW. This isolated output
drives the impedance measurement circuitry. Additionally, the 5V is
regulated to 3.3V by the ADM7150 to supply 120 mA for components such
as the AD5940. The AD8829 inverter converts the isolated 5V to a ±5V
dual supply for other parts of the circuit, ensuring stable and isolated
power vital for accurate impedance measurements.

On-board Connectors
~~~~~~~~~~~~~~~~~~~

+-----------------------------------+-----------------------------------+
| Connector | Description |
+-----------------------------------+-----------------------------------+
| P1 | DUT Connections - Common for |
| | various device under test |
| | connections |
+-----------------------------------+-----------------------------------+
| P7 | Commonly used for power and |
| | communication interface |
| | connections |
+-----------------------------------+-----------------------------------+
| P10 | Micro-USB power connection to the |
| | Carrier Board |
+-----------------------------------+-----------------------------------+

EVAL-CN0565-ARDZ Digital Communication Pins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

======== =================== ======================================
Pin Name Mnemonic Function
P5-2 IOVDD Power - regulated supply for sensor
P5-4 3V Power Supply, 3V
P5-5 5V Power Supply, 5V
P7-4 MOSI Master Out, Slave In – transmit data
P7-5 MISO Master In, Slave Out – receive data
P7-6 SCK SPI Clock – synchronizes data transfer
P7-7 GND Ground
======== =================== ======================================

Carrier Board - Digital Communication Pins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+-------------+-------------+-------------+-------------+
| Connector | **Pin | **ADuCM3029 | **ADuCM3029 |
| | Name** | Pin | Port |
| | | Function** | Number** |
+-------------+-------------+-------------+-------------+
| Arduino DIO | SCL | I2C0_SCL / | P0_04 |
| High | | GPIO04 | |
+-------------+-------------+-------------+-------------+
| | SDA | I2C0_SDA / | P0_05 |
| | | | GPIO05 |
+-------------+-------------+-------------+-------------+
| | AREF | VREF+ | — |
+-------------+-------------+-------------+-------------+
| | AGND | Analog | — |
| | | | Ground |
| | | | (AGND) |
+-------------+-------------+-------------+-------------+
| | SCLK | SPI0_CLK / | P0_00 |
| | | | SPT0_BCLK / |
| | | | GPIO00 |
+-------------+-------------+-------------+-------------+
| | MISO | SPI0_MISO / | P0_02 |
| | | | SPT0_BD0 / |
| | | | GPIO02 |
+-------------+-------------+-------------+-------------+
| | MOSI | SPI0_MOSI / | P0_01 |
| | | | SPT0_BFS / |
| | | | GPIO01 |
+-------------+-------------+-------------+-------------+
| | CS | SPI10_CS1 / | P0_26 |
| | | | SYS_CLKIN / |
| | | | SPI1_CS3 / |
| | | | GPIO26 |
+-------------+-------------+-------------+-------------+
| | RDY | SPI_RDY / | P0_30 |
| | | | GPIO30 |
+-------------+-------------+-------------+-------------+
| | IO28 | GPIO28 | P0_28 |
+-------------+-------------+-------------+-------------+

No-OS Build Setup
-----------------

Please see: `https://wiki.analog.com/resources/no-os/build`

No-OS Supported Examples
------------------------

The initialization data used in the examples is taken out from the
`Project Data Source Path <https://github.com/analogdevicesinc/no-OS/tree/e31142c6e7b08e6b4cee40f1997aef3b48cbca79/projects/cn0565/src>`__.

IIO example
~~~~~~~~~~~

The IIO example code for the EVAL-CN0565-ARDZ board in the no-OS project
interfaces with the AD5940 and ADG2128 components to facilitate
Electrical Impedance Tomography (EIT). The code initializes the IIO

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nitpick, can start calling it just EIT since already described in overview

interfaces for both components, configures UART parameters, and sets up
an array of devices passed to the IIO application initialization
function. It supports various platforms like STM32 and ADuCM3029,
allowing data streaming and interaction with host systems through the
IIO Daemon (IIOD) for real-time data exchange and device control,
crucial for detailed impedance analysis.

This project is actually an IIOD demo for EVAL-CN0565-ARDZ board. The
project launches a IIOD server on the board so that the user may connect
to it via an IIO client. Using IIO Oscilloscope, the user can configure
the ADC and view the measured data on a plot.

If you are not familiar with ADI IIO Application, please take a look at:
`IIO No-OS <https://wiki.analog.com/resources/tools-software/no-os-software/iio>`__.

If you are not familiar with ADI IIO-Oscilloscope Client, please take a
look at:
`IIO Oscilloscope <https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope>`__.

The No-OS IIO Application together with the No-OS IIO AD5940 and ADG2128
drivers take care of all the back-end logic needed to setup the IIO
server.

In order to build the IIO project, make sure you have the following
configuration in the
`Makefile: <https://github.com/analogdevicesinc/no-OS/blob/e31142c6e7b08e6b4cee40f1997aef3b48cbca79/projects/cn0565/Makefile>`__

.. code-block:: bash

IIOD=y

No-OS Supported Platforms
-------------------------

ADuCM Platform
~~~~~~~~~~~~~~

Hardware Used
^^^^^^^^^^^^^

- EVAL-CN0565-ARDZ evaluation board
- EVAL-ADICUP3029 development platform

Connections
^^^^^^^^^^^

+-----------------------------------+-----------------------------------+
| **Component** | **Connection Details** |
+-----------------------------------+-----------------------------------+
| EVAL-CN0565-ARDZ | Align with EVAL-ADICUP3029 so |
| | connectors match |
+-----------------------------------+-----------------------------------+
| Arduino Headers | Use male and female header pins |
| | to securely attach |
| | EVAL-CN0565-ARDZ on top of |
| | ADICUP3029 |
+-----------------------------------+-----------------------------------+
| Micro USB Cable | Connect to EVAL-ADICUP3029 from |
| | USB power source or PC |
+-----------------------------------+-----------------------------------+
| UART Switch (S2) on | Set to middle position to enable |
| EVAL-ADICUP3029 | UART via Arduino connector |
+-----------------------------------+-----------------------------------+
| DS2 LED on EVAL-CN0565-ARDZ | Should turn green to confirm |
| | power is received |
+-----------------------------------+-----------------------------------+

Build Command
^^^^^^^^^^^^^

.. code-block:: bash

cd no-OS/projects/cn0565

export PLATFORM=aducm3029
# to build the project
make
# to flash the code
make run
# to debug the code
make debug

STM32 Platform
~~~~~~~~~~~~~~~

Hardware Used
^^^^^^^^^^^^^

- EVAL-CN0565-ARDZ evaluation board
- EVAL-SDP-CK1Z (SDP-K1) development platform

Connections
^^^^^^^^^^^

+-----------------------------------+-----------------------------------+
| **Component** | **Connection Details** |
+-----------------------------------+-----------------------------------+
| EVAL-CN0565-ARDZ | Connect to SDP-K1 via 120-pin |
| | connector |
+-----------------------------------+-----------------------------------+
| VIO_ADJUST Header (SDP-K1) | Configure based on CN0565 voltage |
| | requirements (defaults to 1.8V if |
| | jumper is absent) |
+-----------------------------------+-----------------------------------+
| Power Source | Use USB mini-B cable or DC jack |
| | (7V to 12V, center positive, ≥300 |
| | mA) |
+-----------------------------------+-----------------------------------+
| USB Communication | Connect SDP-K1 to PC via USB |
+-----------------------------------+-----------------------------------+

Build Command
^^^^^^^^^^^^^

.. code-block:: bash

cd no-OS/projects/cn0565

# to delete current build
make reset
# to build the project
make PLATFORM=stm32
# to flash the code
make run
# to debug the code
make debug
Loading