background image

UG-1634 

EV-AD74412RSDZ

 User Guide

 

Rev. 0 | Page 8 of 15 

EXAMPLE SEQUENCE 

This section demonstrates how to configure th

AD74412R

 for 

a selected function. Th

AD74412R

 data sheet must be consulted 

when programming the device. 

Force Voltage Measure Current Example 

This example is used to configure th

AD74412R

 in voltage 

output mode, sourcing 11 V across the Channel A screw terminals. 
This example also measures the corresponding current through 
the R

SENSE

 resistor using the on-chip, analog-to-digital converter 

(ADC). The ADC measurement is completed using a conversion 
rate of 20 SPS with 50 Hz and 60 Hz rejection enabled. See Table 2 
for the full list of commands. 

A suitable load must be placed across the screw terminals. Refer 
to th

AD74412R

 data sheet for more information. 

To complete the register write steps shown in Table 2 using the 

AD74412R

 GUI, take the following steps: 

1.

 

In the 

Configure

 tab, use the dropdown menus to select 

Actuators

 and 

Voltage Output

 (see Figure 4

)

.  

2.

 

In the 

Advanced Settings

 panel, set the 

DAC Code

 slider 

to 8191 (11 V).  

3.

 

Click 

Apply

. This executes all writes required to configure 

the device and to enable ADC conversions in the default 
mode. This configuration allows th

AD74412R

 to measure 

voltage across the R

SENSE

 resistor in the 0 V to 2.5 V range at 

a 20 SPS conversion rate. 

4.

 

Click the 

View Results

 tab to view the ADC results.  

See Figure 10 for the corresponding script. 

Table 2. Force Voltage Measure Current Instruction Set  

Instruction Instruction 

Description 

W/R

1

 

Register Name 
and Address 

Data Notes 

1 Configure 

Channel 

in 

voltage output mode 

W CH_FUNC_SETUPA, 

Address 0x01 

0x0001  

Write full-scale code to 
DAC_A to generate 11 V 

W DAC_CODEA, 

Address 0x16 

0x1FFFF LDAC pin voltage = 0 V to allow outputs to be updated instantly.  

Measure 11 V across 
Channel A screw terminals 

N/A

2

 

N/A

2

 N/A

2

 

Use handheld meter to verify voltage. 

Enable ADC to convert and 
measure current through 
R

SENSE

 resistor  

W ADC_CONV_CTRL, 

Address 0x23 

0x0201 

When the write in Instruction 1 is executed, the ADC automatically 
configures to measure voltage across the R

SENSE

 resistor in a 0 V to 

2.5 V range.  

5 Read 

ADC 

results R 

ADC_RESULTA, 
Address 0x26 

 

 

Calculate current through 
R

SENSE

 resistor using the 

equation available in the 

AD74412R

 data sheet 

N/A

2

 N/A

2

 N/A

2

 

_

65535

MIN

RSENSE

SENSE

AD CODE

V

Voltage Range

I

R

 

  

 

 

 

where: 
I

RSENSE

 is the current through the R

SENSE

 resistor. 

V

MIN

 is −2.5 V, the minimum voltage is in the −2.5 V to 2.5 V range. 

The voltage range is 5 V. 

Stop ADC conversions 

ADC_CONV_CTRL, 
Address 0x23 

0x0000  

Program DAC_A to zero scale 

DAC_CODEA, 
Address 0x16 

0x0000 

Cleanup of DAC code and channel configuration is recommended 
before reprogramming the device. 

Reset Channel A to 
high-Z mode 

W CH_FUNC_SETUPA, 

Address 0x01 

0x0000 

 

1

 W is write and R is read.  

2

 N/A is not applicable. 

 

 

Содержание EV-AD74412RSDZ

Страница 1: ...ation board that can be used to evaluate the features of the AD74412R The AD74412R is a quad channel software configurable input output device The device has functionality for analog output analog inp...

Страница 2: ...ardware 3 Power Supplies 3 Reference Options 3 Output Channels 3 SPI Communication 3 Test Points 3 Link Configuration Options 3 Software Quick Start Procedures 5 Accessing the AD74412R Evaluation Soft...

Страница 3: ...hematic details for all four channels There are four channel screw terminal connectors on the EV AD74412RSDZ These terminals CH_A CH_B CH_C and CH_D are used to connect the desired loads to the four c...

Страница 4: ...duino reset function Not inserted JP13 When inserted the AD74412R reset can be provided by the reset button on the EV AD74412RSDZ Inserted JP14 When inserted the AD74412R reset can be triggered by an...

Страница 5: ...ation Software Start Page USING THE SOFTWARE FOR EVALUATION Configure Tab The Configure tab is used to configure the four channels of the AD74412R Each channel can be configured as described in the AD...

Страница 6: ...UG 1634 EV AD74412RSDZ User Guide Rev 0 Page 6 of 15 21413 006 Figure 6 View Results Tab 21413 007 Figure 7 Diagnostics Tab...

Страница 7: ...Click Apply in the Configure tab to display results in the View Results tab Scripting Tab The scripting tool allows simple scripts to be programmed executed and saved When a script is written in the...

Страница 8: ...4 Click the View Results tab to view the ADC results See Figure 10 for the corresponding script Table 2 Force Voltage Measure Current Instruction Set Instruction Instruction Description W R1 Register...

Страница 9: ...VIOUTN_A DLDO1V8 ALDO1V8 REFOUT ADR_REF 5V_BOARD REFIN ADR_REF SENSEL_A SENSEL_B SENSEHF_B SENSEH_B CCOMP_B GPO_A GPO_B GPO_C GPO_D CPUMP_P VIOUTP_D SDO ALERT IOVDD DVCC DLDO1V8 DGND DGND PAD SDI RESE...

Страница 10: ...29 92 90 32 88 31 91 38 37 85 39 84 83 34 33 82 64 35 41 80 42 57 60 100 21 99 26 95 27 7 114 8 113 112 10 111 110 12 13 108 14 107 15 16 105 18 103 19 102 20 101 22 25 96 120 119 70 68 67 66 55 54 53...

Страница 11: ...RED RED BAV99WT1G 10k RED 10k 0 01 F RED C41 C40 C38 C39 SENSEH_A I OP_B I ON_C I OP_D R46 C37 SENSEHF_D VIOUTN_D SENSELF_D SENSEH_C CR4 D4 R45 D3 C36 C33 C30 D2 R36 Q2 P7 D1 C31 R35 VIOUTN_C R37 R40...

Страница 12: ...UG 1634 EV AD74412RSDZ User Guide Rev 0 Page 12 of 15 21413 012 Figure 14 Layer 1 Top Layer 21413 013 Figure 15 Layer 2 Ground Layer...

Страница 13: ...EV AD74412RSDZ User Guide UG 1634 Rev 0 Page 13 of 15 21413 014 Figure 16 Layer 3 Power Layer 21413 015 Figure 17 Layer 4 Bottom Layer...

Страница 14: ...ECH U1H102JX5 4 CR1 CR2 CR3 CR4 Screw terminal isolation diodes ON Semiconductor BAV99WT1G 4 D1 D2 D3 D4 Transient voltage suppressors TVSs ST Microelectronics SMCJ40CA TR 4 DS1 DS2 DS3 DS4 Red light...

Страница 15: ...luding ownership of the Evaluation Board are reserved by ADI CONFIDENTIALITY This Agreement and the Evaluation Board shall all be considered the confidential and proprietary information of ADI Custome...

Отзывы: