* Z:\home\khalils\Downloads\files\data\raw_asc\LTC4215.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 PWL(0 3.1 1 3.1 1.0001 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 4.0001 12)
R9 N005 N009 10
R10 0 N004 .05
V4 N013 0 PWL(0 3.1 1 3.1 1.0001 0 1.2 0 1.20001 0)
XU1 N007 N010 N014 0 N012 N013 N016 N015 N011 N008 N003 N009 N002 N001 N001 LTC4215 uvautoretry=1 ovautoretry=1 ocautoretry=0 ;pnba UV)OV)SS)GND)ON)_EN)Timer)Vcc)GPIO)FB)Source)Gate)Sense-)Sense+)Vdd
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 16
* 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.asy)
.lib LTC4215.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1508 788
WIRE -384 -48 -784 -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 560 -48 352 -48
WIRE 688 -48 560 -48
WIRE 784 -48 688 -48
WIRE 896 -48 784 -48
WIRE 976 -48 896 -48
WIRE 1168 -48 1072 -48
WIRE -784 -32 -784 -48
WIRE 784 -32 784 -48
WIRE 896 -32 896 -48
WIRE 1168 -32 1168 -48
WIRE -384 -16 -384 -48
WIRE 560 -16 560 -48
WIRE 240 32 240 0
WIRE 1056 48 1056 0
WIRE -784 64 -784 48
WIRE 784 64 784 32
WIRE 896 64 896 48
WIRE 1168 64 1168 48
WIRE -384 80 -384 64
WIRE -272 80 -384 80
WIRE 560 80 560 64
WIRE 560 80 496 80
WIRE 560 112 560 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 688 128 688 -48
WIRE 1056 144 1056 128
WIRE -272 192 -272 80
WIRE -192 192 -272 192
WIRE 496 192 496 80
WIRE 496 192 464 192
WIRE 560 208 560 192
WIRE -384 256 -384 208
WIRE -192 256 -384 256
WIRE 688 256 688 208
WIRE 688 256 464 256
WIRE -384 272 -384 256
WIRE -192 320 -272 320
WIRE 544 320 464 320
WIRE 544 336 544 320
WIRE -384 368 -384 352
WIRE -272 400 -272 320
WIRE -112 416 -112 400
WIRE 208 416 208 400
WIRE 368 416 368 400
WIRE 48 432 48 400
WIRE 544 432 544 416
WIRE -272 496 -272 480
WIRE -112 496 -112 480
WIRE 208 496 208 480
WIRE 368 496 368 480
FLAG -384 368 0
FLAG 48 432 0
FLAG 560 208 0
FLAG -112 496 0
FLAG 208 496 0
FLAG 368 496 0
FLAG -272 496 0
FLAG -784 64 0
FLAG 784 64 0
FLAG 896 64 0
FLAG 1168 64 0
FLAG 1056 144 0
FLAG 544 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 544 -32 R0
SYMATTR InstName R5
SYMATTR Value 25.1K
SYMBOL res 544 208 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R6
SYMATTR Value 3.57K
SYMBOL res 672 112 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 384 M0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PWL(0 3.1 1 3.1 1.0001 3.1)
SYMBOL voltage -784 -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 768 -32 R0
SYMATTR InstName C4
SYMATTR Value 2000
SYMBOL res 880 64 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R8
SYMATTR Value 10
SYMBOL nmos 976 0 R270
WINDOW 0 88 50 VTop 2
WINDOW 3 55 55 VTop 2
SYMATTR InstName Q2
SYMATTR Value Si4864DY
SYMBOL voltage 1056 32 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value PWL(0 0 4 0 4.0001 12)
SYMBOL res 224 16 R0
SYMATTR InstName R9
SYMATTR Value 10
SYMBOL res 1152 64 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R10
SYMATTR Value .05
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 1.0001 0 1.2 0 1.20001 0)
SYMBOL LTC4215 128 256 R0
SYMATTR InstName U1
TEXT 784 544 Left 2 !.tran 16
TEXT 1000 200 Left 2 ;Simulate shorts
TEXT 592 376 Left 2 ;simulate board detection