* Z:\home\khalils\Downloads\files\data\raw_asc\LTC4215-2.asc
* Generated by LTspice 26.0.1 for Windows.
* Simulate shorts
* simulate board detection
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC4215-2.asy)
C2 N015 0 .068
V1 N012 0 3.1
MQ1 N002 N005 N003 N003 Si4864DY
R5 N003 N007 25.1K
R9 N005 N008 10
XU1 N009 N010 N014 0 N012 N013 N016 N015 N011 N007 N003 N008 N002 N001 N001 LTC4215-2 uvautoretry=1 ovautoretry=1 ocautoretry=1 ;pnba UV)OV)SS)GND)ON)_EN)Timer)Vcc)GPIO)FB)Source)Gate)Sense-)Sense+)Vdd
R1 N001 N002 5m
V2 N001 0 PWL(0 0 10u 0 100u 12 6 12)
R8 0 N003 10
R7 N003 N011 24K
C3 N016 0 4
R4 N010 0 2.67K
MQ2 N003 N006 N004 N004 Si4864DY
R2 N001 N009 34K
R6 0 N007 3.57K
R3 N010 N009 1.74K
C4 N003 0 2000
C1 N014 0 .068
V3 N006 0 PWL(0 0 4 0 +100u 12 +200m 12 +100n 0)
V4 N013 0 PWL(0 3.1 1 3.1 +100u 0)
R10 0 N004 .05
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 12
.lib LTC4215-2.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1724 788
WIRE -384 -32 -800 -32
WIRE -96 -32 -384 -32
WIRE 16 -32 -96 -32
WIRE 32 -32 16 -32
WIRE 128 -32 112 -32
WIRE 160 -32 128 -32
WIRE 352 -32 256 -32
WIRE 576 -32 352 -32
WIRE 688 -32 576 -32
WIRE 784 -32 688 -32
WIRE 896 -32 784 -32
WIRE 976 -32 896 -32
WIRE 1168 -32 1072 -32
WIRE -800 -16 -800 -32
WIRE 576 -16 576 -32
WIRE 784 -16 784 -32
WIRE 896 -16 896 -32
WIRE 1168 -16 1168 -32
WIRE 240 32 240 16
WIRE -384 48 -384 -32
WIRE 1056 64 1056 16
WIRE -800 80 -800 64
WIRE 576 80 576 64
WIRE 576 80 496 80
WIRE 688 80 688 -32
WIRE 784 80 784 48
WIRE 896 80 896 64
WIRE 1168 80 1168 64
WIRE 576 112 576 80
WIRE -96 128 -96 -32
WIRE 16 128 16 -32
WIRE 128 128 128 -32
WIRE 240 128 240 112
WIRE 352 128 352 -32
WIRE -384 144 -384 128
WIRE -272 144 -384 144
WIRE -384 160 -384 144
WIRE 1056 160 1056 144
WIRE -272 192 -272 144
WIRE -192 192 -272 192
WIRE 496 192 496 80
WIRE 496 192 464 192
WIRE 576 208 576 192
WIRE -384 256 -384 240
WIRE -192 256 -384 256
WIRE 688 256 688 160
WIRE 688 256 464 256
WIRE -384 272 -384 256
WIRE -192 320 -256 320
WIRE 544 320 464 320
WIRE -256 336 -256 320
WIRE 544 336 544 320
WIRE -384 368 -384 352
WIRE -112 416 -112 400
WIRE 208 416 208 400
WIRE 368 416 368 400
WIRE -256 432 -256 416
WIRE 48 432 48 400
WIRE 544 432 544 416
WIRE -112 496 -112 480
WIRE 208 496 208 480
WIRE 368 496 368 480
SYMBOL res -400 256 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 1.74K
SYMBOL res 560 -32 R0
SYMATTR InstName R5
SYMATTR Value 25.1K
SYMBOL cap 192 416 R0
SYMATTR InstName C2
SYMATTR Value .068
SYMBOL LTC4215-2 128 256 R0
SYMATTR InstName U1
SYMBOL voltage -256 320 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3.1
SYMBOL res -400 256 R0
SYMATTR InstName R4
SYMATTR Value 2.67K
SYMBOL nmos 976 16 R270
WINDOW 0 88 50 VTop 2
WINDOW 3 55 55 VTop 2
SYMATTR InstName Q2
SYMATTR Value Si4864DY
SYMBOL res 224 16 R0
SYMATTR InstName R9
SYMATTR Value 10
SYMBOL voltage -800 -32 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value PWL(0 0 10u 0 100u 12 6 12)
SYMBOL nmos 160 16 R270
WINDOW 0 82 51 VTop 2
WINDOW 3 51 49 VTop 2
SYMATTR InstName Q1
SYMATTR Value Si4864DY
SYMBOL cap 352 416 R0
SYMATTR InstName C3
SYMATTR Value 4
SYMBOL res 1152 80 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R10
SYMATTR Value .05
SYMBOL res -400 32 R0
SYMATTR InstName R2
SYMATTR Value 34K
SYMBOL cap 768 -16 R0
SYMATTR InstName C4
SYMATTR Value 2000
SYMBOL res 16 -16 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 5m
SYMBOL res 880 80 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R8
SYMATTR Value 10
SYMBOL cap -128 416 R0
SYMATTR InstName C1
SYMATTR Value .068
SYMBOL res 560 208 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R6
SYMATTR Value 3.57K
SYMBOL voltage 544 320 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V4
SYMATTR Value PWL(0 3.1 1 3.1 +100u 0)
SYMBOL voltage 1056 48 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value PWL(0 0 4 0 +100u 12 +200m 12 +100n 0)
SYMBOL res 672 64 R0
SYMATTR InstName R7
SYMATTR Value 24K
FLAG -384 368 0
FLAG 48 432 0
FLAG 576 208 0
FLAG -112 496 0
FLAG 208 496 0
FLAG 368 496 0
FLAG -256 432 0
FLAG -800 80 0
FLAG 784 80 0
FLAG 896 80 0
FLAG 1168 80 0
FLAG 1056 160 0
FLAG 544 432 0
TEXT 1056 400 Left 2 !.tran 12
TEXT 1000 216 Left 2 ;Simulate shorts
TEXT 592 376 Left 2 ;simulate board detection