* SPICE netlist
VHVEE N007 0 -50
RterrmP INP 0 50
RL OUT 0 10k
C1 N006 0 0.1
Rset N008 0 2k
VHVCC N003 0 50
RtermN 0 INN 50
VCC_5V N001 0 5
VDAC VDAC 0 PWL(0 -1 1 -1 1.001 0 2 0 2.001 1 3 1)
R4 VDAC 0 10k
Ccomp_H OUT N004 {Ccomp}
Ccomp_L OUT N005 {Ccomp}
XU1 VDAC OC_SRC_ALARM OC_SNK_ALARM OV_POS_ALARM OV_NEG_ALARM N006 N008 INP INP 0 N007 OV_NEG_LIMIT OV_POS_LIMIT OC_SNK_LIMIT OC_SRC_LIMIT N005 OUT N004 SDN_IO 0 N003 INN INN N002 N002 N001 N001 AD8460 Ccomp={Ccomp} SetIQ={SetIQ} ;pnba Vdac)OC_SRC_ALM)OC_SNK_ALM)OV_POS_ALM)OV_NEG_ALM)REFIO)FS_ADJ)IOUTP)INP)GND)HVEE)OV_NEG_T)OV_POS_T)OC_SNK_T)OC_SRC_T)CCL)OUT)CCH)SDN_IO)SDN_RST)HVCC)INN)IOUTN)D_3P3V)A_3P3V)VREF_5V)VCC_5V
.tran 3
.param Ccomp=0p
.param SetIQ=22.5m

* LTspice schematic (.asc)
Version 4.1
SHEET 1 1712 656
WIRE 168 -328 -24 -328
WIRE 312 -328 168 -328
WIRE 360 -328 312 -328
WIRE 360 -312 360 -328
WIRE -24 -296 -24 -328
WIRE 168 -296 168 -328
WIRE 312 -296 312 -328
WIRE -824 -216 -856 -216
WIRE -24 -184 -24 -216
WIRE 24 -184 -24 -184
WIRE 72 -184 56 -184
WIRE 168 -184 168 -216
WIRE 168 -184 136 -184
WIRE -24 -168 -24 -184
WIRE 24 -168 24 -184
WIRE 56 -168 56 -184
WIRE 72 -168 72 -184
WIRE 136 -168 136 -184
WIRE 168 -168 168 -184
WIRE 312 -168 312 -216
WIRE 536 -88 536 -104
WIRE 536 -88 472 -88
WIRE -856 -56 -856 -216
WIRE -104 -56 -856 -56
WIRE 520 -56 472 -56
WIRE 600 -56 600 -104
WIRE 600 -56 520 -56
WIRE 856 -56 600 -56
WIRE -168 -40 -264 -40
WIRE 856 -40 856 -56
WIRE -168 -24 -168 -40
WIRE -104 -24 -168 -24
WIRE 536 -24 472 -24
WIRE -104 -8 -216 -8
WIRE 536 -8 536 -24
WIRE 600 -8 600 -56
WIRE -104 24 -168 24
WIRE 536 24 472 24
WIRE -104 56 -168 56
WIRE 520 56 472 56
WIRE 536 56 536 24
WIRE 632 56 536 56
WIRE 728 56 632 56
WIRE 856 56 856 40
WIRE -104 88 -168 88
WIRE 504 88 472 88
WIRE 520 88 520 56
WIRE 632 88 520 88
WIRE 728 88 632 88
WIRE -856 104 -856 -56
WIRE -776 104 -856 104
WIRE -520 104 -552 104
WIRE -776 120 -776 104
WIRE -552 120 -552 104
WIRE -104 120 -168 120
WIRE 488 120 472 120
WIRE 504 120 504 88
WIRE 632 120 504 120
WIRE 728 120 632 120
WIRE 40 152 40 136
WIRE 136 152 136 136
WIRE 168 152 168 136
WIRE 168 152 136 152
WIRE 488 152 488 120
WIRE 632 152 488 152
WIRE 728 152 632 152
WIRE -856 168 -856 104
WIRE 312 168 312 136
WIRE 72 200 72 136
WIRE 168 200 168 152
WIRE -776 216 -776 200
WIRE -856 312 -856 248
WIRE 40 312 40 216
WIRE 40 312 -856 312
WIRE 72 312 72 280
WIRE 72 312 40 312
WIRE 168 312 168 280
WIRE 168 312 72 312
WIRE 232 312 232 136
WIRE 232 312 168 312
WIRE 312 312 312 248
WIRE 312 312 232 312
WIRE 312 328 312 312
FLAG 312 328 0
FLAG 856 56 0
FLAG 520 -56 OUT
FLAG 632 56 OC_SRC_ALARM
FLAG 632 88 OC_SNK_ALARM
FLAG 632 120 OV_POS_ALARM
FLAG 632 152 OV_NEG_ALARM
FLAG 136 152 INP
FLAG 360 -312 0
FLAG -264 -40 SDN_IO
FLAG -824 -216 VDAC
FLAG -216 -8 SDN_RESET
FLAG -168 24 OC_SRC_LIMIT
FLAG -168 56 OC_SNK_LIMIT
FLAG -168 88 OV_POS_LIMIT
FLAG -168 120 OV_NEG_LIMIT
FLAG 136 -184 INN
FLAG -520 104 SDN_RESET
FLAG -552 120 0
FLAG -776 216 0
SYMBOL voltage 312 152 R0
SYMATTR InstName HVEE
SYMATTR Value -50
SYMBOL res 152 184 R0
SYMATTR InstName RterrmP
SYMATTR Value 50
SYMBOL res 840 -56 R0
SYMATTR InstName RL
SYMATTR Value 10k
SYMBOL cap 56 152 M0
SYMATTR InstName C1
SYMATTR Value 0.1
SYMBOL res 56 184 R0
SYMATTR InstName Rset
SYMATTR Value 2k
SYMBOL voltage 312 -200 M180
SYMATTR InstName HVCC
SYMATTR Value 50
SYMBOL res 152 -312 R0
SYMATTR InstName RtermN
SYMATTR Value 50
SYMBOL voltage -24 -200 M180
SYMATTR InstName VCC_5V
SYMATTR Value 5
SYMBOL voltage -856 152 R0
SYMATTR Value PWL(0 -1 1 -1 1.001 0 2 0 2.001 1 3 1)
SYMATTR InstName VDAC
SYMBOL res -792 104 R0
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL cap 600 -120 R90
SYMATTR InstName Ccomp_H
SYMATTR Value {Ccomp}
SYMBOL cap 600 -24 R90
SYMATTR InstName Ccomp_L
SYMATTR Value {Ccomp}
SYMBOL AD8460 216 -120 R0
SYMATTR InstName U1