* Z:\home\khalils\Downloads\files\data\raw_asc\LT3840.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT3840.asy)
Rload OUT 0 .165
C1 N015 0 470p Rser=7.68K
V1 IN 0 24
R4 N011 0 10K
R1 N010 0 49.9K
C7 N005 N007 1
L2 N007 N008 1.5 Rser=10m
R3 OUT N011 16.9K
R2 N008 OUT 2m
C6 N004 0 4.7
C5 N002 N001 1
L1 N002 N003 33 Rser=.1
M1 IN N006 N007 N007 BSC265N10LSF
C4 N012 0 1500p Rser=20K
XU1 N002 0 IN MP_01 N010 N013 N011 N012 NC_02 0 0 IN IN IN 0 N014 NC_03 N015 N008 OUT N007 N006 N005 0 N009 N004 N003 N001 LT3840 ;pnba AUXSW1)PGND)AUXVin))Rt)TK/SS)FB)Vc)PG)Mode)OVLO)UVLO)EN)Vin)GND)IMON)ICTRL)IComp)Sense+)Sense-)SW)TG)Boost)BGRTN)BG)INTVcc)AUXSW2)AUXBST
C2 N014 0 2200p
C3 N013 0 100p
D1 N004 N005 BAT46WJ
C8 OUT 0 330 x2 Rser=20m
M2 N007 N009 0 0 BSC252N10NSF
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 500u startup
.lib LT3840.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1300 904
WIRE 672 -432 48 -432
WIRE 160 -384 128 -384
WIRE 240 -384 224 -384
WIRE 256 -384 240 -384
WIRE 352 -384 336 -384
WIRE 128 -336 128 -384
WIRE 240 -336 240 -384
WIRE 352 -336 352 -384
WIRE 48 -272 48 -432
WIRE 48 -272 -112 -272
WIRE 64 -272 48 -272
WIRE 464 -272 416 -272
WIRE 544 -272 464 -272
WIRE -112 -256 -112 -272
WIRE 544 -256 544 -272
WIRE 464 -192 464 -208
WIRE 48 -176 48 -272
WIRE 64 -176 48 -176
WIRE 544 -176 544 -192
WIRE 544 -176 416 -176
WIRE -112 -160 -112 -176
WIRE 544 -160 544 -176
WIRE 672 -160 672 -432
WIRE 48 -80 48 -176
WIRE 64 -80 48 -80
WIRE 624 -80 416 -80
WIRE 48 16 48 -80
WIRE 64 16 48 16
WIRE 544 16 544 -96
WIRE 544 16 416 16
WIRE 672 16 672 -64
WIRE 672 16 544 16
WIRE 736 16 672 16
WIRE 864 16 816 16
WIRE 880 16 864 16
WIRE 976 16 960 16
WIRE 1024 16 976 16
WIRE 1072 16 1024 16
WIRE 1200 16 1072 16
WIRE 672 32 672 16
WIRE 1072 32 1072 16
WIRE 1200 32 1200 16
WIRE 64 112 32 112
WIRE 624 112 416 112
WIRE 1072 128 1072 96
WIRE 1200 128 1200 112
WIRE 672 208 672 128
WIRE 672 208 416 208
WIRE 672 224 672 208
WIRE 864 304 864 16
WIRE 864 304 416 304
WIRE 1024 352 1024 16
WIRE 64 400 32 400
WIRE 976 400 976 16
WIRE 976 400 416 400
WIRE -32 496 -48 496
WIRE 64 496 48 496
WIRE 1024 496 1024 432
WIRE 1024 496 416 496
WIRE 1024 512 1024 496
WIRE -32 592 -48 592
WIRE 64 592 32 592
WIRE 432 592 416 592
WIRE 1024 608 1024 592
WIRE -32 688 -48 688
WIRE 64 688 32 688
WIRE 432 688 416 688
WIRE 128 768 128 752
WIRE 240 768 240 752
WIRE 128 848 128 832
WIRE 240 848 240 832
SYMBOL res 1184 16 R0
SYMATTR InstName Rload
SYMATTR Value .165
SYMBOL res 64 480 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 49.9K
SYMBOL cap 448 -272 R0
WINDOW 0 29 15 Left 2
SYMATTR InstName C6
SYMATTR Value 4.7
SYMBOL res 1008 496 R0
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL ind 720 32 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L2
SYMATTR Value 1.5
SYMATTR SpiceLine Rser=10m
SYMBOL cap 528 -160 R0
SYMATTR InstName C7
SYMATTR Value 1
SYMBOL cap 32 576 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
WINDOW 39 54 30 VTop 2
SYMATTR InstName C4
SYMATTR Value 1500p
SYMATTR SpiceLine Rser=20K
SYMBOL res 864 32 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R2
SYMATTR Value 2m
SYMBOL cap 224 -400 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C5
SYMATTR Value 1
SYMBOL nmos 624 32 R0
SYMATTR InstName M2
SYMATTR Value BSC252N10NSF
SYMBOL schottky 528 -256 R0
SYMATTR InstName D1
SYMATTR Value BAT46WJ
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 32 672 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 100p
SYMBOL res 1008 336 R0
SYMATTR InstName R3
SYMATTR Value 16.9K
SYMBOL cap 112 768 R0
SYMATTR InstName C2
SYMATTR Value 2200p
SYMBOL ind 240 -368 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 33
SYMATTR SpiceLine Rser=.1
SYMBOL cap 1056 32 R0
WINDOW 123 28 59 Left 2
WINDOW 3 39 35 Left 2
SYMATTR Value2 x2
SYMATTR Value 330
SYMATTR InstName C8
SYMATTR SpiceLine Rser=20m
SYMBOL cap 224 768 R0
WINDOW 39 21 64 Left 2
WINDOW 3 36 36 Left 2
SYMATTR SpiceLine Rser=7.68K
SYMATTR Value 470p
SYMATTR InstName C1
SYMBOL voltage -112 -272 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL nmos 624 -160 R0
SYMATTR InstName M1
SYMATTR Value BSC265N10LSF
SYMBOL PowerProducts\\LT3840 240 208 R0
SYMATTR InstName U1
FLAG 432 688 0
FLAG 128 848 0
FLAG 240 848 0
FLAG -48 688 0
FLAG -48 592 0
FLAG -48 496 0
FLAG 32 400 0
FLAG 32 112 0
FLAG -112 -160 0
FLAG 464 -192 0
FLAG 672 224 0
FLAG 432 592 0
FLAG 1024 608 0
FLAG 1072 128 0
FLAG 1200 128 0
FLAG 1200 16 OUT
FLAG -112 -272 IN
TEXT 656 712 Left 2 !.tran 500u startup