The TPS5420DR can handle input voltages up to 42V, but it's recommended to keep it below 40V for reliable operation.
The inductor value depends on the output voltage, output current, and switching frequency. A good starting point is to use the inductor selection guide in the datasheet or use an online inductor calculator.
The EN (enable) pin is used to turn the converter on and off. It's an active-high input, so connect it to a logic high (e.g., VCC) to enable the converter, and connect it to a logic low (e.g., GND) to disable it.
The output voltage is set using the feedback resistors (RFBT and RFB) and the internal reference voltage (0.8V). Use the formula in the datasheet to calculate the resistor values for your desired output voltage.
The TPS5420DR can deliver up to 2A of output current, but this depends on the input voltage, output voltage, and thermal conditions. Be sure to check the thermal derating curves in the datasheet.