background image

UG-1308 

EVAL-ADuCM355QSPZ

 Evaluation Board

Rev. A | Page 14 of 24 

Current through SE0.

Voltage on SE0.

Voltage on RE0.

Current through SE0 measured a second time.

To plot the current response of the test, open the saved 

.csv

 file in 

Microsoft® Excel. Figure 23 shows the plotted response current. 

–600

–500

–400

–300

–200

–100

100

0

200

300

500

400

600

1

17

33

49

65

81

97

11

3

12

9

14

5

16

1

17

7

30

5

19

3

20

9

22

5

24

1

25

7

27

3

28

9

32

1

33

7

35

3

36

9

38

5

CURRE

NT

 (

µ

A)

INDEX

16

887

-01

7

Figure 23. Example SE0 Channel Current Measurement 

EIS EXAMPLE 

EIS is a common electrochemical measurement in which an ac 
excitation signal is applied to an electrochemical cell. The response 
current is measured, and the impedance is calculated.  

On th

ADuCM355

the EIS measurement is a three-step process. 

The response current in each step is measured using a high 
speed transimpedance amplifier (TIA).  

The EIS measurement process is as follows: 

1.

A signal is applied across R

CAL

.

2.

A signal is applied across R

LOAD

.

3.

A signal is applied across Z

SENSOR

 + R

LOAD

.

In each step of the measurement processes, the measured current is 
input to the discrete Fourier transform (DFT) hardware accelerator 
that calculates the complex number of the current measurement 
and provides the real and imaginary parts. R

CAL

 is a precision 

resistor connected to the 

ADuCM355

 RCAL0 and RCAL1 pins, 

R

LOAD

 is the internal load resistor on the SE0 path, and Z

SENSOR

 is 

the impedance under test. 

Use the following equation to calculate the actual impedance: 

Z

SENSOR

 = (

Z

SENSOR

 + 

R

LOAD

)− 

Z

RLOAD

  

where: 

Z

SENSOR

 + 

R

LOAD

 is the impedance of R

SENSOR

 and R

LOAD

 measured 

together as a single impedance.  

Z

RLOAD

 is the impedance of R

LOAD

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 a star network, and 
connect the star network to the CE0, RE0, and SE0 pins on P5 
of the EVAL-ADuCM355QSPZ (see Figure 22). 

In the 

AD5940Main.c

 file, there are several configurable 

parameters that are shown in Figure 24. To couple the ac excitation 
signal on top of a dc bias, set the SensorCH0.SensorBias parameter. 
To apply a frequency sweep, modify the SweepCfg parameters. 

16

887

-22

5

 

Figure 24. EIS Parameters 

To run the impedance measurement, take the following steps: 

1.

Launch the debugger in the IAR Embedded Workbench.

2.

Open a terminal program with a 230,400 bps baud rate. 

3.

Execute the code.

4.

A prompt to press the S2 switch is sent over the UART and
displays in the terminal. Press S2 to begin the impedance test. 

5.

When the impedance measurement completes, the results
are sent to the UART (see Figure 25). Save the results in a
Microsoft Excel file for further analysis, if necessary.

16

88

7-

019

Figure 25. Impedance Results 

CHRONOAMPEROMETRY EXAMPLE 

Chronoamperometry is an electrochemical technique in which 
the voltage applied to an electrochemical cell is stepped. The 
response current on the sense electrode is measured. Figure 26 
and Figure 27 s
how typical chronoamperometric measurement 
and sensor responses. 

Summary of Contents for EVAL-ADuCM355QSPZ

Page 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...

Page 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...

Page 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 ...

Page 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...

Page 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...

Page 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...

Page 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 ...

Page 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...

Page 9: ...EVAL ADuCM355QSPZ Evaluation Board UG 1308 Rev A Page 9 of 24 16887 009 Figure 9 IAR Embedded Workbench ...

Page 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...

Page 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 ...

Page 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...

Page 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...

Page 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 ...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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 ...

Page 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...

Page 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...

Page 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 ...

Page 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...

Reviews: