* SPICE netlist
V1 IN 0 20
R1 N011 0 28.7K
R2 N012 0 45.3K
C2 N013 P001 330p
C3 0 N001 1
C4 N002 N003 100n
L1 N003 OUT 8.2 Rser=10m
C5 OUT 0 4.7 Rser=5m
R3 OUT N007 50m
D1 N010 0 LXHL-BW02 n=3
M1 N010 N008 N007 N007 IRF7343P
R4 OUT N005 110K
R5 N005 0 10K
C1 N004 0 .1
C6 N009 0 3.3n
XU1 N001 N002 N003 OUT N005 OUT N007 N008 NC_01 0 N013 N012 N011 N009 0 NC_02 N006 N004 N004 IN IN LT3932-1 ;pnba INTVcc)BST)SW)Vout)FB)ISP)ISN)PWMTG)ISMON)GND)Vc)RT)RP)SS)SYNC/SPRD)_FAULT)PWM)CTRL)Vref)EN/UVLO)Vin
R6 P001 0 10k
R7 N004 N006 10k
R8 N006 0 191k
.tran 1m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1040 976
WIRE -40 -472 -40 -488
WIRE -40 -392 -40 -408
WIRE -280 -360 -520 -360
WIRE -248 -360 -280 -360
WIRE 216 -360 168 -360
WIRE -520 -344 -520 -360
WIRE -280 -280 -280 -360
WIRE -248 -280 -280 -280
WIRE 216 -280 216 -296
WIRE 216 -280 168 -280
WIRE 280 -280 216 -280
WIRE 392 -280 360 -280
WIRE 440 -280 392 -280
WIRE 520 -280 440 -280
WIRE 440 -264 440 -280
WIRE -520 -248 -520 -264
WIRE -392 -200 -488 -200
WIRE -280 -200 -392 -200
WIRE -248 -200 -280 -200
WIRE 216 -200 168 -200
WIRE 392 -200 392 -280
WIRE 392 -200 216 -200
WIRE 440 -184 440 -200
WIRE -488 -168 -488 -200
WIRE -392 -152 -392 -200
WIRE -280 -120 -280 -200
WIRE -248 -120 -280 -120
WIRE 216 -120 168 -120
WIRE 296 -120 216 -120
WIRE 392 -120 376 -120
WIRE -488 -72 -488 -104
WIRE 520 -72 520 -280
WIRE 520 -72 456 -72
WIRE 520 -56 520 -72
WIRE -392 -40 -392 -72
WIRE -248 -40 -392 -40
WIRE 456 -40 456 -72
WIRE 456 -40 168 -40
WIRE -392 -8 -392 -40
WIRE 520 40 520 24
WIRE 520 40 168 40
WIRE -392 88 -392 72
WIRE 520 104 520 40
WIRE -248 120 -264 120
WIRE 472 120 168 120
WIRE -328 200 -344 200
WIRE -248 200 -264 200
WIRE 520 216 520 200
WIRE -376 280 -392 280
WIRE -248 280 -296 280
WIRE 184 280 168 280
WIRE 520 296 520 280
WIRE -104 328 -104 312
WIRE 40 328 40 312
WIRE -104 424 -104 408
WIRE 40 488 40 472
FLAG -520 -248 0
FLAG -264 120 0
FLAG 184 280 0
FLAG -40 -488 0
FLAG -392 280 0
FLAG -104 424 0
FLAG 440 -184 0
FLAG 520 296 0
FLAG -520 -360 IN
FLAG 520 -280 OUT
FLAG 392 -120 0
FLAG -488 -72 0
FLAG -344 200 0
FLAG 40 488 0
FLAG -392 88 0
SYMBOL voltage -520 -360 R0
SYMATTR InstName V1
SYMATTR Value 20
SYMBOL res -280 264 R90
SYMATTR InstName R1
SYMATTR Value 28.7K
SYMBOL res -120 312 R0
SYMATTR InstName R2
SYMATTR Value 45.3K
SYMBOL cap 24 328 R0
SYMATTR Value 330p
SYMATTR InstName C2
SYMBOL cap -56 -472 R0
SYMATTR InstName C3
SYMATTR Value 1
SYMBOL cap 200 -360 R0
SYMATTR InstName C4
SYMATTR Value 100n
SYMBOL ind 264 -264 R270
SYMATTR InstName L1
SYMATTR Value 8.2
SYMATTR Value2 Rser=10m
SYMBOL cap 424 -264 R0
SYMATTR InstName C5
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=5m
SYMBOL res 504 -72 R0
SYMATTR InstName R3
SYMATTR Value 50m
SYMBOL LED 504 216 R0
SYMATTR Value2 n=3
SYMATTR Value LXHL-BW02
SYMATTR InstName D1
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 472 200 M180
SYMATTR InstName M1
SYMATTR Value IRF7343P
SYMBOL res 200 -216 R0
SYMATTR InstName R4
SYMATTR Value 110K
SYMBOL res 280 -104 R270
SYMATTR InstName R5
SYMATTR Value 10K
SYMBOL cap -504 -168 R0
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL cap -264 184 R90
SYMATTR InstName C6
SYMATTR Value 3.3n
SYMBOL LT3932-1 -40 -40 R0
SYMATTR InstName U1
SYMBOL res 24 376 R0
SYMATTR InstName R6
SYMATTR Value 10k
SYMBOL res -408 -168 R0
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL res -408 -24 R0
SYMATTR InstName R8
SYMATTR Value 191k