CN0561 no-OS Example Project
See projects/cn0561 (doxygen) for the Doxygen documentation.
Supported Evaluation Boards
Overview
The EVAL-CN0561-ARDZ is a data acquisition system tailored for vibration analysis, primarily utilizing IEPE sensors. Designed to evaluate and forecast mechanical health, it employs a precise 24-bit AD4134 ADC capable of continuous-time sampling at 1.496 MSPS. Supplementing this is the LTC6373, a differential output instrumentation amplifier, and the LT3092, a programmable two-terminal current source, enhancing data processing efficiency. Its compatibility with Arduino systems facilitates integration with diverse platforms, offering robust fault detection for increased system reliability.
Applications
Data Acquisition for IEPE Sensors
Temperature Monitoring
Strain Measurement
Shock Detection
Displacement Sensing
Condition-Based Monitoring
Hardware Specifications
Power Supply Requirements
The EVAL-CN0561-ARDZ requires a DC power supply input ranging from 9V to 12V. The board is designed to draw power from a microcontroller or development board via Arduino-style or FMCZ-type connectors. It handles an initial inrush current of up to 200mA for power-up, while steady state operation needs around 250mA. The power system within the board generates necessary operational voltages: 5V and 1.8V for the AD4134 ADC, and +/-15V for the instrumentation amplifier and current source circuits. The LT3092 component provides a constant current of 2.5mA to IEPE sensors. To accommodate potential power fluctuations, a power source capable of delivering 1.5A consistently is recommended.
Connectors
Connector |
Type |
Description |
|---|---|---|
P1, P2, P3, P4, |
Arduino Connectors |
General data interfacing with the |
P5 |
evaluation board |
|
P17 |
Arduino Zio Connector |
|
P3 |
FMCZ Connector |
Used for high-speed data acquisition |
P6, P7, J6, J8 |
SMA Connectors |
|
P8 |
Analog Input |
|
P9 |
External Power Input |
|
P14 |
External Supply |
|
J5, J7 |
Additional SMA Connectors |
Amenities for further analog channels |
P11, P12 |
Optional Connectors |
|
No-OS Build Setup
Please see: No-OS Build Setup
No-OS Supported Examples
The initialization data used in the examples is taken out from: Project Source Data Path
UART example
In the CN0561 no-OS project, the UART example code establishes
communication by configuring the UART interface with key parameters such
as UART_DEVICE_ID, UART_IRQ_ID, and UART_BAUDRATE. This
setup allows communication at a baud rate of 115200. The UART
configuration is conditionally included when IIO_SUPPORT is enabled,
integrating the UART for data exchange within the IIO application. This
interface supports interaction with the AD713x ADC device, facilitating
data acquisition and communication with external applications necessary
for industrial diagnostics.
In order to build the uart example, make sure you have the following configuration in the build.json file:
#Use this if you are using a Zedboard as carrier
NEW_CFLAGS=-DCN0561_ZED_CARRIER
#Use this if you are using Cora Z7S as carrier
NEW_CFLAGS=-DCN0561_CORAZ7S_CARRIER
IIO example
The IIO demo is a standard example, provided in most no-OS projects, that launches an IIOD server on the board so that the user may connect to it via an IIO client. Using the IIO Oscilloscope application, users can configure the ADC for data acquisition, using DMA to transfer ADC data to memory and converting raw data into voltage readings accessible via the IIO interface.
If you are not familiar with ADI IIO Application, please take a look at: IIO No-OS
If you are not familiar with ADI IIO Oscilloscope Client, please take a look at: IIO Oscilloscope
To build the IIOD demo, add the following flags when invoking make. This will build the IIOD server and the IIO section of the driver:
#Use this if you are using a Zedboard as carrier
IIOD=y NEW_CFLAGS=-DCN0561_ZED_CARRIER
#Use this if you are using Cora Z7S as carrier
IIOD=y NEW_CFLAGS=-DCN0561_CORAZ7S_CARRIER
No-OS Supported Platforms
Xilinx Platform
Used Hardware
EVAL-CN0561-ARDZ evaluation board
Cora Z7-07S Zynq-7000 or ZedBoard
Connections - ZedBoard
Component |
Connection Details |
|---|---|
EVAL-CN0561-ARDZ |
Connect to ZedBoard via FMC Connector (P3) for data and power |
Power Supply Input |
9V to 12V input, typically supplied by ZedBoard |
Gigabit Ethernet |
Connect Ethernet cable to Host PC for network |
Port |
communication |
SMA Connectors |
Connect IEPE sensors to CN0561 SMA connectors |
Connections - Cora Z7S
Component |
Connection Details |
|---|---|
EVAL-CN0561-ARDZ |
Plug directly onto Cora Z7S Arduino/chipKIT shield connector |
Analog Inputs |
A0 to A11 routed from CN0561 analog channels via |
A0 to A11 |
XADC Inputs (FPGA); follow Arduino convention |
I/O Voltage Limit |
Max 3.4V (absolute max 3.75V); CN0561 must not exceed this |
Analog Input Range |
Differential: 0V to 1V; Single-ended: scaled to 0V to 3.3V via resistor divider |
Power Input |
Do not power through CN0561 shield; use Cora Z7S main input only |
Build Command
ZedBoard:
cp <SOME_PATH>/system_top.xsa .
# to delete current build
make reset
# to build the project
make PLATFORM=xilinx
make TARGET=cn0561_zed IIOD=y NEW_CFLAGS=-DCN0561_ZED_CARRIER
# to flash the code
make run
Cora Z7S:
cp <SOME_PATH>/system_top.xsa .
# to delete current build
make reset
# to build the project
make PLATFORM=xilinx
make TARGET=cn0561_coraz7s IIOD=y NEW_CFLAGS=-DCN0561_CORAZ7S_CARRIER
# to flash the code
make run