* Z:\home\khalils\Downloads\files\data\raw_asc\LT3942.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\LT3942.asy)
R4 IN N008 1Meg
C2 N004 N003 100n
DLED1 N013 0 LXK2-PW14 N=4
C4 N012 0 0.22
R3 N007 0 115k
C3 N009 0 4.7
L1 N002 N003 3.3
R7 N006 0 69.8k
R10 0 N017 14.3k
R6 OUT N006 1000k
V1 IN 0 PWL(0 0 100u 12 1m 12)
M1 N013 N011 N005 N005 SP8M24_P
R9 N015 N014 3.92k
R1 N010 N009 100k
R5 N008 0 34.8k
C1 N002 N001 100n
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
C7 0 N015 3.3n
R2 IN N007 499k
R8 OUT N005 100m
C6 OUT 0 10
C8 0 N016 10n
.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 5m startup
.lib LT3942.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1948 868
WIRE 128 -272 96 -272
WIRE 224 -272 192 -272
WIRE 256 -272 224 -272
WIRE 368 -272 336 -272
WIRE 400 -272 368 -272
WIRE 496 -272 464 -272
WIRE 96 -208 96 -272
WIRE 224 -208 224 -272
WIRE 368 -208 368 -272
WIRE 496 -208 496 -272
WIRE -208 -128 -560 -128
WIRE -96 -128 -208 -128
WIRE -32 -128 -96 -128
WIRE 0 -128 -32 -128
WIRE 656 -128 592 -128
WIRE 720 -128 656 -128
WIRE 784 -128 720 -128
WIRE 880 -128 784 -128
WIRE 912 -128 880 -128
WIRE 1024 -128 992 -128
WIRE 1120 -128 1024 -128
WIRE -560 -112 -560 -128
WIRE 656 -112 656 -128
WIRE 784 -96 784 -128
WIRE -208 -80 -208 -128
WIRE -32 -48 -32 -128
WIRE 0 -48 -32 -48
WIRE 656 -16 656 -32
WIRE 656 -16 592 -16
WIRE -560 0 -560 -32
WIRE 656 0 656 -16
WIRE 784 0 784 -32
WIRE -336 32 -368 32
WIRE -208 32 -208 0
WIRE -208 32 -256 32
WIRE 0 32 -208 32
WIRE -96 48 -96 -128
WIRE 656 112 656 80
WIRE -240 144 -272 144
WIRE -96 144 -96 128
WIRE -96 144 -160 144
WIRE 0 144 -96 144
WIRE 880 144 880 -128
WIRE 880 144 592 144
WIRE 1024 224 1024 -128
WIRE 1024 224 592 224
WIRE -240 256 -272 256
WIRE -144 256 -176 256
WIRE 0 256 -144 256
WIRE 1120 320 1120 -128
WIRE -144 336 -144 256
WIRE -112 336 -144 336
WIRE 0 336 -32 336
WIRE 1072 336 592 336
WIRE -240 416 -272 416
WIRE -32 416 -176 416
WIRE 0 416 -32 416
WIRE 1120 480 1120 416
WIRE -32 496 -32 416
WIRE 0 496 -32 496
WIRE 656 496 592 496
WIRE 768 496 736 496
WIRE 864 496 832 496
WIRE -144 576 -144 336
WIRE 0 576 -144 576
WIRE 624 576 592 576
WIRE 736 576 688 576
WIRE 1120 608 1120 544
WIRE 0 656 -32 656
WIRE 624 656 592 656
WIRE 736 656 704 656
WIRE 0 736 -32 736
WIRE 624 736 592 736
SYMBOL res 640 -128 R0
SYMATTR InstName R6
SYMATTR Value 1000k
SYMBOL LT3942 304 288 R0
WINDOW 0 0 -240 Center 2
SYMATTR InstName U1
SYMBOL res 720 640 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 14.3k
SYMBOL res -144 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 34.8k
SYMBOL res -112 32 R0
SYMATTR InstName R4
SYMATTR Value 1Meg
SYMBOL cap 464 -288 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL cap 192 -288 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL ind 240 -256 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 3.3
SYMBOL LED 1104 480 R0
WINDOW 123 24 85 Left 2
SYMATTR Value2 N=4
SYMATTR Value LXK2-PW14
SYMATTR InstName LED1
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res -16 320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL res -224 -96 R0
SYMATTR InstName R2
SYMATTR Value 499k
SYMBOL voltage -560 -128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 23 94 Left 2
SYMATTR Value PWL(0 0 100u 12 1m 12)
SYMATTR InstName V1
SYMBOL res 640 -16 R0
SYMATTR InstName R7
SYMATTR Value 69.8k
SYMBOL res -240 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 115k
SYMBOL cap -176 400 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 0.22
SYMBOL cap -176 240 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 4.7
SYMBOL cap 832 480 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C7
SYMATTR Value 3.3n
SYMBOL cap 768 -96 R0
SYMATTR InstName C6
SYMATTR Value 10
SYMBOL cap 688 560 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C8
SYMATTR Value 10n
SYMBOL pmos 1072 416 M180
WINDOW 0 60 64 Left 2
WINDOW 3 61 29 Left 2
SYMATTR InstName M1
SYMATTR Value SP8M24_P
SYMBOL res 752 480 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R9
SYMATTR Value 3.92k
SYMBOL res 896 -144 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 100m
FLAG -272 256 0
FLAG -272 416 0
FLAG -32 656 0
FLAG -32 736 0
FLAG -272 144 0
FLAG -368 32 0
FLAG -560 0 0
FLAG 656 112 0
FLAG 784 0 0
FLAG 864 496 0
FLAG 736 576 0
FLAG 736 656 0
FLAG 624 736 0
FLAG -560 -128 IN
FLAG 720 -128 OUT
FLAG 1120 608 0
TEXT -352 792 Left 2 !.tran 5m startup