Thanks for the additional specifications regarding the output (3–12V at 0.5A). To proceed with the design, I have 1 more clarifying question:
Output Voltage Adjustment: Would you like to implement a manual adjustment for the output voltage using a potentiometer in the TL431 feedback network, or do you prefer a digitally controlled adjustment (for example via an MCU)?
Please let me know your preference, and we'll incorporate it into the schematic and PCB design.