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

* LTspice schematic (.asc):
Version 4
SHEET 1 1652 920
WIRE -384 -48 -800 -48
WIRE -96 -48 -384 -48
WIRE 16 -48 -96 -48
WIRE 32 -48 16 -48
WIRE 128 -48 112 -48
WIRE 160 -48 128 -48
WIRE 352 -48 256 -48
WIRE 592 -48 352 -48
WIRE 736 -48 592 -48
WIRE 832 -48 736 -48
WIRE 944 -48 832 -48
WIRE 1024 -48 944 -48
WIRE 1216 -48 1120 -48
WIRE -800 -32 -800 -48
WIRE 832 -32 832 -48
WIRE 944 -32 944 -48
WIRE 1216 -32 1216 -48
WIRE -384 -16 -384 -48
WIRE 592 -16 592 -48
WIRE 240 32 240 0
WIRE 1104 48 1104 0
WIRE -800 64 -800 48
WIRE 832 64 832 32
WIRE 944 64 944 48
WIRE 1216 64 1216 48
WIRE -384 80 -384 64
WIRE -272 80 -384 80
WIRE 592 80 592 64
WIRE 592 80 512 80
WIRE 736 80 736 -48
WIRE 592 112 592 80
WIRE -384 128 -384 80
WIRE -96 128 -96 -48
WIRE 16 128 16 -48
WIRE 128 128 128 -48
WIRE 240 128 240 112
WIRE 352 128 352 -48
WIRE 1104 144 1104 128
WIRE -272 192 -272 80
WIRE -192 192 -272 192
WIRE 512 192 512 80
WIRE 512 192 464 192
WIRE 592 208 592 192
WIRE -384 256 -384 208
WIRE -192 256 -384 256
WIRE 736 256 736 160
WIRE 736 256 464 256
WIRE -384 272 -384 256
WIRE -192 320 -272 320
WIRE 528 320 464 320
WIRE -272 336 -272 320
WIRE 528 336 528 320
WIRE -384 368 -384 352
WIRE -112 416 -112 400
WIRE 208 416 208 400
WIRE 368 416 368 400
WIRE -272 432 -272 416
WIRE 48 432 48 400
WIRE 528 432 528 416
WIRE -112 496 -112 480
WIRE 208 496 208 480
WIRE 368 496 368 480
FLAG -384 368 0
FLAG 48 432 0
FLAG 592 208 0
FLAG -112 496 0
FLAG 208 496 0
FLAG 368 496 0
FLAG -272 432 0
FLAG -800 64 0
FLAG 832 64 0
FLAG 944 64 0
FLAG 1216 64 0
FLAG 1104 144 0
FLAG 528 432 0
SYMBOL nmos 160 0 R270
WINDOW 0 82 51 VTop 2
WINDOW 3 51 49 VTop 2
SYMATTR InstName Q1
SYMATTR Value Si4864DY
SYMBOL res 16 -32 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 5m
SYMBOL res -400 -32 R0
SYMATTR InstName R2
SYMATTR Value 34K
SYMBOL res -400 224 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 1.74K
SYMBOL res -400 256 R0
SYMATTR InstName R4
SYMATTR Value 2.67K
SYMBOL res 576 -32 R0
SYMATTR InstName R5
SYMATTR Value 25.1K
SYMBOL res 576 208 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R6
SYMATTR Value 3.57K
SYMBOL res 720 64 R0
SYMATTR InstName R7
SYMATTR Value 24K
SYMBOL cap -128 416 R0
SYMATTR InstName C1
SYMATTR Value .068
SYMBOL cap 192 416 R0
SYMATTR InstName C2
SYMATTR Value .068
SYMBOL cap 352 416 R0
SYMATTR InstName C3
SYMATTR Value 4
SYMBOL voltage -272 320 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3.1
SYMBOL voltage -800 -48 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 cap 816 -32 R0
SYMATTR InstName C4
SYMATTR Value 2000
SYMBOL res 928 64 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R8
SYMATTR Value 10
SYMBOL nmos 1024 0 R270
WINDOW 0 88 50 VTop 2
WINDOW 3 55 55 VTop 2
SYMATTR InstName Q2
SYMATTR Value Si4864DY
SYMBOL voltage 1104 32 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 224 16 R0
SYMATTR InstName R9
SYMATTR Value 10
SYMBOL res 1200 64 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R10
SYMATTR Value .05
SYMBOL voltage 528 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 PowerProducts\\LTC4215-3 128 256 R0
SYMATTR InstName U1
TEXT 1104 472 Left 2 !.tran 12
TEXT 1048 200 Left 2 ;Simulate shorts
TEXT 576 376 Left 2 ;simulate board detection