Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
resources:eval:user-guides:circuits-from-the-lab:cn0554 [27 Jan 2023 09:19] – Replaced the obsolete Kuiper Linux page link Joyce Velascoresources:eval:user-guides:circuits-from-the-lab:cn0554 [27 Jan 2023 21:44] (current) – adding sections to fill in Brandon Bushey
Line 28: Line 28:
 </wrap> </wrap>
  
-The [[ADI>EVAL-CN0554-RPIZ]] has nine jumper headers, eight are for selecting the attenuation of the eight pairs of analog inputs and one is for setting the write protection of onboard EEPROMs +==== ADC Header ==== 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0554:cn0554_jumper_headers.jpg?nolink&600 |}} + 
-<wrap center 50%> +Need details on the input connector and what to inputs go to what pin on the connector and ADC! 
-//<fc #c0c0c0>EVAL-CN0554-RPIZ Jumper Headers</fc>// + 
-</wrap> +
-\\+
 The table below shows the different configurations for each jumper header. The table below shows the different configurations for each jumper header.
 ^ Jumper Configuration ^ Input Range ^ ^ Jumper Configuration ^ Input Range ^
Line 39: Line 38:
 | Shorted Pins 3 and 5, and Pins 2 and 6 |  0 V to 27.5 V  | | Shorted Pins 3 and 5, and Pins 2 and 6 |  0 V to 27.5 V  |
 | No Connection |  2.5 V  | | No Connection |  2.5 V  |
-\\ +==== DAC Header ==== 
-\\ + 
-==== Chip Select ==== +Need details on the output connector and which connections go where on the DAC channels 
-Use an image here or a table with the reference designator and options + 
-{{:resources:eval:user-guides:eval-adicup360:hardware:cn0398:cn0398_board.png |}} +==== Dither and Toggle ====  
-\\  + 
-\\  +Need details on which pins this is on for the RPI and which outputs they affect 
-{{:resources:eval:user-guides:eval-adicup360:hardware:cn0398:cs_jumper.png |}}The chip select is configurable to be routed to 3 general purpose I/O pins of the board, digital pins 8, 9 and 10, allowing multiple boards using SPI communications protocol to be stacked up.+ 
 + 
 +The [[ADI>EVAL-CN0554-RPIZ]] has nine jumper headers, eight are for selecting the attenuation of the eight pairs of analog inputs and one is for setting the write protection of onboard EEPROMs 
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0554:cn0554_jumper_headers.jpg?nolink&600 |}} 
 +<wrap center 50%> 
 +//<fc #c0c0c0>EVAL-CN0554-RPIZ Jumper Headers</fc>// 
 +</wrap>
  
-===== Power Supply Considerations ===== 
  
-Terminal block **P3** is the power supply input (input range:+9.5V to +36V DC). The EARTH terminal can be connected to an external earth connection, to the GND terminal or left floating if an external earth connection is not used. 
  
-^  Main power setup    P3 terminals description  ^ 
-|  {{ :resources:eval:user-guides:eval-adicup3029:hardware:cn0414_supply.png?400 |}} |  {{ :resources:eval:user-guides:eval-adicup3029:hardware:cn0414_p3_description.png?250 |}}  | 
  
 ===== System Setup ===== ===== System Setup =====
Line 71: Line 72:
   * Digital voltmeter (6-digit or higher)   * Digital voltmeter (6-digit or higher)
 **Software** **Software**
-  * [[:resources:tools-software/linux-software/kuiper-linux |Analog Devices Kuiper Linux image]]+  * [[:resources:tools-software:linux-software:kuiper-linux |Analog Devices Kuiper Linux image]]
 **Documentation** **Documentation**
   * [[adi>cn0554|CN0554]] Circuit Note   * [[adi>cn0554|CN0554]] Circuit Note
Line 103: Line 104:
 ==== Downloading and Flashing Kuiper Linux Image on SD Card ==== ==== Downloading and Flashing Kuiper Linux Image on SD Card ====
  
-In order to control the **EVAL-CN0554-RPIZ** from the Raspberry Pi, you will need to install ADI Kuiper Linux on an SD card. Complete instructions, including where to download the SD card image, how to write it to the SD card, and how to configure the system are provided at **[[:resources:tools-software/linux-software/kuiper-linux |Kuiper Images]]**. Write the image and follow the system configuration procedure.+In order to control the **EVAL-CN0554-RPIZ** from the Raspberry Pi, you will need to install ADI Kuiper Linux on an SD card. Complete instructions, including where to download the SD card image, how to write it to the SD card, and how to configure the system are provided at **[[:resources:tools-software:linux-software:kuiper-linux |Kuiper Images]]**. Write the image and follow the system configuration procedure.
    
 {{ :university:labs:software:iio_intro_toolbox:command_prompt.png?400 |}} {{ :university:labs:software:iio_intro_toolbox:command_prompt.png?400 |}}
Line 111: Line 112:
 For the Linux kernel to identify the device connected to the expansion header, update the device tree overlay. A **Device Tree Overlay** contains information about additional connected hardware, the EVAL-CN0554-RPIZ for this case. The overlay file is already included in the SD card and just needs to be matched to the EVAL-CN0554-RPIZ. For the Linux kernel to identify the device connected to the expansion header, update the device tree overlay. A **Device Tree Overlay** contains information about additional connected hardware, the EVAL-CN0554-RPIZ for this case. The overlay file is already included in the SD card and just needs to be matched to the EVAL-CN0554-RPIZ.
  
-Follow the Hardware Configuration procedure under **Preparing the Image: Raspberry Pi** in the [[:resources:tools-software/linux-software/kuiper-linux |Kuiper Images]] page, substituting the following lines in **config.txt**:+Follow the Hardware Configuration procedure under **Preparing the Image: Raspberry Pi** in the [[:resources:tools-software:linux-software:kuiper-linux |Kuiper Images]] page, substituting the following lines in **config.txt**:
  
 This brings up the file in the terminal. Scroll down until the line that begins with "dtoverlay" is found; then, whatever it currently is, change it to: This brings up the file in the terminal. Scroll down until the line that begins with "dtoverlay" is found; then, whatever it currently is, change it to:
 +<WRAP center round todo 60%> 
 +**Need to add overlay here since it isn't in Kuiper**
 <code> <code>
 dtoverlay=rpi-cn0554 dtoverlay=rpi-cn0554
 </code> </code>
 +</WRAP>
 +
  
 Save the file by Ctrl + X command. Reboot the system by typing on the command prompt: Save the file by Ctrl + X command. Reboot the system by typing on the command prompt:
Line 142: Line 146:
  
 The DMM tab provides the ADC readings for the [[ADI>AD7124-8]]. The DMM tab provides the ADC readings for the [[ADI>AD7124-8]].
- 
  
 ==== Pyadi-IIO ==== ==== Pyadi-IIO ====
  
-[[/resources/tools-software/linux-software/pyadi-iio|PyADI-IIO]] is a python abstraction module for ADI hardware with IIO drivers to make them easier to use. This module provides device-specific APIs built on top of the current libIIO python bindings. These interfaces try to match the driver naming as much as possible without the need to understand the complexities of libIIO and IIO.\\ +[[:resources:tools-software:linux-software:pyadi-iio|PyADI-IIO]] is a python abstraction module for ADI hardware with IIO drivers to make them easier to use. This module provides device-specific APIs built on top of the current libIIO python bindings. These interfaces try to match the driver naming as much as possible without the need to understand the complexities of libIIO and IIO.\\
- +
-=== Installation of Latest Lib-IIO and Other Requirements Needed to Run the Example === +
- +
-In order to run the current Python example, a few additional steps need to occur.  Once the next version of Analog Devices Kuiper Linux gets released (2021_R2), these steps will be removed. +
- +
-<note important> +
- +
-Step 1: Installation of the latest libad9166-iio +
- +
-<code> +
-git clone https://github.com/analogdevicesinc/libad9166-iio +
-</code> +
- +
-<code> +
-cd libad9166-iio +
-</code> +
- +
-<code> +
-cmake ./CMakeLists.txt +
-</code> +
- +
-<code> +
-make +
-</code> +
- +
-<code> +
-sudo make install +
-</code> +
- +
-<code> +
-cd bindings/python +
-</code> +
- +
-<code> +
-sudo pip install -r requirements_dev.txt +
-</code> +
- +
-<code> +
-cmake ./CMakeLists.txt +
-</code> +
- +
-<code> +
-sudo make +
-</code> +
- +
-<code> +
-sudo make install +
-</code> +
- +
-Step 2: Clone the latest pyadi-iio from github +
-<code> +
-git clone https://github.com/analogdevicesinc/pyadi-iio +
-</code> +
- +
-Step 3: Installation of libatlas-base-dev linux packages +
-<code> +
-sudo apt-get install libatlas-base-dev  +
-</code> +
- +
-Then choose 'Y' if were asked to continue.   +
- +
-<note> +
-Enter the password “analog” whenever asked for it during the installation process +
-</note> +
- +
-</note> +
-After all these requirements has been loaded in the Raspberry Pi, example found in ~/home/analog/pyadi-iio/examples for CN0554 can now be executed.+
  
 === Running the Example === === Running the Example ===
Line 231: Line 167:
 <WRAP round 80% download> <WRAP round 80% download>
 Github link for the python sample script:  Github link for the python sample script: 
-[[https://github.com/analogdevicesinc/pyadi-iio/blob/master/examples/cn0511_example.py|CN0511 Python Example]]+[[https://github.com/analogdevicesinc/pyadi-iio/blob/master/examples/cn0554_example.py|CN0554 Python Example]]
 </WRAP> </WRAP>
 </WRAP> </WRAP>
 +
 ===== Schematic, PCB Layout, Bill of Materials ===== ===== Schematic, PCB Layout, Bill of Materials =====
 +
 <WRAP round 80% download> <WRAP round 80% download>
 [[ADI>CN0554-DesignSupport|EVAL-CN0554-RPIZ Design & Integration Files]] [[ADI>CN0554-DesignSupport|EVAL-CN0554-RPIZ Design & Integration Files]]
Line 255: Line 193:
 ===== Hardware Registration ===== ===== Hardware Registration =====
 <WRAP round tip 80% > <WRAP round tip 80% >
-Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware.  [[reg>EVAL-CN0511-RPIZ?&v=RevD|Register]] to receive all these great benefits and more!+Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware.  [[reg>EVAL-CN0554-RPIZ?&v=RevB|Register]] to receive all these great benefits and more!
 </WRAP> </WRAP>
  
 // End of Document // // End of Document //
resources/eval/user-guides/circuits-from-the-lab/cn0554.txt · Last modified: 27 Jan 2023 21:44 by Brandon Bushey