Search FAQs on the left to see if your question has been answered. Click on the dropdown to view all of the documents associated with the product. If you can't find your question, click on Ask a Question

ADuCM350 FAQ Amperometric Measurement Example

Q: I want to change the calibration resistor (RCAL) on my board. How do I reflect this change in the Amperometric Measurement example?

A: Insert the following into AmperometricMeasurement.c (see screen capture below for location):

  • Define a constant for Rcal (1000 used as example):

          /* RCAL value in Ohms */

          #define RCAL                        (1000)

  • Insert a call to the AFE driver to set the resistor value in the handler:

          /* Set RCAL value */

          if (ADI_AFE_SUCCESS != adi_AFE_SetRcal(hAfeDevice, RCAL))

          {

               FAIL("adi_AFE_SetCal");

           }

Q: I want to change the TIA resistor (RTIA) on my board. How do I reflect this change in the Amperometric Measurement example?

A: Insert the following into AmperometricMeasurement.c (see screen capture below for location):

  • Define a constant for Rtia (7500 used as example):

          /* RTIA value in Ohms */

          #define RTIA                        (7500)

  • Insert a call to the AFE driver to set the resistor value in the handler:

          /* Set RTIA value */

          if (ADI_AFE_SUCCESS != adi_AFE_SetRtia(hAfeDevice, RTIA))

          {

               FAIL("adi_AFE_SetTia");

           }

Comments
Anonymous
Related