|
| 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 |
| 139 | +Electrical Impedance Tomography (EIT). The code initializes the IIO |
| 140 | +interfaces for both components, configures UART parameters, and sets up |
| 141 | +an array of devices passed to the IIO application initialization |
| 142 | +function. It supports various platforms like STM32 and ADuCM3029, |
| 143 | +allowing data streaming and interaction with host systems through the |
| 144 | +IIO Daemon (IIOD) for real-time data exchange and device control, |
| 145 | +crucial for detailed impedance analysis. |
| 146 | + |
| 147 | +This project is actually an IIOD demo for EVAL-CN0565-ARDZ board. The |
| 148 | +project launches a IIOD server on the board so that the user may connect |
| 149 | +to it via an IIO client. Using IIO Oscilloscope, the user can configure |
| 150 | +the ADC and view the measured data on a plot. |
| 151 | + |
| 152 | +If you are not familiar with ADI IIO Application, please take a look at: |
| 153 | +`IIO No-OS <https://wiki.analog.com/resources/tools-software/no-os-software/iio>`__. |
| 154 | + |
| 155 | +If you are not familiar with ADI IIO-Oscilloscope Client, please take a |
| 156 | +look at: |
| 157 | +`IIO Oscilloscope <https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope>`__. |
| 158 | + |
| 159 | +The No-OS IIO Application together with the No-OS IIO AD5940 and ADG2128 |
| 160 | +drivers take care of all the back-end logic needed to setup the IIO |
| 161 | +server. |
| 162 | + |
| 163 | +In order to build the IIO project, make sure you have the following |
| 164 | +configuration in the |
| 165 | +`Makefile: <https://github.com/analogdevicesinc/no-OS/blob/e31142c6e7b08e6b4cee40f1997aef3b48cbca79/projects/cn0565/Makefile>`__ |
| 166 | + |
| 167 | +.. code-block:: bash |
| 168 | + |
| 169 | + IIOD=y |
| 170 | +
|
| 171 | +No-OS Supported Platforms |
| 172 | +------------------------- |
| 173 | + |
| 174 | +ADuCM Platform |
| 175 | +~~~~~~~~~~~~~~ |
| 176 | + |
| 177 | +Hardware Used |
| 178 | +^^^^^^^^^^^^^ |
| 179 | + |
| 180 | +- EVAL-CN0565-ARDZ evaluation board |
| 181 | +- EVAL-ADICUP3029 development platform |
| 182 | + |
| 183 | +Connections |
| 184 | +^^^^^^^^^^^ |
| 185 | + |
| 186 | ++-----------------------------------+-----------------------------------+ |
| 187 | +| **Component** | **Connection Details** | |
| 188 | ++-----------------------------------+-----------------------------------+ |
| 189 | +| EVAL-CN0565-ARDZ | Align with EVAL-ADICUP3029 so | |
| 190 | +| | connectors match | |
| 191 | ++-----------------------------------+-----------------------------------+ |
| 192 | +| Arduino Headers | Use male and female header pins | |
| 193 | +| | to securely attach | |
| 194 | +| | EVAL-CN0565-ARDZ on top of | |
| 195 | +| | ADICUP3029 | |
| 196 | ++-----------------------------------+-----------------------------------+ |
| 197 | +| Micro USB Cable | Connect to EVAL-ADICUP3029 from | |
| 198 | +| | USB power source or PC | |
| 199 | ++-----------------------------------+-----------------------------------+ |
| 200 | +| UART Switch (S2) on | Set to middle position to enable | |
| 201 | +| EVAL-ADICUP3029 | UART via Arduino connector | |
| 202 | ++-----------------------------------+-----------------------------------+ |
| 203 | +| DS2 LED on EVAL-CN0565-ARDZ | Should turn green to confirm | |
| 204 | +| | power is received | |
| 205 | ++-----------------------------------+-----------------------------------+ |
| 206 | + |
| 207 | +Build Command |
| 208 | +^^^^^^^^^^^^^ |
| 209 | + |
| 210 | +.. code-block:: bash |
| 211 | +
|
| 212 | + cd no-OS/projects/cn0565 |
| 213 | +
|
| 214 | + export PLATFORM=aducm3029 |
| 215 | + # to build the project |
| 216 | + make |
| 217 | + # to flash the code |
| 218 | + make run |
| 219 | + # to debug the code |
| 220 | + make debug |
| 221 | +
|
| 222 | +STM32 Platform |
| 223 | +~~~~~~~~~~~~~~~ |
| 224 | + |
| 225 | +Hardware Used |
| 226 | +^^^^^^^^^^^^^ |
| 227 | + |
| 228 | +- EVAL-CN0565-ARDZ evaluation board |
| 229 | +- EVAL-SDP-CK1Z (SDP-K1) development platform |
| 230 | + |
| 231 | +Connections |
| 232 | +^^^^^^^^^^^ |
| 233 | + |
| 234 | ++-----------------------------------+-----------------------------------+ |
| 235 | +| **Component** | **Connection Details** | |
| 236 | ++-----------------------------------+-----------------------------------+ |
| 237 | +| EVAL-CN0565-ARDZ | Connect to SDP-K1 via 120-pin | |
| 238 | +| | connector | |
| 239 | ++-----------------------------------+-----------------------------------+ |
| 240 | +| VIO_ADJUST Header (SDP-K1) | Configure based on CN0565 voltage | |
| 241 | +| | requirements (defaults to 1.8V if | |
| 242 | +| | jumper is absent) | |
| 243 | ++-----------------------------------+-----------------------------------+ |
| 244 | +| Power Source | Use USB mini-B cable or DC jack | |
| 245 | +| | (7V to 12V, center positive, ≥300 | |
| 246 | +| | mA) | |
| 247 | ++-----------------------------------+-----------------------------------+ |
| 248 | +| USB Communication | Connect SDP-K1 to PC via USB | |
| 249 | ++-----------------------------------+-----------------------------------+ |
| 250 | + |
| 251 | +Build Command |
| 252 | +^^^^^^^^^^^^^ |
| 253 | + |
| 254 | +.. code-block:: bash |
| 255 | +
|
| 256 | + cd no-OS/projects/cn0565 |
| 257 | +
|
| 258 | + # to delete current build |
| 259 | + make reset |
| 260 | + # to build the project |
| 261 | + make PLATFORM=stm32 |
| 262 | + # to flash the code |
| 263 | + make run |
| 264 | + # to debug the code |
| 265 | + make debug |
0 commit comments