Hello,
I am trying to simulate a circuit with the LM76002 buck converter from TI, but the simulation either fails with “Timestep too small” on an internal node or just gets stuck.
I had to change a few things to get the simulation running at all:
Replace the inner curly brackets with round brackets on line 545:
.PARAM rdsls=30m gain_comp2i={(imaxvy)/(vcomp_maxvy-vcomp_min)}
and replace
V(SDWN)< 0 .5
with
V(SDWN)< 0.5
on lines 85, 91 and 109.
The components are more or less the recommended ones from the datasheet.
I tried a few different component values for the circuit and ramping the supply, but the simulation never runs past the first millisecond or so. Compatibility mode is set to PSpice + LTspice. To me it looks like an issue with the model, but I have no idea what it is doing internally or if my changes broke something else.
Unfortunately, I cannot attach the KiCad project.