* SPICE netlist
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
C1 N015 0 470p Rser=7.68K
C2 N014 0 2200p
C3 N013 0 100p
C4 N012 0 1500p Rser=20K
R1 N010 0 49.9K
V1 IN 0 24
C5 N002 N001 1
L1 N002 N003 33 Rser=.1
C6 N004 0 4.7
D1 N004 N005 BAT46WJ
M1 IN N006 N007 N007 BSC265N10LSF
C7 N005 N007 1
M2 N007 N009 0 0 BSC252N10NSF
L2 N007 N008 1.5 Rser=10m
R2 N008 OUT 2m
R3 OUT N011 16.9K
R4 N011 0 10K
C8 OUT 0 330 x2 Rser=20m
Rload OUT 0 .165
.tran 500u startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1312 1280
WIRE 128 -640 -496 -640
WIRE -384 -592 -416 -592
WIRE -304 -592 -320 -592
WIRE -288 -592 -304 -592
WIRE -192 -592 -208 -592
WIRE -416 -544 -416 -592
WIRE -304 -544 -304 -592
WIRE -192 -544 -192 -592
WIRE -496 -480 -496 -640
WIRE -496 -480 -656 -480
WIRE -480 -480 -496 -480
WIRE -80 -480 -128 -480
WIRE 0 -480 -80 -480
WIRE -656 -464 -656 -480
WIRE 0 -464 0 -480
WIRE -80 -400 -80 -416
WIRE -496 -384 -496 -480
WIRE -480 -384 -496 -384
WIRE 0 -384 0 -400
WIRE 0 -384 -128 -384
WIRE -656 -368 -656 -384
WIRE 0 -368 0 -384
WIRE 128 -368 128 -640
WIRE -496 -288 -496 -384
WIRE -480 -288 -496 -288
WIRE 80 -288 -128 -288
WIRE -496 -192 -496 -288
WIRE -480 -192 -496 -192
WIRE 0 -192 0 -304
WIRE 0 -192 -128 -192
WIRE 128 -192 128 -272
WIRE 128 -192 0 -192
WIRE 192 -192 128 -192
WIRE 320 -192 272 -192
WIRE 336 -192 320 -192
WIRE 432 -192 416 -192
WIRE 480 -192 432 -192
WIRE 528 -192 480 -192
WIRE 656 -192 528 -192
WIRE 128 -176 128 -192
WIRE 528 -176 528 -192
WIRE 656 -176 656 -192
WIRE -480 -96 -512 -96
WIRE 80 -96 -128 -96
WIRE 528 -80 528 -112
WIRE 656 -80 656 -96
WIRE 128 0 128 -80
WIRE 128 0 -128 0
WIRE 128 16 128 0
WIRE 320 96 320 -192
WIRE 320 96 -128 96
WIRE 480 144 480 -192
WIRE -480 192 -512 192
WIRE 432 192 432 -192
WIRE 432 192 -128 192
WIRE -576 288 -592 288
WIRE -480 288 -496 288
WIRE 480 288 480 224
WIRE 480 288 -128 288
WIRE 480 304 480 288
WIRE -576 384 -592 384
WIRE -480 384 -512 384
WIRE -112 384 -128 384
WIRE 480 400 480 384
WIRE -576 480 -592 480
WIRE -480 480 -512 480
WIRE -112 480 -128 480
WIRE -416 560 -416 544
WIRE -304 560 -304 544
WIRE -416 640 -416 624
WIRE -304 640 -304 624
FLAG -112 480 0
FLAG -416 640 0
FLAG -304 640 0
FLAG -592 480 0
FLAG -592 384 0
FLAG -592 288 0
FLAG -512 192 0
FLAG -512 -96 0
FLAG -656 -368 0
FLAG -80 -400 0
FLAG 128 16 0
FLAG -112 384 0
FLAG 480 400 0
FLAG 528 -80 0
FLAG 656 -80 0
FLAG 656 -192 OUT
FLAG -656 -480 IN
SYMBOL PowerProducts\\LT3840 -304 0 R0
SYMATTR InstName U1
SYMBOL cap -320 560 R0
SYMATTR SpiceLine Rser=7.68K
SYMATTR Value 470p
SYMATTR InstName C1
SYMBOL cap -432 560 R0
SYMATTR InstName C2
SYMATTR Value 2200p
SYMBOL cap -512 464 R90
SYMATTR InstName C3
SYMATTR Value 100p
SYMBOL cap -512 368 R90
SYMATTR InstName C4
SYMATTR Value 1500p
SYMATTR SpiceLine Rser=20K
SYMBOL res -480 272 R90
SYMATTR InstName R1
SYMATTR Value 49.9K
SYMBOL voltage -656 -480 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL cap -320 -608 R90
SYMATTR InstName C5
SYMATTR Value 1
SYMBOL ind -304 -576 R270
SYMATTR InstName L1
SYMATTR Value 33
SYMATTR SpiceLine Rser=.1
SYMBOL cap -96 -480 R0
SYMATTR InstName C6
SYMATTR Value 4.7
SYMBOL schottky -16 -464 R0
SYMATTR InstName D1
SYMATTR Value BAT46WJ
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL nmos 80 -368 R0
SYMATTR InstName M1
SYMATTR Value BSC265N10LSF
SYMBOL cap -16 -368 R0
SYMATTR InstName C7
SYMATTR Value 1
SYMBOL nmos 80 -176 R0
SYMATTR InstName M2
SYMATTR Value BSC252N10NSF
SYMBOL ind 176 -176 R270
SYMATTR InstName L2
SYMATTR Value 1.5
SYMATTR SpiceLine Rser=10m
SYMBOL res 320 -176 R270
SYMATTR InstName R2
SYMATTR Value 2m
SYMBOL res 464 128 R0
SYMATTR InstName R3
SYMATTR Value 16.9K
SYMBOL res 464 288 R0
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL cap 512 -176 R0
SYMATTR Value2 x2
SYMATTR Value 330
SYMATTR InstName C8
SYMATTR SpiceLine Rser=20m
SYMBOL res 640 -192 R0
SYMATTR InstName Rload
SYMATTR Value .165