Wiki

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:eval:user-guides:circuits-from-the-lab:cn0349 [13 Jun 2017 12:06] – [Connecting the Hardware] Robert Leeresources:eval:user-guides:circuits-from-the-lab:cn0349 [05 Oct 2022 15:57] (current) – Replace FTP link with HTTPS link for evaluation SW Antonio Jimenez de Parga
Line 1: Line 1:
 ====== CN0349 Software User Guide ====== ====== CN0349 Software User Guide ======
 ===== Overview===== ===== Overview=====
-[[http://www.analog.com/CN0349|CN0349]] provides robust and complete solution for processing conductivity and temperature inputs into digital code. The design solution is optimized for high precision and low cost measurement, using five active devices, and has a total error less than 1% FSR after calibration. The output of the circuit is fully isolated, and therefore, the ground-loop interference is effectively reduced, making it ideal for industrial applications.+[[adi>CN0349|CN0349]] provides robust and complete solution for processing conductivity and temperature inputs into digital code. The design solution is optimized for high precision and low cost measurement, using five active devices, and has a total error less than 1% FSR after calibration. The output of the circuit is fully isolated, and therefore, the ground-loop interference is effectively reduced, making it ideal for industrial applications.
  
-The circuit shown in Figure 1 incorporates the [[http://www.analog.com/AD5934YRSZ|AD5934YRSZ]] 12 bit Impedance Converter, [[http://www.analog.com/ADG715BRUZ|ADG715BRUZ]] Octal SPST Switch, [[http://www.analog.com/AD8606ARZ|AD8606ARZ]] Rail-to-Rail OpAmp, [[http://www.analog.com/ADuM5000ARWZ|ADuM5000ARWZ]] Isolated DC-DC Converter, [[http://www.analog.com/ADuM1250ARZ|ADuM1250ARZ]] Dual I2C Isolator, to convert the conductivity and temperature inputs to digital code.+The circuit shown in Figure 1 incorporates the [[adi>AD5934YRSZ|AD5934YRSZ]] 12 bit Impedance Converter, [[adi>ADG715BRUZ|ADG715BRUZ]] Octal SPST Switch, [[adi>AD8606ARZ|AD8606ARZ]] Rail-to-Rail OpAmp, [[adi>ADuM5000ARWZ|ADuM5000ARWZ]] Isolated DC-DC Converter, [[adi>ADuM1250ARZ|ADuM1250ARZ]] Dual I2C Isolator, to convert the conductivity and temperature inputs to digital code.
  
 The circuit has 8pin Digilent Pmod I2C interface connector on board, which could be used for connection to a customer microprocessor or FPGA.   The circuit has 8pin Digilent Pmod I2C interface connector on board, which could be used for connection to a customer microprocessor or FPGA.  
  
-The [[http://www.analog.com/CN03349|CN0349]] circuit note discusses the design steps needed to optimize the circuit shown in Figure 1 for a specific measuring range including accuracy analysis and component selection considerations.+The [[adi>CN0349|CN0349]] circuit note discusses the design steps needed to optimize the circuit shown in Figure 1 for a specific measuring range including accuracy analysis and component selection considerations.
  
-The performance of the circuit could be demonstrated with the use of Analog Devices SDP controller [[http://www.analog.com/EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] and SDP-to-PMOD Interposer Board [[http://www.analog.com/SDP-PMD-IB1Z|SDP-PMD-IB1Z]], both optional purchase items.+The performance of the circuit can be demonstrated with the use of Analog Devices SDP controller [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] and SDP-to-PMOD Interposer Board [[adi>SDP-PMD-IB1Z|SDP-PMD-IB1Z]], both optional purchase items.
  
-This user guide discusses the use of the evaluation software to collect data from the EVAL-CN0349-PMDZ Evaluation Board [[http://www.analog.com/CN0349|CN0349]]+This user guide discusses the use of the evaluation software to collect data from the EVAL-CN0349-PMDZ Evaluation Board [[adi>CN0349|CN0349]] 
 + 
 +<WRAP center round alert 60%> 
 +There are several important restrictions that need to be addressed if you are developing your own application code using the EVAL-CN0349-PMDZ  
 + 
 +If you do not follow these requirements, your results will likely be incorrect or erroneous You can read more about these restrictions in the [[resources:eval:user-guides:circuits-from-the-lab:cn0349#software_recommendations_for_cn0349|CN0349 Software Recommendations]] section of this user guide.   
 + 
 +Analog Devices has incorporated these restrictions into our evaluation software, which is why we won't discuss it within the Evaluation Software section of this user guide. 
 +</WRAP>
  
 {{ :resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_00_1024.gif?direct |}} {{ :resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_00_1024.gif?direct |}}
Line 18: Line 26:
  
 ===== Required Equipment ===== ===== Required Equipment =====
-  * [[http://www.analog.com/EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] Controller Board (**SDP-B Board**) +  * [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] Controller Board (**SDP-B Board**) 
-  * [[http://www.analog.com/EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] Evaluation Board (**CN-0349 Board**) +  * [[adi>EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] Evaluation Board (**CN-0349 Board**) 
-  * [[http://www.analog.com/EVAL-CFTL-6V-PWRZ|EVAL-CFTL-6V-PWRZ]] **(+6V Power Supply)** or equivalent +  * [[adi>EVAL-CFTL-6V-PWRZ|EVAL-CFTL-6V-PWRZ]] **(+6V Power Supply)** or equivalent 
-  * [[http://www.analog.com/SDP-PMD-IB1Z]] SDP-to-PMOD interposer board +  * [[adi>SDP-PMD-IB1Z]] SDP-to-PMOD interposer board 
   * Resistance Decade Box (to simulate the input impedance, e.g. IET RS-200 Labs Resistance Substituter Decade Box) or real conductivity cell with integrated Pt100 sensor (e.g. Sensorex CS200TC-PT1)   * Resistance Decade Box (to simulate the input impedance, e.g. IET RS-200 Labs Resistance Substituter Decade Box) or real conductivity cell with integrated Pt100 sensor (e.g. Sensorex CS200TC-PT1)
-    * [[ftp://ftp.analog.com/pub/cftl/CN0349/|CN0349 Evaluation Software]] +    * [[adi>media/en/evaluation-boards-kits/evaluation-software/cn0349-eval-software.zip|CN0349 Evaluation Software]] 
-    * (supplied with provided CD in kit)+    * (download from above link)
   * PC with the following //Minimum Requirements//   * PC with the following //Minimum Requirements//
-    * Windows XP Service Pack 2 (32-bit)+    * Windows® 7 (64-bit), Windows 8 (64-bit), or Windows 10 (64-bit)    
     * USB type A Port     * USB type A Port
     * Processor rated at 1GHz or faster     * Processor rated at 1GHz or faster
Line 32: Line 40:
   * USB type A to USB type mini-B cable (provided with the EVAL-SDP-CB1Z Controller Board)   * USB type A to USB type mini-B cable (provided with the EVAL-SDP-CB1Z Controller Board)
 ===== General Setup ===== ===== General Setup =====
-  * The [[http://www.analog.com/EVAL-CFTL-6V-PWRZ|EVAL-CFTL-6V-PWRZ]] **(+6V DC Power Supply)** powers the [[http://www.analog.com/SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** via the DC barrel jack. +  * The [[adi>EVAL-CFTL-6V-PWRZ|EVAL-CFTL-6V-PWRZ]] **(+6V DC Power Supply)** powers the [[adi>SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** via the DC barrel jack. 
-  * The [[http://www.analog.com/SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** connects to the [[http://www.analog.com/EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** via the 120-Pin connector A.   +  * The [[adi>SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** connects to the [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** via the 120-Pin connector A.   
-  * The [[http://www.analog.com/EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** connects to the PC via the USB cable. +  * The [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** connects to the PC via the USB cable. 
-  * The [[http://www.analog.com/EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] **(CN0349)** connects to the [[http://www.analog.com/EVAL-PMD-IB1Z|EVAL-PMD-IB1Z]] **(Interposer board)** via the 8-pin header Digilent Pmod I2C interface connectors (J2 on both boards). Use the 4-pin MTE Cable (Digilent, Inc.) supplied with CN0349 board. +  * The [[adi>EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] **(CN0349)** connects to the [[adi>EVAL-PMD-IB1Z|EVAL-PMD-IB1Z]] **(Interposer board)** via the 8-pin header Digilent Pmod I2C interface connectors (J2 on both boards). Use the 4-pin MTE Cable (Digilent, Inc.) supplied with CN0349 board. 
-  * The resistance decade box/the conductivity cell connects to the   [[http://www.analog.com/EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] **(CN0349 Board)** via the terminal block **J1**+  * The resistance decade box/the conductivity cell connects to the   [[adi>EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] **(CN0349 Board)** via the terminal block **J1**
  
 {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_general_setup.png?nolink&900|}} {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_general_setup.png?nolink&900|}}
Line 53: Line 61:
  
 ===== Connecting the Hardware ===== ===== Connecting the Hardware =====
-  - Connect the [[http://www.analog.com/EVAL-CFTL-6V-PWRZ|+6V DC Power Supply]] **(Wallwart)** to the barrel jack **J1** of the [[http://www.analog.com/SDP-PMD-IB1Z|Interposer Board  ]] **(Interposer Board )** as depicted below.\\ \\ <WRAP left round tip 50%>**NOTE:** Make sure that the jumper is  positioned as shown below!</WRAP>\\ \\ \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_1.png?600|}}\\ \\ \\ \\ +  - Connect the [[adi>EVAL-CFTL-6V-PWRZ|+6V DC Power Supply]] **(Wallwart)** to the barrel jack **J1** of the [[adi>SDP-PMD-IB1Z|Interposer Board  ]] **(Interposer Board )** as depicted below.\\ \\ <WRAP left round tip 50%>**NOTE:** Make sure that the jumper is  positioned as shown below!</WRAP>\\ \\ \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_1.png?600|}}\\ \\ \\ \\ 
-  - Connect the 120-pin connector on the [[http://www.analog.com/SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** to the 120-pin connector marked **“CON A”** on the [[http://www.analog.com/EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)**\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_2.png?600|}}\\ \\ +  - Connect the 120-pin connector on the [[adi>SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** to the 120-pin connector marked **“CON A”** on the [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)**\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_2.png?600|}}\\ \\ 
-  - Connect the USB cable supplied with [[http://www.analog.com/EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** to the USB port on the PC and the SDP Board \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_3.png?600|}}}} \\ \\ <WRAP left round tip 50%>**NOTE:** Verify that the SDP Drivers are loaded properly. For that purpose open the Device manager and check if the SDP Board is recognized. If not repeat steps 1-3 </WRAP>\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_3a.png?nolink|}} \\ \\    +  - Connect the USB cable supplied with [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** to the USB port on the PC and the SDP Board \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_3.png?600|}}}} \\ \\ <WRAP left round tip 50%>**NOTE:** Verify that the SDP Drivers are loaded properly. For that purpose open the Device manager and check if the SDP Board is recognized. If not repeat steps 1-3 </WRAP>\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_3a.png?nolink|}} \\ \\    
-  - Connect the [[http://www.analog.com/EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] **(CN0349 Board)** to the [[http://www.analog.com/SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** via the 8 pin header Digilent Pmod I2C interface connector. \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_4.png?600|}}\\ \\ +  - Connect the [[adi>EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] **(CN0349 Board)** to the [[adi>SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** via the 8 pin header Digilent Pmod I2C interface connector. \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_connecthw_4.png?600|}}\\ \\ 
-  - Connect the Resistance Decade Box/Conductivity Cell to pin4 and pin5 of J1 Terminal Block located on  [[http://www.analog.com/EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] **(CN0349 Board)**. If a Conductivity Cell with integrated Pt100 sensor is used, the sensor should be wired to **pin 3** and **pin 2** of **J1** Terminal Block. **Pin 1** can be used to wire the ground shield of the Conductivity Cell.+  - Connect the Resistance Decade Box/Conductivity Cell to pin4 and pin5 of J1 Terminal Block located on  [[adi>EVAL-CN0349-PMDZ|EVAL-CN0349-PMDZ]] **(CN0349 Board)**. If a Conductivity Cell with integrated Pt100 sensor is used, the sensor should be wired to **pin 3** and **pin 2** of **J1** Terminal Block. **Pin 1** can be used to wire the ground shield of the Conductivity Cell.
   - After a proper connection of the hardware to the PC the **CN0349 Evaluation Software** can be used to calibrate the board and capture data.   - After a proper connection of the hardware to the PC the **CN0349 Evaluation Software** can be used to calibrate the board and capture data.
  
Line 64: Line 72:
 ===== Using the Evaluation Software ===== ===== Using the Evaluation Software =====
 ==== Software Control and Indicator Descriptions ==== ==== Software Control and Indicator Descriptions ====
-{{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_using_sw_1.png?900|}}\\ \\   + 
-{{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_using_sw_2.png?900|}}\\ \\{{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_using_sw_3.png?900|}}+{{ :resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_using_sw_1.png?nolink |}} 
 +\\ 
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_using_sw_2.png?nolink |}} 
 +\\ 
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_using_sw_3.png?nolink |}} 
 +\\ 
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_using_sw_4.png?nolink |}} 
 +\\
  
   -**Measure Button**   -**Measure Button**
Line 72: Line 87:
     * __Main__ - Clicking this tab brings the data collection graph to the front.     * __Main__ - Clicking this tab brings the data collection graph to the front.
     * __Calibrate System __ - Clicking this tab brings the system calibration settings to the front.     * __Calibrate System __ - Clicking this tab brings the system calibration settings to the front.
 +    * __Register Value__ - Clicking this tab brings the AD5934 and ADG715 register value panel to the front.
     * __SDP Revision __ - Clicking this tab brings the SDP board information window to the front.     * __SDP Revision __ - Clicking this tab brings the SDP board information window to the front.
   -**Impedance Indicator**   -**Impedance Indicator**
Line 99: Line 115:
   -**Calibration Resistances Controls**   -**Calibration Resistances Controls**
     * This control is used to apply the values for the three on board calibration resistances **R3, R4, R7**. The values for this controls has to be changed only if different calibration resistances are populated on the board.     * This control is used to apply the values for the three on board calibration resistances **R3, R4, R7**. The values for this controls has to be changed only if different calibration resistances are populated on the board.
 +  - **ADG715 register value**
 +    * This read only panel showing the ADG715 register value.
 +  - **AD5934 register address and value**
 +    * This read only panel showing the AD5934 register address and value.
   -**SDP Firmware Revision**   -**SDP Firmware Revision**
     * Read only data. After the connection is established with the SDP Board, the basic information for the controller can be found here.     * Read only data. After the connection is established with the SDP Board, the basic information for the controller can be found here.
Line 106: Line 126:
 ==== Establishing a USB Connection Link ==== ==== Establishing a USB Connection Link ====
   - Follow the instructions to properly install the software and connect the hardware as described in the previous sections.   - Follow the instructions to properly install the software and connect the hardware as described in the previous sections.
-  - Open the file named **CN0349.exe** in the installation directory or the shortcut in the start menu.\\ \\ <WRAP left info round box 60%>**NOTE:** If the software was installed to the default location it will be found at \\ **C:\Program Files\Analog Devices\CN0349\CN0349.exe**</WRAP>\\ \\ \\ \\ \\ \\ +  - Open the file named **CN0349.exe** in the installation directory or the shortcut in the start menu. 
 + 
 +<WRAP center round tip 80%> 
 + 
 +**NOTE:** If the software was installed to the default location it will be found at \\ **C:\Program Files\Analog Devices\CN0349\CN0349.exe** 
 + 
 +</WRAP> 
   - The software should connect to the board automatically. If the hardware is not recognized by the PC the next window will appear, indicating that the software is waiting for proper hardware connection. If that happens perform the hardware connection procedure described in the previous section. After connecting the hardware the list in the window will populate. Choose the connected hardware and click select.\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_establishing_connection_3a.png?nolink|}}\\ \\    - The software should connect to the board automatically. If the hardware is not recognized by the PC the next window will appear, indicating that the software is waiting for proper hardware connection. If that happens perform the hardware connection procedure described in the previous section. After connecting the hardware the list in the window will populate. Choose the connected hardware and click select.\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0349:cn0349_establishing_connection_3a.png?nolink|}}\\ \\ 
   - Upon success, the **System Status String Indicator** will display __SDP Board Ready to Acquire Data__   - Upon success, the **System Status String Indicator** will display __SDP Board Ready to Acquire Data__
Line 130: Line 157:
   - After clicking ** OK** the indicators are presenting the measured data.   - After clicking ** OK** the indicators are presenting the measured data.
  
-====== Use the CN0349 with customer own platform ======+---- 
 + 
 +====== Using the CN0349 board with other platforms (non-SDP) ====== 
 + 
 +This section will describe how to use the CN0349 board with platforms other than the SDP-B platform (which will be referred to as the "host"). The host can be a MCU platform, FPGA platform, or PC with USB to I2C converter, or any type of programmable platform which has an I2C interface.
  
-This Chapter will describe how to use the CN0349 board with a customer platform other than the SDP-B platform. In this section we refer to customer platform the "host". The host can be a MCU platform, FPGA platform, or PC with USB to I2C converter, or any type of programmable platform which has an I2C interface.+===== Hardware Interface for CN0349 =====
  
-===== Hardware interface of CN0349 =====+For the detailed specifications of the I2C interface, please check: [[http://www.nxp.com/documents/user_manual/UM10204.pdf|I2C-bus specification]]. Notice that the CN0349 board does not support all the features of the I2C-bus specification, and the limitations will be described later.
  
-For the detailed specifications of the I2C interfaceplease check: [[http://www.nxp.com/documents/user_manual/UM10204.pdf|I2C-bus specification]]. Notice that the CN0349 board does not support all the feastures of the I2C-bus specification, and the limitations will described later.+The EVAL-CN0349-PMDZ evaluation board uses a standard Digilent Pmod 8pin I2C connector interface, **J2**, to communicate with the host. For the detailed Digilent Pmod interface specification please check: [[https://www.digilentinc.com/Pmods/Digilent-Pmod_ Interface_Specification.pdf|Digilent Pmod Interface Specification]]
  
-The EVAL-CN0349-PMDZ evaluation board uses a standard Dignlent Pmod 8pin I2C connector interface, **J2**, to communicate with the host. For the detailed Digilent Pmod interface specification please check: [[https://www.digilentinc.com/Pmods/Digilent-Pmod_ Interface_Specification.pdf|Digilent Pmod Interface Specification]]+J2 Pin Number ^ Pin Function ^ Mnemonic ^ 
 +| Pin 1  | Serial Clock        | SCL  | 
 +| Pin 2  | Serial Clock        | SCL  | 
 +| Pin 3  | Serial Data         | SDA  | 
 +| Pin 4  | Serial Data         | SDA  | 
 +| Pin 5  | Digital Ground      | DGND | 
 +| Pin 6  | Digital Ground      | DGND | 
 +| Pin 7  | Digital Power       | VDD  | 
 +| Pin 8  | Digital Power       | VDD  |
  
 <WRAP center round important 80%> <WRAP center round important 80%>
Line 144: Line 183:
 </WRAP> </WRAP>
  
-===== Software interface for CN0349 =====+===== Software Recommendations for CN0349 =====
  
-For the customer platform to communicate with the CN0349 board, the I2C communication protocol must be designed carefully. The maximum I2C speed and timing is limited by the ADG715 and the AD5934. Please check the data sheet for the [[http://www.analog.com/ad5934|AD5934]] and [[http://www.analog.com/adg715|ADG715]] for more specific details. The host I2C timing and speed must meet with the requirements of both the ADG715 and AD5934. The maximum I2C clock speed for ADG715 and AD5934 is 400kHz.+==== Digital Communication ==== 
 +For the customer platform to communicate with the CN0349 board, the I2C communication protocol must be designed carefully. The maximum I2C speed and timing is limited by the ADG715 and the AD5934. Please check the data sheet for the [[adi>ad5934|AD5934]] and [[adi>adg715|ADG715]] for more specific details. The host I2C timing and speed must meet with the requirements of both the ADG715 and AD5934. The maximum I2C clock speed for ADG715 and AD5934 is 400kHz.
  
 <WRAP center round info 80%> <WRAP center round info 80%>
-**Caution**: In the EVAL-CN0394-PMDZ evaluation board, the ADG715 I2C address is set to: **0x48**, and the AD5934 I2C address is: **0x0d**. Please make sure in the host I2C bus there are no devices that have same address as the ADG715 and AD5934.+On the EVAL-CN0349-PMDZ evaluation board, the ADG715 I2C address is set to: **0x48**, and the AD5934 I2C address is: **0x0d**. Please make sure in the host I2C bus there are no devices that have same address as the ADG715 and AD5934.
 </WRAP> </WRAP>
  
 +==== System Calibration and Ranging ====
  
-In the host software the AD5934 following settings must be observedotherwise the results may incorrect:+When designing the software for the CN0349, there are particular register settings that must be adhered to for the AD5934 and the ADG715.  These register settings will effect the input range of the individual componentsas well as effect system level parameters such as the calibration and range of the entire system, so it's extremely important to follow the software settings provided below.
  
-<WRAP center round box 80%> +<WRAP center round important 80%> 
-  * Address 0x80 control register value: 0x01 (the excitation voltage 2.0Vpp, PGA=1)+The hardware limitations in the CN0349 board need to be considered carefully when writing the software. If other settings for AD5934 and ADG715 outside the limits described above are used, the AD5934 ADC input must not be saturated. The AD5934 ADC reference is AVDD2=3.3V which determines the input range. The AD5934 ADC input signal amplitude is a function of the excitation voltage, the RC filter made up of R1, R5, C1, the ADG715 setting, the admittance of conductivity cell, and the AD5934 internal PGA gain settings. Incorrect results will be obtained if any of these factors cause the AD5934 ADC input signal to go out of range.
 </WRAP> </WRAP>
  
 +<WRAP center round important 80%>
 +The CN0349 board **MUST** be calibrated before measurement. The calibration theory and calculations are located in circuit note [[ADI>CN0349]].
 +</WRAP>
  
-In the host software the ADG715 register must be set to one of following conditions, otherwise incorrect results may occur:+  * **INPUT SIGNAL SETTING** 
 +    * AD5934 - Sets the fullscale output of the excitation signals, and the inputs to the internal A/D converter  
 +    * Excitation Voltage and PGA **MUST** have the following settings in the host software, otherwise the results maybe erroneous:
  
-<WRAP center round box 80%> +^ Part Number ^ I<sup>2</sup>C Address ^ Register Address ^ Register Data ^ Description ^ 
-  - 0x09, calibrate for R<sub>FB</sub>=R<sub>9</sub>=100Ω, R<sub>CAL</sub>=R<sub>3</sub>=100Ω +| AD5934 | 0x0d | 0x80 | 0x01 | Excitation Voltage 2.0Vp-pInternal PGA=1 |
-  0x11calibrate for R<sub>FB</sub>=R<sub>9</sub>=100Ω, R<sub>CAL</sub>=R<sub>4</sub>=1kΩ +
-  - 0x12, calibrate for R<sub>FB</sub>=R<sub>8</sub>=1kΩ, R<sub>CAL</sub>=R<sub>4</sub>=1kΩ +
-  - 0x22, calibrate for R<sub>FB</sub>=R<sub>8</sub>=1kΩ, R<sub>CAL</sub>=R<sub>7</sub>=10kΩ +
-  - 0x41, measure RTD with R<sub>FB</sub>=R<sub>9</sub>=100Ω +
-  - 0x81, measure Y<sub>X</sub> with R<sub>FB</sub>=R<sub>9</sub>=100Ω +
-  - 0x82, measure Y<sub>X</sub> with R<sub>FB</sub>=R<sub>8</sub>=1kΩ +
-</WRAP>+
  
 +  * **SYSTEM CALIBRATION** 
 +    * ADG715 - Responsible for the conductivity calibration
 +    * You **MUST** have at least one of the following calibration settings in your software.  Each calibration will increase the accuracy of the system, and provide better results when measuring in either the High or Low Conductivity Range.  Two calibration points per range(High or Low) is recommended, otherwise your results will have a higher error:
  
-The CN0349 board must be calibrated before measurement. The calibrations theory and calculations are located in circuit note CN0349.+^ Part Number ^ I<sup>2</sup>C Address ^ I<sup>2</sup>C Data ^ Function ^ Description ^  
 +| ADG715 | 0x48 | 0x09 | High Y<sub>X</sub> Range Calibration 1 | Set R<sub>FB</sub>=R<sub>9</sub>=100Ω, R<sub>CAL</sub>=R<sub>3</sub>=100Ω | 
 +| ADG715 | 0x48 | 0x11 | High Y<sub>X</sub> Range Calibration 2 | Set R<sub>FB</sub>=R<sub>9</sub>=100Ω, R<sub>CAL</sub>=R<sub>4</sub>=1kΩ | 
 +| ADG715 | 0x48 | 0x12 | Low Y<sub>X</sub> Range Calibration 1 | Set R<sub>FB</sub>=R<sub>8</sub>=1kΩ, R<sub>CAL</sub>=R<sub>4</sub>=1kΩ | 
 +| ADG715 | 0x48 | 0x22 | Low Y<sub>X</sub> Range Calibration 2  | Set R<sub>FB</sub>=R<sub>8</sub>=1kΩ, R<sub>CAL</sub>=R<sub>7</sub>=10kΩ |
  
-The following shows the two allowable ranges for the conductivity cell admittance. If the conductivity cell admittance is out of these ranges, incorrect results may occurPlease note: the admittance of the cell is not the conductivity of the cell, the cell constant must be used to convert the admittance to conductivity. For the details of the cell constant please check circuit note CN0349.+  * **SYSTEM MEASUREMENTS** 
 +    * ADG715 - Responsible for the measurement of the conductivity range. 
 +    * It is best to use the range that best describes your unknown conductivity.  For example, using the High rangewhen the conductivity measurement you are trying to obtain should be in the low range will add additional errors to the measurement and reduce accuracy.
  
-<WRAP center round box 80%> +^ Part Number ^ I<sup>2</sup>C Address ^ I<sup>2</sup>C Data ^ Function ^ Description ^  
-  * low range1uS~1mScalibrate with item 3 and 4, measured with item 7 (see above) +| ADG715 | 0x48 | 0x41 | Measure RTD | Set R<sub>FB</sub>=R<sub>9</sub>=100Ω, R<sub>DUT</sub>=R<sub>RTD</sub>
-  * high range: 1mS~1S calibrate with item 1 and 2 measured with item 6 (see above)+| ADG715 | 0x48 | 0x81 | Measure High Y<sub>X</sub> Range | Set R<sub>FB</sub>=R<sub>9</sub>=100Ω, R<sub>DUT</sub>=R<sub>CELL</sub>
 +| ADG715 | 0x48 | 0x82 | Measure Low Y<sub>X</sub> Range | Set R<sub>FB</sub>=R<sub>8</sub>=1kΩ, R<sub>DUT</sub>=R<sub>CELL</sub>
 + 
 +==== Measurement Ranges and System Outputs ==== 
 + 
 +There are two allowable measurement ranges for the conductivity cell admittance. If the conductivity cell admittance is out of these ranges, incorrect results may occur. 
 + 
 +<WRAP center round info 60%> 
 +Please notethe admittance of the cell is not the conductivity of the cellthe cell constant must be used to convert the admittance to conductivity. For the details of the cell constant please check circuit note [[ADI>CN0349]].
 </WRAP> </WRAP>
  
-Please note that the measurement result is the Y<sub>X</sub> not Y<sub>CELL</sub>. the details of converting Y<sub>X</sub> to Y<sub>CELL</sub> are give in CN0349.+^ ^Conductivity Value^Calibration^Measurement^ 
 +^Low Range |1uS to 1mS | Low Y<sub>X</sub> Range Calibration 1 & 2 (see calibration table above) | Measure Low Y<sub>X</sub> Range (see measurement table above)| 
 +^High Range |1mS to 1S | High Y<sub>X</sub> Range Calibration 1 & 2 (see calibration table above) | Measure High Y<sub>X</sub> Range (see measurement table above)|
  
-The hardware limitations in the CN0349 board need to be considered carefully. If other settings for AD5934 and ADG715 outside the limits described above are used, the AD5934 ADC input must not be saturatedThe AD5934 ADC reference is AVDD2=3.3V which determines the input range. The AD5934 ADC input signal amplitude is a function of the excitation voltagethe RC filter made up of R1, R5, C1, the ADG715 setting, the admittance of conductivity cell, and the AD5934 internal PGA gain settingsIncorrect results will be obtained if any of these factors cause the AD5934 ADC input signal to go out of range. +<WRAP center round tip 60%> 
-  +Please note that the measurement result is the Y<sub>X</sub> not Y<sub>CELL</sub>. the details of converting Y<sub>X</sub> to Y<sub>CELL</sub> are give in [[ADI>CN0349]]. 
 +</WRAP> 
 + 
 +=====Registration=====  
 +<WRAP round tip 80% > 
 +Receive software update notificationsdocumentation updatesview the latest videos, and more when you register your hardware [[reg>EVAL-CN0349-PMDZ?&v=RevA|Register]] to receive all these great benefits and more! 
 +</WRAP> 
 + 
 +//End of Document//
resources/eval/user-guides/circuits-from-the-lab/cn0349.1497348386.txt.gz · Last modified: 13 Jun 2017 12:06 by Robert Lee