* SPICE netlist
C1 N003 0 4.7
L1 IN N001 22 Rpar=2K
R2 N002 N007 1Meg
R3 N007 0 16.2K
D1 N001 N002 MBRS360
R4 N002 N009 .68
C2 N002 0 10
V1 IN 0 10
R5 IN N004 332K
R6 N004 0 100K
C3 N012 0 4700p Rser=34K
MQ2 N013 N015 0 0 Si7850DP
D2 N009 N013 LXK2-PW14 N=10
C4 N010 0 .001
R7 N011 0 28.7K
V2 N014 0 3.3
R8 N003 N005 100K
R9 IN N008 332K
R10 N008 0 40.2K
XU1 N006 N014 N005 N010 N011 N004 N003 IN MP_01 N001 N015 N007 N009 N002 N012 N008 0 LT3956 ;pnba Vref)PWM)_VMODE)SS)Rt)EN/UVLO)INTVcc)Vin))SW)PWMout)FB)ISN)ISP)Vc)CTRL)GND
.tran 3m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1328 656
WIRE -552 -328 -664 -328
WIRE -456 -328 -552 -328
WIRE -40 -328 -456 -328
WIRE 184 -328 -40 -328
WIRE 296 -328 264 -328
WIRE 344 -328 296 -328
WIRE 440 -328 408 -328
WIRE 536 -328 440 -328
WIRE 664 -328 536 -328
WIRE -664 -312 -664 -328
WIRE -456 -312 -456 -328
WIRE 536 -312 536 -328
WIRE 152 -280 -328 -280
WIRE -40 -264 -40 -328
WIRE 536 -232 536 -248
WIRE -664 -216 -664 -232
WIRE -456 -216 -456 -232
WIRE -216 -216 -456 -216
WIRE 152 -216 152 -280
WIRE 152 -216 136 -216
WIRE 232 -216 216 -216
WIRE -456 -200 -456 -216
WIRE 440 -152 440 -328
WIRE -328 -136 -328 -280
WIRE -312 -136 -328 -136
WIRE -216 -136 -232 -136
WIRE 296 -136 296 -328
WIRE 296 -136 136 -136
WIRE -456 -104 -456 -120
WIRE 664 -104 664 -328
WIRE 664 -104 584 -104
WIRE 664 -88 664 -104
WIRE -552 -72 -552 -328
WIRE -216 -56 -232 -56
WIRE 440 -56 440 -72
WIRE 440 -56 136 -56
WIRE 440 -40 440 -56
WIRE -552 24 -552 8
WIRE -216 24 -552 24
WIRE 216 24 136 24
WIRE 664 24 664 -8
WIRE 664 24 616 24
WIRE -552 40 -552 24
WIRE 664 40 664 24
WIRE 440 56 440 40
WIRE 216 88 216 24
WIRE 584 88 584 -104
WIRE 584 88 216 88
WIRE -296 104 -312 104
WIRE -216 104 -232 104
WIRE 184 104 136 104
WIRE 184 120 184 104
WIRE 616 120 616 24
WIRE 616 120 184 120
WIRE -552 136 -552 120
WIRE -376 184 -440 184
WIRE -216 184 -296 184
WIRE 168 184 136 184
WIRE 248 184 232 184
WIRE 664 184 664 104
WIRE -520 264 -536 264
WIRE -216 264 -440 264
WIRE 616 264 136 264
WIRE 664 296 664 280
WIRE -40 328 -40 312
FLAG 232 -216 0
FLAG 440 56 0
FLAG 536 -232 0
FLAG -664 -216 0
FLAG -456 -104 0
FLAG 248 184 0
FLAG 664 296 0
FLAG -312 104 0
FLAG -440 184 0
FLAG -40 328 0
FLAG -536 264 0
FLAG -664 -328 IN
FLAG -552 136 0
SYMBOL cap 152 -200 R270
SYMATTR InstName C1
SYMATTR Value 4.7
SYMBOL ind 168 -312 R270
SYMATTR InstName L1
SYMATTR Value 22
SYMATTR SpiceLine Rpar=2K
SYMBOL res 424 -168 R0
SYMATTR InstName R2
SYMATTR Value 1Meg
SYMBOL res 424 -56 R0
SYMATTR InstName R3
SYMATTR Value 16.2K
SYMBOL schottky 344 -312 R270
SYMATTR InstName D1
SYMATTR Value MBRS360
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 648 -104 R0
SYMATTR InstName R4
SYMATTR Value .68
SYMBOL cap 520 -312 R0
SYMATTR InstName C2
SYMATTR Value 10
SYMBOL voltage -664 -328 R0
SYMATTR Value2 ""
SYMATTR SpiceLine ""
SYMATTR InstName V1
SYMATTR Value 10
SYMBOL res -472 -328 R0
SYMATTR InstName R5
SYMATTR Value 332K
SYMBOL res -472 -216 R0
SYMATTR InstName R6
SYMATTR Value 100K
SYMBOL cap 168 168 M90
SYMATTR InstName C3
SYMATTR Value 4700p
SYMATTR SpiceLine Rser=34K
SYMBOL nmos 616 184 R0
SYMATTR InstName Q2
SYMATTR Value Si7850DP
SYMBOL LED 648 40 R0
SYMATTR Value LXK2-PW14
SYMATTR Value2 N=10
SYMATTR InstName D2
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap -232 88 R90
SYMATTR InstName C4
SYMATTR Value .001
SYMBOL res -280 168 R90
SYMATTR InstName R7
SYMATTR Value 28.7K
SYMBOL voltage -424 264 R90
SYMATTR InstName V2
SYMATTR Value 3.3
SYMATTR Value2 ""
SYMATTR SpiceLine ""
SYMBOL res -328 -120 R270
SYMATTR InstName R8
SYMATTR Value 100K
SYMBOL res -568 -88 R0
SYMATTR InstName R9
SYMATTR Value 332K
SYMBOL res -568 24 R0
SYMATTR InstName R10
SYMATTR Value 40.2K
SYMBOL PowerProducts\\LT3956 -40 24 R0
SYMATTR InstName U1