A converter and a driving method thereof are provided. The converter
includes a main switch and a switching controller. The switching
controller controls on/off of the main switch by using a first voltage
corresponding to an output voltage and a first current flowing to the
main switch. The switching controller determines a reference count
according to the first voltage, and determines a peak value of the first
current corresponding to a reference count and a switching frequency of
the main switch.