Skip to content

Commit 8a11caa

Browse files
committed
projects: CN0565: Added readme doc
Signed-off-by: Joyce Velasco <[email protected]>
1 parent 78703a5 commit 8a11caa

File tree

2 files changed

+265
-0
lines changed

2 files changed

+265
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.. include:: ../../../../../projects/cn0565/README.rst

projects/cn0565/README.rst

Lines changed: 264 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,264 @@
1+
CN0565 no-OS Example Project
2+
============================
3+
4+
.. contents::
5+
:depth: 3
6+
7+
Supported Evaluation Boards
8+
---------------------------
9+
10+
- :adi:`EVAL-CN0565-ARDZ`
11+
12+
Overview
13+
--------
14+
15+
The EVAL-CN0565-ARDZ is a specialized evaluation board for Electrical
16+
Impedance Tomography (EIT). Designed to be cost-effective and
17+
non-radiative, it utilizes impedance measurements to visualize internal
18+
structures. The board can handle setups with up to 24 electrodes,
19+
supported by a 12-channel crosspoint switch for efficient
20+
multi-electrode operation. Enhanced safety and reliability are
21+
prioritized through its power isolation features. Aligning with Arduino
22+
standards, this board is compatible with various development platforms
23+
and serves well in applications requiring detailed electrical impedance
24+
analysis, particularly beneficial in non-invasive medical imaging.
25+
26+
Applications
27+
------------
28+
29+
- Electrical impedance tomography
30+
- Bioimpedance applications
31+
- Medical imaging
32+
33+
Hardware Specifications
34+
-----------------------
35+
36+
Power Supply Requirements
37+
~~~~~~~~~~~~~~~~~~~~~~~~~
38+
39+
The EVAL-CN0565-ARDZ board relies on a 5 V supply provided by the host
40+
platform. This supply powers an ADuM5020 isolated DC-to-DC converter,
41+
which generates an isolated 5V output at 500 mW. This isolated output
42+
drives the impedance measurement circuitry. Additionally, the 5V is
43+
regulated to 3.3V by the ADM7150 to supply 120 mA for components such
44+
as the AD5940. The AD8829 inverter converts the isolated 5V to a ±5V
45+
dual supply for other parts of the circuit, ensuring stable and isolated
46+
power vital for accurate impedance measurements.
47+
48+
On-board Connectors
49+
~~~~~~~~~~~~~~~~~~~
50+
51+
+-----------------------------------+-----------------------------------+
52+
| Connector | Description |
53+
+-----------------------------------+-----------------------------------+
54+
| P1 | DUT Connections - Common for |
55+
| | various device under test |
56+
| | connections |
57+
+-----------------------------------+-----------------------------------+
58+
| P7 | Commonly used for power and |
59+
| | communication interface |
60+
| | connections |
61+
+-----------------------------------+-----------------------------------+
62+
| P10 | Micro-USB power connection to the |
63+
| | Carrier Board |
64+
+-----------------------------------+-----------------------------------+
65+
66+
EVAL-CN0565-ARDZ Digital Communication Pins
67+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68+
69+
======== =================== ======================================
70+
Pin Name Mnemonic Function
71+
P5-2 IOVDD Power - regulated supply for sensor
72+
P5-4 3V Power Supply, 3V
73+
P5-5 5V Power Supply, 5V
74+
P7-4 MOSI Master Out, Slave In – transmit data
75+
P7-5 MISO Master In, Slave Out – receive data
76+
P7-6 SCK SPI Clock – synchronizes data transfer
77+
P7-7 GND Ground
78+
======== =================== ======================================
79+
80+
Carrier Board - Digital Communication Pins
81+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82+
83+
+-------------+-------------+-------------+-------------+
84+
| Connector | **Pin | **ADuCM3029 | **ADuCM3029 |
85+
| | Name** | Pin | Port |
86+
| | | Function** | Number** |
87+
+-------------+-------------+-------------+-------------+
88+
| Arduino DIO | SCL | I2C0_SCL / | P0_04 |
89+
| High | | GPIO04 | |
90+
+-------------+-------------+-------------+-------------+
91+
| | SDA | I2C0_SDA / | P0_05 |
92+
| | | | GPIO05 |
93+
+-------------+-------------+-------------+-------------+
94+
| | AREF | VREF+ ||
95+
+-------------+-------------+-------------+-------------+
96+
| | AGND | Analog ||
97+
| | | | Ground |
98+
| | | | (AGND) |
99+
+-------------+-------------+-------------+-------------+
100+
| | SCLK | SPI0_CLK / | P0_00 |
101+
| | | | SPT0_BCLK / |
102+
| | | | GPIO00 |
103+
+-------------+-------------+-------------+-------------+
104+
| | MISO | SPI0_MISO / | P0_02 |
105+
| | | | SPT0_BD0 / |
106+
| | | | GPIO02 |
107+
+-------------+-------------+-------------+-------------+
108+
| | MOSI | SPI0_MOSI / | P0_01 |
109+
| | | | SPT0_BFS / |
110+
| | | | GPIO01 |
111+
+-------------+-------------+-------------+-------------+
112+
| | CS | SPI10_CS1 / | P0_26 |
113+
| | | | SYS_CLKIN / |
114+
| | | | SPI1_CS3 / |
115+
| | | | GPIO26 |
116+
+-------------+-------------+-------------+-------------+
117+
| | RDY | SPI_RDY / | P0_30 |
118+
| | | | GPIO30 |
119+
+-------------+-------------+-------------+-------------+
120+
| | IO28 | GPIO28 | P0_28 |
121+
+-------------+-------------+-------------+-------------+
122+
123+
No-OS Build Setup
124+
-----------------
125+
126+
Please see: `https://wiki.analog.com/resources/no-os/build`
127+
128+
No-OS Supported Examples
129+
------------------------
130+
131+
The initialization data used in the examples is taken out from the
132+
`Project Data Source Path <https://github.com/analogdevicesinc/no-OS/tree/e31142c6e7b08e6b4cee40f1997aef3b48cbca79/projects/cn0565/src>`__.
133+
134+
IIO example
135+
~~~~~~~~~~~
136+
137+
The IIO example code for the EVAL-CN0565-ARDZ board in the no-OS project
138+
interfaces with the AD5940 and ADG2128 components to facilitate EIT.
139+
The code initializes the IIO interfaces for both components,
140+
configures UART parameters, and sets up an array of devices passed
141+
to the IIO application initialization function. It supports various platforms
142+
like STM32 and ADuCM3029, allowing data streaming and interaction
143+
with host systems through the IIO Daemon (IIOD) for real-time data exchange
144+
and device control, crucial for detailed impedance analysis.
145+
146+
This project is actually an IIOD demo for EVAL-CN0565-ARDZ board. The
147+
project launches a IIOD server on the board so that the user may connect
148+
to it via an IIO client. Using IIO Oscilloscope, the user can configure
149+
the ADC and view the measured data on a plot.
150+
151+
If you are not familiar with ADI IIO Application, please take a look at:
152+
`IIO No-OS <https://wiki.analog.com/resources/tools-software/no-os-software/iio>`__.
153+
154+
If you are not familiar with ADI IIO-Oscilloscope Client, please take a
155+
look at:
156+
`IIO Oscilloscope <https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope>`__.
157+
158+
The No-OS IIO Application together with the No-OS IIO AD5940 and ADG2128
159+
drivers take care of all the back-end logic needed to setup the IIO
160+
server.
161+
162+
In order to build the IIO project, make sure you have the following
163+
configuration in the
164+
`Makefile: <https://github.com/analogdevicesinc/no-OS/blob/e31142c6e7b08e6b4cee40f1997aef3b48cbca79/projects/cn0565/Makefile>`__
165+
166+
.. code-block:: bash
167+
168+
IIOD=y
169+
170+
No-OS Supported Platforms
171+
-------------------------
172+
173+
ADuCM Platform
174+
~~~~~~~~~~~~~~
175+
176+
Hardware Used
177+
^^^^^^^^^^^^^
178+
179+
- EVAL-CN0565-ARDZ evaluation board
180+
- EVAL-ADICUP3029 development platform
181+
182+
Connections
183+
^^^^^^^^^^^
184+
185+
+-----------------------------------+-----------------------------------+
186+
| **Component** | **Connection Details** |
187+
+-----------------------------------+-----------------------------------+
188+
| EVAL-CN0565-ARDZ | Align with EVAL-ADICUP3029 so |
189+
| | connectors match |
190+
+-----------------------------------+-----------------------------------+
191+
| Arduino Headers | Use male and female header pins |
192+
| | to securely attach |
193+
| | EVAL-CN0565-ARDZ on top of |
194+
| | ADICUP3029 |
195+
+-----------------------------------+-----------------------------------+
196+
| Micro USB Cable | Connect to EVAL-ADICUP3029 from |
197+
| | USB power source or PC |
198+
+-----------------------------------+-----------------------------------+
199+
| UART Switch (S2) on | Set to middle position to enable |
200+
| EVAL-ADICUP3029 | UART via Arduino connector |
201+
+-----------------------------------+-----------------------------------+
202+
| DS2 LED on EVAL-CN0565-ARDZ | Should turn green to confirm |
203+
| | power is received |
204+
+-----------------------------------+-----------------------------------+
205+
206+
Build Command
207+
^^^^^^^^^^^^^
208+
209+
.. code-block:: bash
210+
211+
cd no-OS/projects/cn0565
212+
213+
export PLATFORM=aducm3029
214+
# to build the project
215+
make
216+
# to flash the code
217+
make run
218+
# to debug the code
219+
make debug
220+
221+
STM32 Platform
222+
~~~~~~~~~~~~~~~
223+
224+
Hardware Used
225+
^^^^^^^^^^^^^
226+
227+
- EVAL-CN0565-ARDZ evaluation board
228+
- EVAL-SDP-CK1Z (SDP-K1) development platform
229+
230+
Connections
231+
^^^^^^^^^^^
232+
233+
+-----------------------------------+-----------------------------------+
234+
| **Component** | **Connection Details** |
235+
+-----------------------------------+-----------------------------------+
236+
| EVAL-CN0565-ARDZ | Connect to SDP-K1 via 120-pin |
237+
| | connector |
238+
+-----------------------------------+-----------------------------------+
239+
| VIO_ADJUST Header (SDP-K1) | Configure based on CN0565 voltage |
240+
| | requirements (defaults to 1.8V if |
241+
| | jumper is absent) |
242+
+-----------------------------------+-----------------------------------+
243+
| Power Source | Use USB mini-B cable or DC jack |
244+
| | (7V to 12V, center positive, ≥300 |
245+
| | mA) |
246+
+-----------------------------------+-----------------------------------+
247+
| USB Communication | Connect SDP-K1 to PC via USB |
248+
+-----------------------------------+-----------------------------------+
249+
250+
Build Command
251+
^^^^^^^^^^^^^
252+
253+
.. code-block:: bash
254+
255+
cd no-OS/projects/cn0565
256+
257+
# to delete current build
258+
make reset
259+
# to build the project
260+
make PLATFORM=stm32
261+
# to flash the code
262+
make run
263+
# to debug the code
264+
make debug

0 commit comments

Comments
 (0)