This shows you the differences between two versions of the page.
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 Velasco | resources: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: | ||
</ | </ | ||
- | The [[ADI> | + | ==== ADC Header ==== |
- | {{ : | + | |
- | <wrap center 50%> | + | Need details on the input connector and what to inputs go to what pin on the connector |
- | //<fc # | + | |
- | </ | + | |
- | \\ | + | |
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 | + | |
- | {{: | + | ==== Dither and Toggle |
- | \\ | + | |
- | \\ | + | Need details on which pins this is on for the RPI and which outputs they affect |
- | {{: | + | |
+ | |||
+ | The [[ADI> | ||
+ | {{ : | ||
+ | <wrap center 50%> | ||
+ | //<fc # | ||
+ | </ | ||
- | ===== 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 | ||
- | | {{ : | ||
===== System Setup ===== | ===== System Setup ===== | ||
Line 71: | Line 72: | ||
* Digital voltmeter (6-digit or higher) | * Digital voltmeter (6-digit or higher) | ||
**Software** | **Software** | ||
- | * [[: | + | * [[: |
**Documentation** | **Documentation** | ||
* [[adi> | * [[adi> | ||
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, | + | 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, |
{{ : | {{ : | ||
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 [[: | + | Follow the Hardware Configuration procedure under **Preparing the Image: Raspberry Pi** in the [[: |
This brings up the file in the terminal. Scroll down until the line that begins with " | This brings up the file in the terminal. Scroll down until the line that begins with " | ||
+ | <WRAP center round todo 60%> | ||
+ | **Need to add overlay here since it isn't in Kuiper** | ||
< | < | ||
dtoverlay=rpi-cn0554 | dtoverlay=rpi-cn0554 | ||
</ | </ | ||
+ | </ | ||
+ | |||
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> | The DMM tab provides the ADC readings for the [[ADI> | ||
- | |||
==== 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. | + | |
- | + | ||
- | <note important> | + | |
- | + | ||
- | Step 1: Installation of the latest libad9166-iio | + | |
- | + | ||
- | < | + | |
- | git clone https:// | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | cd libad9166-iio | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | cmake ./ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | make | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | sudo make install | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | cd bindings/ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | sudo pip install -r requirements_dev.txt | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | cmake ./ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | sudo make | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | sudo make install | + | |
- | </ | + | |
- | + | ||
- | Step 2: Clone the latest pyadi-iio from github | + | |
- | < | + | |
- | git clone https:// | + | |
- | </ | + | |
- | + | ||
- | Step 3: Installation of libatlas-base-dev linux packages | + | |
- | < | + | |
- | sudo apt-get install libatlas-base-dev | + | |
- | </ | + | |
- | + | ||
- | Then choose ' | + | |
- | + | ||
- | < | + | |
- | Enter the password “analog” whenever asked for it during the installation process | + | |
- | </ | + | |
- | + | ||
- | </ | + | |
- | After all these requirements has been loaded in the Raspberry Pi, example found in ~/ | + | |
=== 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:// | + | [[https:// |
</ | </ | ||
</ | </ | ||
+ | |||
===== Schematic, PCB Layout, Bill of Materials ===== | ===== Schematic, PCB Layout, Bill of Materials ===== | ||
+ | |||
<WRAP round 80% download> | <WRAP round 80% download> | ||
[[ADI> | [[ADI> | ||
Line 255: | Line 193: | ||
===== Hardware Registration ===== | ===== Hardware Registration ===== | ||
<WRAP round tip 80% > | <WRAP round tip 80% > | ||
- | Receive software update notifications, | + | Receive software update notifications, |
</ | </ | ||
// End of Document // | // End of Document // |