This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
resources:eval:user-guides:circuits-from-the-lab:cn0552 [21 May 2021 08:13] – Zuedmar Arceo | resources:eval:user-guides:circuits-from-the-lab:cn0552 [21 Feb 2023 03:07] – Zuedmar Arceo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== EVAL-CN0552-PMDZ Overview ====== | ====== EVAL-CN0552-PMDZ Overview ====== | ||
- | The ** EVAL-CN0552-PMDZ ** is a single | + | The ** [[ADI> |
+ | {{ : | ||
+ | <wrap center 55%> | ||
+ | //< | ||
+ | </ | ||
- | {{ : | + | The [[ADI> |
- | The AD7746 capacitance input range is ±4pF (changing), while it can accept up to 17pF common-mode capacitance (not changing), which can be balanced by a programmable on-ship, digital-to-capacitance converter (CAPDAC). The AD7746 has two capacitive inputs. Each channel can be configured as single-ended or differential. | + | {{ : |
+ | <wrap center 55%> | ||
+ | //< | ||
+ | </ | ||
- | {{ : | + | The output data rate is adjustable |
- | The AD7746 communicates via a 2-wire, I2C-compatible | + | The CN0552 is compatible with I2C PMOD platform boards, with an I/O voltage |
- | {{resources: | + | <wrap center 60%> |
+ | {{:resources: | ||
+ | </ | ||
- | The Digital communication on the EVAL-CN0552-PMDZ is accomplished using a new standard I2C PMOD port. | + | <wrap center 48%> |
- | + | //< | |
- | ^ | + | </ |
- | ^ Description | + | |
- | | INT | 1 | | + | |
- | | RST | 2 | | + | |
- | | SCL | + | |
- | | SDA | 4 | | + | |
- | | GND | 5 | | + | |
- | | IOVDD | 6 | | + | |
===== Features ===== | ===== Features ===== | ||
- | * New standard in single chip solutions | ||
* Interfaces to single or differential floating sensors | * Interfaces to single or differential floating sensors | ||
* Resolution down to 4aF (that is, up to 21 ENOB) | * Resolution down to 4aF (that is, up to 21 ENOB) | ||
Line 37: | Line 38: | ||
* Simultaneous 50Hz and 60Hz rejection at 16Hz | * Simultaneous 50Hz and 60Hz rejection at 16Hz | ||
+ | ===== Connectors and Configuration ===== | ||
+ | By default, the [[ADI> | ||
+ | {{ : | ||
+ | |||
+ | ==== CN0552 Inputs/ | ||
+ | All the analog and digital input/ | ||
+ | ^ | ||
+ | ^ Description | ||
+ | | EXCA | 1 | GND | 1 | | ||
+ | | EXCB | 2 | VDD | 2 | | ||
+ | | EXC_EXTENDED | ||
+ | | REFIN_POS | ||
+ | | REFIN_NEG | ||
+ | | GND | 6 | GND | 6 | | ||
+ | | CIN1_NEG | ||
+ | | CIN1_POS | ||
+ | ==== Digital Communications ==== | ||
+ | The Digital communication on the EVAL-CN0552-PMDZ is accomplished using a new standard I2C PMOD port. | ||
+ | |||
+ | ^ | ||
+ | ^ Description | ||
+ | | INT | 6 | | ||
+ | | RST | 5 | | ||
+ | | SCL | 4 | | ||
+ | | SDA | 3 | | ||
+ | | GND | 2 | | ||
+ | | IOVDD | 1 | | ||
+ | |||
+ | ==== Solder Jumpers ==== | ||
+ | Eight solder jumpers are available at the bottom of the board, if you want to change the operating modes. | ||
+ | |||
+ | {{: | ||
+ | ^ Description and default connection | ||
+ | | ADC SDA connection (pull-up SDA to VDD) | P1 | Shorted | ||
+ | | ADC SCL connection (pull-up SCL to VDD) | P7 | Shorted | ||
+ | | Extended Excitation Enable (connect A1 OUT to P8 pin 3) | P14 | Shorted | ||
+ | | ADC REFIN(-) connection (connect GND and P8 pin 5) | P3 | Open | | ||
+ | | ADC REFIN(+) connection (connect GND and P8 pin 4) | P9 | Open | | ||
+ | | ADC CIN1(-) connection (connect GND to P8 pin 7) | P4 | Open | | ||
+ | | ADC CIN1(+) connection (connect GND to P8 pin 8) | P10 | Open | | ||
+ | | ADC CIN2(-) connection (connect GND to P13 pin 7) | P5 | Open | | ||
+ | | ADC CIN1(+) connection (connect GND to P13 pin 8) | P11 | Open | | ||
+ | | ADC VIN(-) connection (connect GND to P13 pin 4) | P6 | Open | | ||
+ | | ADC VIN(+) connection (connect GND to P13 pin 5) | P12 | Open | | ||
+ | |||
+ | ==== Test Points ==== | ||
+ | Also, four test points are available to probe the I2C interface. | ||
===== Device Driver Support ===== | ===== Device Driver Support ===== | ||
- | Two example | + | There are two device driver solutions |
1. **EVAL-ADICUP3029**\\ | 1. **EVAL-ADICUP3029**\\ | ||
- | * The ADICUP3029 example application uses the AD7746 no-OS driver and emulates the Linux IIO framework through the tinyiiod daemon library. The application communicates with the host computer via the serial backend, over a USB-UART physical connection. This facilitates rapid application development on a host computer, independent from embedded code development. | + | * The ADICUP3029 example application uses the [[ : |
2. **Raspberry Pi**\\ | 2. **Raspberry Pi**\\ | ||
- | * The Linux driver uses the Industrial Input/ | + | * The [[ : |
- | Similarly, utility software | + | Similarly, utility software |
===== General Setup Using ADICUP3029 ===== | ===== General Setup Using ADICUP3029 ===== | ||
The ** EVAL-CN0552-PMDZ ** can be used with [[/ | The ** EVAL-CN0552-PMDZ ** can be used with [[/ | ||
+ | Here is a video on how to use the CN0552 with the ADICUP3029: | ||
- | {{ : | + | <WRAP center |
- | <wrap center | + | {{youtube>6yjW-1EjQ0I}} |
- | //<fc #c0c0c0>Software Architecture</ | + | </WRAP> |
- | </wrap> | + | |
==== Demo Requirements ==== | ==== Demo Requirements ==== | ||
Line 65: | Line 113: | ||
* ** Hardware ** | * ** Hardware ** | ||
- | * EVAL-ADICUP3029 | + | * [[ADI>EVAL-ADICUP3029|EVAL-ADICUP3029]] |
- | * EVAL-CN0552-PMDZ | + | * [[ADI> |
+ | * Two 2pF ceramic capacitors | ||
* Micro-USB to USB Cable | * Micro-USB to USB Cable | ||
* PC or Laptop with USB Port | * PC or Laptop with USB Port | ||
Line 85: | Line 134: | ||
<WRAP round 80% download> | <WRAP round 80% download> | ||
Prebuilt CN0552 Hex File | Prebuilt CN0552 Hex File | ||
- | *<Place here the Pre-built Hex file for the CN0552> | + | * [[repo>no-OS/ |
Complete CN0552 Source Files | Complete CN0552 Source Files | ||
- | *<Place here the Source | + | * [[https:// |
</ | </ | ||
- | To build the project from source, follow the instructions in the [[https:// | + | To build the project from the source, follow the instructions in the [[https:// |
==== Setting up the Hardware ==== | ==== Setting up the Hardware ==== | ||
- Connect **EVAL-CN0552-PMDZ** board at connector **P9** of the **EVAL-ADICUP3029**. | - Connect **EVAL-CN0552-PMDZ** board at connector **P9** of the **EVAL-ADICUP3029**. | ||
- | - Connect a micro-USB cable to the P10 connector of the EVAL-ADICUP3029 and connect it to a computer. The final setup should look similar to the picture below. | + | - Connect a micro-USB cable to the P10 connector of the EVAL-ADICUP3029 and connect it to a computer. The final setup should look similar to the picture below. {{ : |
- | + | - Make sure the following switches are as shown from the table below. {{ : | |
- | {{ : | + | //< |
- | + | </ | |
- | ==== Flashing the Firmware/Program ==== | + | - From your PC, open My Computer and look for the DAPLINK drive, if you see this then the drivers are complete and correct. {{ : |
- | - Make sure the following switches are as shown from the table below: | + | //< |
- | - Connect the ADICuP3029 to the PC host via micro-USB cable as shown below. {{ : | + | </ |
- | - From your PC, open My Computer and look for the DAPLINK drive, if you see this then the drivers are complete and correct. {{ : | + | |
- Simply extract the provided zip file. Once extracted, you will see the pre-built hex file for the CN0552 demo. Then drag and drop this Hex file to the DAPLINK drive and your ADICUP3029 board will be programmed. The DS2 (red) LED will blink rapidly. | - Simply extract the provided zip file. Once extracted, you will see the pre-built hex file for the CN0552 demo. Then drag and drop this Hex file to the DAPLINK drive and your ADICUP3029 board will be programmed. The DS2 (red) LED will blink rapidly. | ||
- The DS2 will stop blinking and will stay ON once the programming is done. | - The DS2 will stop blinking and will stay ON once the programming is done. | ||
+ | - For demo purposes, place a 2 pF capacitor between the EXCA pin and the CIN1(+) pin on the PMOD board. This will be your first channel. Then, place another 2 pF capacitor between EXCB pin and the CIN2(+) pin on the PMOD board. This will be your second channel. | ||
===== General Setup Using Raspberry Pi ===== | ===== General Setup Using Raspberry Pi ===== | ||
Line 114: | Line 164: | ||
The following is a list of items needed in order to replicate this demo. | The following is a list of items needed in order to replicate this demo. | ||
* **Hardware** | * **Hardware** | ||
- | * EVAL-CN0552-PMDZ PMOD Board | + | * [[ADI> |
+ | * [[ADI> | ||
* Raspberry PI Zero, Zero W, 3B+, or 4 | * Raspberry PI Zero, Zero W, 3B+, or 4 | ||
* 16GB (or larger) Class 10 (or faster) micro-SD card | * 16GB (or larger) Class 10 (or faster) micro-SD card | ||
* 5Vdc, 2.5A power supply with micro USB connector (USB-C power supply for Raspberry Pi 4) | * 5Vdc, 2.5A power supply with micro USB connector (USB-C power supply for Raspberry Pi 4) | ||
- | * Electrical connection hardware (choose one): | ||
- | * 12x 15cm socket-to-socket jumpers such as [[https:// | ||
- | * [[https:// | ||
* User interface setup (choose one): | * User interface setup (choose one): | ||
* HDMI monitor, keyboard, mouse plugged directly into Raspberry Pi | * HDMI monitor, keyboard, mouse plugged directly into Raspberry Pi | ||
- | * Host Windows/ | + | * Host Windows/ |
* **Software** | * **Software** | ||
- | * [[resources: | + | * [[:resources: |
==== Loading Image on SD Card ==== | ==== Loading Image on SD Card ==== | ||
- | In order to control the **EVAL-CN0552-PMDZ** from the Raspberry Pi, you will need to install ADI Kuiper Linux on an SD card. Complete instructions, | + | In order to control the **EVAL-CN0552-PMDZ** from the Raspberry Pi, you will need to install ADI Kuiper Linux on an SD card. Complete instructions, |
+ | \\ | ||
\\ | \\ | ||
Write the image and follow the system configuration procedure. | Write the image and follow the system configuration procedure. | ||
==== Configuring the SD Card ==== | ==== Configuring the SD Card ==== | ||
- | Follow the Hardware Configuration procedure under **Preparing the Image: Raspberry Pi** in the [[resources: | + | Follow the Hardware Configuration procedure under **Preparing the Image: Raspberry Pi** in the [[:resources: |
< | < | ||
dtoverlay=rpi-cn0552 | dtoverlay=rpi-cn0552 | ||
</ | </ | ||
- | |||
- | <note important> | ||
==== Setting up the Hardware ==== | ==== Setting up the Hardware ==== | ||
To set up the circuit for evaluation, consider the following steps: | To set up the circuit for evaluation, consider the following steps: | ||
- | {{ : | + | - Connect the P9 of the **PMOD to Raspberry Pi Interposer** board at the male header GPIO pin connector of the **Raspberry Pi** as shown below. |
- | <note important> | + | - Connect |
- | - Connect **EVAL-CN0552-PMDZ** | + | |
- Burn the SD card with the proper ADI Kuiper Linux image. Insert the burned SD card on the designated slot on the RPi. | - Burn the SD card with the proper ADI Kuiper Linux image. Insert the burned SD card on the designated slot on the RPi. | ||
- Connect the system to a monitor using an HDMI cable through the mini HDMI connector on the RPi. | - Connect the system to a monitor using an HDMI cable through the mini HDMI connector on the RPi. | ||
- Connect a USB keyboard and mouse to the RPi through the USB ports. | - Connect a USB keyboard and mouse to the RPi through the USB ports. | ||
- Power on the RPi board by plugging in a 5V power supply with a micro-USB connector. The final setup should look similar to the picture below. | - Power on the RPi board by plugging in a 5V power supply with a micro-USB connector. The final setup should look similar to the picture below. | ||
- | {{ : | + | {{ : |
| | ||
===== Software (both ADICUP3029 and Raspberry Pi) ===== | ===== Software (both ADICUP3029 and Raspberry Pi) ===== | ||
Line 238: | Line 284: | ||
=== DMM Panel === | === DMM Panel === | ||
Access the DMM panel to see the instantaneous reading of the input capacitances and the device temperature. | Access the DMM panel to see the instantaneous reading of the input capacitances and the device temperature. | ||
- | {{ : | + | {{ : |
Line 250: | Line 296: | ||
After installing and configuring PYADI-IIO in your machine, you are now ready to run python script examples. In our case, run the **ad7746.py** found in the examples folder. | After installing and configuring PYADI-IIO in your machine, you are now ready to run python script examples. In our case, run the **ad7746.py** found in the examples folder. | ||
- | < | + | < |
Press enter and you will get these readings. | Press enter and you will get these readings. | ||
- | {{ : | + | {{: |
===== Schematic, PCB Layout, Bill of Materials ===== | ===== Schematic, PCB Layout, Bill of Materials ===== | ||
Line 260: | Line 306: | ||
<WRAP round 80% download> | <WRAP round 80% download> | ||
- | [[adi>cn0xxx-designsupport|EVAL-CN0552-PMDZ Design & Integration Files]] | + | [[adi>cn0552-DesignSupport|EVAL-CN0552-PMDZ Design & Integration Files]] |
- | * Schematics | + | * Schematic |
- | * PCB Layout | + | * PCB Layout |
- | * Bill of Materials | + | * Bill of Materials |
* Allegro Project | * Allegro Project | ||
- | * <ADD other things specific to your project if desired> | ||
</ | </ | ||
Line 271: | Line 316: | ||
* [[ADI> | * [[ADI> | ||
- | * [[adi> | + | * [[adi> |
| | ||
====== Reference Demos & Software ====== | ====== Reference Demos & Software ====== | ||
+ | * [[repo> | ||
+ | * [[repo> | ||
+ | * [[: | ||
| | ||
+ | =====Registration===== | ||
+ | <WRAP round tip 80% > | ||
+ | Receive software update notifications, | ||
// End of Document // | // End of Document // |