background image

UG-1308 

EVAL-ADuCM355QSPZ

 Evaluation Board

 

Rev. A | Page 20 of 24 

LOW POWER TIA0/TIA1 GAIN RESISTOR 
CALIBRATION 

Th

ADuCM355

 contains two independent, low power 

TIA channels. 

Each TIA has an independent, programmable gain resistor to 
scale the input current from the SE0 pin and the SE1 pin to a 
voltage that the ADC can measure. 

Figure 36 shows the gain resistor for the low power TIA0. A 
similar diagram is valid to use for the low power TIA1.  

Similar to the example described in the High Speed TIA Gain 
Resistor Calibration sec
tion, adjust the gain resistor to convert 
the current from the SE0 input pin and the SE1 input pin to a 
differential voltage across the R

TIA

 resistors.  

These resistors have an initial accuracy range and vary with 
temperature, as specified in th

ADuCM355

 data sheet. 

When these resistors are uncalibrated, an error is present when 
measuring an absolute input current. 

To generate a precision calibration current, use the low power 
DAC to create a differential voltage across an external precision 

R

CAL

 resistor that is connected to the 

ADuCM355

 RCAL0 pin 

and RCAL1 pin. The precision calibration current is routed 
through either the low power TIA0 gain resistor or the low 
power TIA1 gain resistor.  

Because the calibration current value is known and the ADC 
can measure the voltage drop across each R

TIA

 resistor, the exact 

R

TIA

 resistor value can be determined. 

Figure 37 and Figure 38 show the setup and switch settings 
used to connect the low power DAC outputs to the external 
R

CAL

 resistor so that the current flows into the LPTIAx gain 

resistors, LPRTIAx.  

Several example projects in the 

ADuCM355

 SDK implement a 

function to calibrate the gain resistor. For further details on 
how to use this function, visit 

https://wiki.analog.com/resources/eval/user-guides/eval-
ad5940/calibration_routines/lptia_cal?doc=EVAL-
ADuCM355QSPZ-UG-1308.PDF

 

VBIAS0

SW12

SW6

PA

SW9

LPTIA0_P_LPF0

ADC
MUX

SW7

LPTIA

FORCE/SENSE

SW0

SW1

LPTIACON0

[12:10]

LPTIACON0

[9:5]

PROGRAMMABLE

GAIN RESISTOR

SW2

SW8

SW14

SW15

SW4

RE0

SW10

SW3

SW11

10kΩ

10kΩ

RE0

SW5

CE0

CAP_POT0

SE0

RC0_0

RC0_1

SW13

VZERO0

VREF2V5

LPDAC0

ULPBUF

ULPREF

TO

CHANNEL 1

AIN4/LPF0

R

LPF

ULPTIACON0

[15:13]

R

TIA

R

LOAD

1688

7-

02

7

 

Figure 36. LPTIA0 Gain Calibration Resistor 

 

Содержание EVAL-ADuCM355QSPZ

Страница 1: ...ensor or resistor star network DOCUMENTS NEEDED ADuCM355 hardware reference manual ADuCM355 data sheet SOFTWARE NEEDED IAR Embedded Workbench or Keil μVision ADuCM355 GitHub Repository Terminal program such as RealTerm GENERAL DESCRIPTION The ADuCM355 on chip system provides the features needed to bias and to measure a range of different electrochemical sensors The EVAL ADuCM355QSPZ allows users t...

Страница 2: ...ors Section Jumper Setup with Direct 3 3 V Connection Section Power via USB from 8 Pin Debug Connector P27 Section Jumper Setup with Power via USB Section Figure 5 Caption and Power via External 5 V Supply to 2 Pin Connector P37 Section 6 Changes to Connecting an Electrochemical Sensor Section 7 Deleted Figure 8 Renumbered Sequentially 7 Changed Getting Started with the Tool Chain Section to Getti...

Страница 3: ...28 19 Deleted Figure 36 19 Moved Low Power TIA0 TIA1 Gain Resistor Calibration Section and Figure 36 20 Changes to Low Power TIA0 TIA1 Gain Resistor Calibration Section 20 Moved Figure 37 and Figure 38 21 Changes to Mass Erasing a Device Not Responding to SWD Commands Section 22 2 2019 Revision 0 Initial Version ...

Страница 4: ...external 5 V supply can power the ADP7158 instead of the USB using this setup MicroUSB DIRECT POWER VIA P4 AND ADP7158 LDO REGULATOR To power the EVAL ADuCM355QSPZ via the P4 microUSB connector take the following steps 1 Ensure that the JP40 and JP42 to JP46 jumpers are inserted These jumpers control the features shown in Table 1 2 Remove the JP37 jumper Table 1 Jumper Connections Jumper Descripti...

Страница 5: ...ND DGND DGND DGND DGND 16887 003 Figure 3 JP45 and JP46 Connect the ADuCM355 UART Pins to the USB Transceiver ADP7158ACPZ 3 3 R7 560Ω SML 310MTT86 10µF 60Ω AT 100MHz 0 1µF 1µF 2 2Ω 60Ω AT 100MHz 2 2Ω 0 1µF 0 1µF 10µF 0 1µF 1µF 0 1µF 10µF JP36 DS1 R17 JP40 JP37 JP42 JP43 JP44 C57 C54 C55 E4 E3 R9 R8 C47 C41 JP6 C43 C44 U3 C42 C46 C45 AVDD_PREFILTER DVDD AVDD 5VUSB DVDD_PREFILTER A C 1 2 1 2 1 2 1 2...

Страница 6: ...WER VIA USB FROM 8 PIN DEBUG CONNECTOR P27 If using the older USB SWD UART and debug interface the ADuCM355 can also be powered from the USB The UART to USB interface is handled by the USB SWD UART EMUZ board Jumper Setup with Power via USB Close JP35 JP40 JP42 JP43 and JP44 when using power via the USB see Figure 5 16887 006 Figure 5 Power via 8 Pin P27 Debug Connector POWER VIA EXTERNAL 5 V SUPP...

Страница 7: ... AN ELECTROCHEMICAL SENSOR The ADuCM355 has two measurement channels CH0 and CH1 for electrochemical sensors A 2 lead 3 lead or 4 lead sensor can be connected to either CH0 or CH1 Figure 7 shows an electrochemical sensor connected to CH1 16887 007 Figure 7 Sensor Connector ...

Страница 8: ...s divided into the following three subfolders The AnalogDie folder contains example projects that demonstrate how to use specific blocks on the analog die The DigitalDie folder contains examples that demonstrate how to use the digital die and peripherals such as SPI or I2 C The ApplicationExamples folder contains application level examples such as M355_ECSns_DualWE which demonstrates how to config...

Страница 9: ...EVAL ADuCM355QSPZ Evaluation Board UG 1308 Rev A Page 9 of 24 16887 009 Figure 9 IAR Embedded Workbench ...

Страница 10: ...ware on the ADuCM355 ensure that the EVAL ADuCM355QSPZ is powered on and the J Link debugger is connected to P3 on the EVAL ADuCM355QSPZ then click Download and Debug to load the firmware to the ADuCM355 and launch the debugger see Figure 12 Launching and downloading the debugger can take a few seconds or more 16887 011 Figure 12 Launching the Debugger 4 Open a terminal program such as RealTerm to...

Страница 11: ...7 215 Figure 15 ADuCM355 Pack Installer Follow the on screen instructions to unzip the contents from the pack file and click Finish when complete Open Keil μVision and open the pack installer as shown in Figure 16 16887 216 Figure 16 Opening Pack Installer in Keil μVision On the left side of the pack installer window click the Devices tab and select the ADuCM355 as shown in Figure 17 On the right ...

Страница 12: ... the example to copy the example project into a local directory and launch the project in Keil μVision To compile and build the project click the Rebuild icon shown in the blue circle in Figure 19 To load the code onto the ADuCM355 ensure that the EVAL ADuCM355QSPZ is powered on and the mIDAS Link debugger is connected and then click the load icon shown in the red circle in Figure 19 16887 219 Fig...

Страница 13: ... initial voltage on the reference electrode and V2 is the peak voltage on the reference electrode VOLTAGE V2 V1 TIME 16887 015 Figure 20 Typical Cyclic Voltammetry Waveform In the ADuCM355 firmware package the M355_ECSns_ CycloVoltammetry project demonstrates how to implement a cyclic voltammetry measurement on the ADuCM355 There are two main files within the project AD5940Main c and Ramp c The AD...

Страница 14: ... under test Use the following equation to calculate the actual impedance ZSENSOR ZSENSOR RLOAD ZRLOAD where ZSENSOR RLOAD is the impedance of RSENSOR and RLOAD measured together as a single impedance ZRLOAD is the impedance of RLOAD Open the M355_ECSns_EIS example project in the preferred IDE For the purpose of this initial test a dummy electrochemical cell is used Connect three 1 kΩ resistors in ...

Страница 15: ...lts for the SE0 channel in V The final set of values includes the voltage measurement results for the RE0 channel in V 100 100 0 200 300 500 400 600 1 115 229 343 457 571 685 799 913 1027 1141 1255 1369 1483 1597 1711 CURRENT µA INDEX 16887 122 Figure 28 Output Data Using the M355_ECSns_Capatest Example with Three 1 kΩ Resistors DC CURRENT EXAMPLE The dc current is a standard electrochemical measu...

Страница 16: ...oltage that is measured via the analog to digital converter ADC and the source code calculates the current flowing in each electrode The M355_ECSns_DualWE code example project is located in the examples folder Figure 30 shows the configurable parameters located in the AD5940Main c file Modify the value of the correct LpTiaRtiaSel parameter for each channel based on the maximum expected current Fig...

Страница 17: ...set up the high speed TIA for an external gain resistor AIN0 T1 T10 HPTIA_N HSTIA EXTERNAL RCAL DE0 RTIA2_03 RLOAD_03 1 11V REFERENCE HPTIA_P 16887 030 Figure 32 ADuCM355 External RTIA Connection to the High Speed TIA AFE DIE WATCHDOG TIMER EXAMPLE The ADuCM355 supports a watchdog timer on the AFE die The watchdog timer clocks via an oscillator that is completely independent of the clocks in the C...

Страница 18: ...and DE1 inputs If the high speed TIA is uncalibrated for the selected gain resistor and the ADC programmable gain amplifier PGA setting an error is present when measuring an absolute input current To generate a precision calibration current use the high speed DAC to create a differential voltage across an external precision RCAL resistor that is connected to the ADuCM355 RCAL0 pin and RCAL1 pin Th...

Страница 19: ...IBRATION CURRENT P_NODE EXCITATION AMPLIFIER EXTERNAL RCAL N_NODE RCAL1 DE0 HPTIA_N RTIA2_03 RLOAD_03 1 11V HSTIACON 1 0 00b HPTIA_P P_NODE N_NODE HPTIA_P HPTIA_N T6 T10 16887 024 ADC INPUT MUX Figure 34 High Speed DAC High Speed TIA and Switch Matrix Settings for RTIA2_03 Calibration PR0 HSDAC P N PGA ADC RCAL0 DR0 NR1 TR1 CALIBRATION CURRENT P_NODE EXCITATION AMPLIFIER EXTERNAL RCAL N_NODE RCAL1...

Страница 20: ...sion RCAL resistor that is connected to the ADuCM355 RCAL0 pin and RCAL1 pin The precision calibration current is routed through either the low power TIA0 gain resistor or the low power TIA1 gain resistor Because the calibration current value is known and the ADC can measure the voltage drop across each RTIA resistor the exact RTIA resistor value can be determined Figure 37 and Figure 38 show the ...

Страница 21: ...C INPUT MUX VZERO0 VZERO0 VBIAS0 Figure 37 High Speed TIA Low Power TIA0 and Switch Matrix Settings for LPRTIA0 Resistor Calibration LPDAC1 PGA ADC RCAL1 VBIAS1 TR1 T9 PR0 NR1 SW5 DR0 EXTERNAL RCAL P_NODE CALIBRATION CURRENT RCAL0 SE1 N_NODE LPTIA1_N LPRTIA1 RLOAD VZERO1 VBIAS1 LPTIA1_P LPTIA1 HSTIA P_NODE N_NODE LPTIA1_P LPTIA1_N D8 SW13 SW12 16887 130 ADC INPUT MUX VZERO1 VZERO1 VBIAS1 Figure 38...

Страница 22: ...ked in this way mass erase the user flash To mass erase the user flash take the following steps 1 Hold the S3 button down to place the device in boot mode 2 While holding the S3 button down press and release the reset button S1 to lock the device in a loop in the kernel space so that the device does not execute user code 3 In the IAR Embedded Workbench navigate to Project Download Erase memory see...

Страница 23: ...acitor 0805 X5R Taiyo Yuden EMK212BJ475KG T DS1 SML 310MTT86 LED green surface mount ROHM SML 310MTT86 DS2 LNJ926W8CRA LED blue surface mount Panasonic LNJ926W8CRA E1 E2 80 Ω at 100 MHz Ferrite bead 0 1 Ω maximum dc resistance 1 A Murata Manufacturing BLM41PF800SN1L E3 E4 60 Ω at 100 MHz Inductor chip ferrite 0 02 Ω dc resistance 3 5 A Murata BLM21PG600SN1D JP4 JP5 JP7 to JP20 0 Resistance jumper ...

Страница 24: ...e the Evaluation Board and ii permit any Third Party to access the Evaluation Board As used herein the term Third Party includes any entity other than ADI Customer their employees affiliates and in house consultants The EvaluationBoard is NOTsold to Customer all rights not expresslygranted herein including ownership of the Evaluation Board are reserved by ADI CONFIDENTIALITY This Agreement and the...

Отзывы: