* SPICE netlist
XU1 IN MP_01 IN N009 N007 N008 0 N009 N012 N012 OUT N005 NC_02 N010 N016 N006 N014 N017 0 N011 OUT MP_03 N003 MP_04 N004 N001 N002 MP_05 0 LT3942 ;pnba PVin))Vin)INTVcc)EN/UVLO)OVLO)RP)PWM)Vref)CTRL)ISP)ISN)ISMON)_FAULT)SS)FB)Vc)RT)SYNC/SPRD)PWMTG)PVout))SW2))BST2)BST1)SW1))GND
L1 N002 N003 3.3
C1 N002 N001 100n
C2 N004 N003 100n
R1 N010 N009 100k
R2 IN N007 499k
C3 N009 0 4.7
C4 N012 0 0.22
R3 N007 0 115k
R4 IN N008 1Meg
R5 N008 0 34.8k
V1 IN 0 PWL(0 0 100u 12 1m 12)
R6 OUT N006 1000k
R7 N006 0 69.8k
C6 OUT 0 10
R8 OUT N005 100m
DLED1 N013 0 LXK2-PW14 N=4
M1 N013 N011 N005 N005 SP8M24_P
R9 N015 N014 3.92k
C7 0 N015 3.3n
C8 0 N016 10n
R10 0 N017 14.3k
.tran 5m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1680 1024
WIRE -152 -496 -184 -496
WIRE -56 -496 -88 -496
WIRE -24 -496 -56 -496
WIRE 88 -496 56 -496
WIRE 120 -496 88 -496
WIRE 216 -496 184 -496
WIRE -184 -432 -184 -496
WIRE -56 -432 -56 -496
WIRE 88 -432 88 -496
WIRE 216 -432 216 -496
WIRE -488 -352 -840 -352
WIRE -376 -352 -488 -352
WIRE -312 -352 -376 -352
WIRE -280 -352 -312 -352
WIRE 376 -352 312 -352
WIRE 440 -352 376 -352
WIRE 504 -352 440 -352
WIRE 600 -352 504 -352
WIRE 632 -352 600 -352
WIRE 744 -352 712 -352
WIRE 840 -352 744 -352
WIRE -840 -336 -840 -352
WIRE 376 -336 376 -352
WIRE 504 -320 504 -352
WIRE -488 -304 -488 -352
WIRE -312 -272 -312 -352
WIRE -280 -272 -312 -272
WIRE 376 -240 376 -256
WIRE 376 -240 312 -240
WIRE -840 -224 -840 -256
WIRE 376 -224 376 -240
WIRE 504 -224 504 -256
WIRE -616 -192 -648 -192
WIRE -488 -192 -488 -224
WIRE -488 -192 -536 -192
WIRE -280 -192 -488 -192
WIRE -376 -176 -376 -352
WIRE 376 -112 376 -144
WIRE -520 -80 -552 -80
WIRE -376 -80 -376 -96
WIRE -376 -80 -440 -80
WIRE -280 -80 -376 -80
WIRE 600 -80 600 -352
WIRE 600 -80 312 -80
WIRE 744 0 744 -352
WIRE 744 0 312 0
WIRE -520 32 -552 32
WIRE -424 32 -456 32
WIRE -280 32 -424 32
WIRE 840 96 840 -352
WIRE -424 112 -424 32
WIRE -392 112 -424 112
WIRE -280 112 -312 112
WIRE 792 112 312 112
WIRE -520 192 -552 192
WIRE -312 192 -456 192
WIRE -280 192 -312 192
WIRE 840 256 840 192
WIRE -312 272 -312 192
WIRE -280 272 -312 272
WIRE 376 272 312 272
WIRE 488 272 456 272
WIRE 584 272 552 272
WIRE -424 352 -424 112
WIRE -280 352 -424 352
WIRE 344 352 312 352
WIRE 456 352 408 352
WIRE 840 384 840 320
WIRE -280 432 -312 432
WIRE 344 432 312 432
WIRE 456 432 424 432
WIRE -280 512 -312 512
WIRE 344 512 312 512
FLAG -552 32 0
FLAG -552 192 0
FLAG -312 432 0
FLAG -312 512 0
FLAG -552 -80 0
FLAG -648 -192 0
FLAG -840 -224 0
FLAG 376 -112 0
FLAG 504 -224 0
FLAG 584 272 0
FLAG 456 352 0
FLAG 456 432 0
FLAG 344 512 0
FLAG -840 -352 IN
FLAG 440 -352 OUT
FLAG 840 384 0
SYMBOL LT3942 24 64 R0
SYMATTR InstName U1
SYMBOL ind -40 -480 R270
SYMATTR InstName L1
SYMATTR Value 3.3
SYMBOL cap -88 -512 R90
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL cap 184 -512 R90
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL res -296 96 R90
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL res -504 -320 R0
SYMATTR InstName R2
SYMATTR Value 499k
SYMBOL cap -456 16 R90
SYMATTR InstName C3
SYMATTR Value 4.7
SYMBOL cap -456 176 R90
SYMATTR InstName C4
SYMATTR Value 0.22
SYMBOL res -520 -208 R90
SYMATTR InstName R3
SYMATTR Value 115k
SYMBOL res -392 -192 R0
SYMATTR InstName R4
SYMATTR Value 1Meg
SYMBOL res -424 -96 R90
SYMATTR InstName R5
SYMATTR Value 34.8k
SYMBOL voltage -840 -352 R0
SYMATTR Value PWL(0 0 100u 12 1m 12)
SYMATTR InstName V1
SYMBOL res 360 -352 R0
SYMATTR InstName R6
SYMATTR Value 1000k
SYMBOL res 360 -240 R0
SYMATTR InstName R7
SYMATTR Value 69.8k
SYMBOL cap 488 -320 R0
SYMATTR InstName C6
SYMATTR Value 10
SYMBOL res 616 -368 M90
SYMATTR InstName R8
SYMATTR Value 100m
SYMBOL LED 824 256 R0
SYMATTR Value2 N=4
SYMATTR Value LXK2-PW14
SYMATTR InstName LED1
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 792 192 M180
SYMATTR InstName M1
SYMATTR Value SP8M24_P
SYMBOL res 472 256 R90
SYMATTR InstName R9
SYMATTR Value 3.92k
SYMBOL cap 552 256 R90
SYMATTR InstName C7
SYMATTR Value 3.3n
SYMBOL cap 408 336 R90
SYMATTR InstName C8
SYMATTR Value 10n
SYMBOL res 440 416 R90
SYMATTR InstName R10
SYMATTR Value 14.3k