I try to adjust the external value of the TPS40400 , switch pro and the excel tools TPS40KType III Loop Stability kVenable_sluc263c-071312
with both tool for the same input , output and inductor value I got major difference for the compensation loop value wish tool are the more accurate for have the best efficiency with this chip at 3V3 and 5V with 12V input.