A frequency-detecting circuit, a DCC, and an electronic device. The frequency-detecting circuit includes a control-
signal generating circuit generating a first
control signal and a second
control signal delayed relative to the first
control signal; a charging and discharging path, under control of the second control
signal, during a period with a pulse width when the second control
signal is at a high level, performing the discharging process, and performing the charging process during another period when the second control signal is at a low level; and a control-
voltage generating circuit, sampling values of a
voltage of an output terminal of the charging and discharging path before the discharging process during a period with a pulse width when the first control signal is at the high level, to output a corresponding first
voltage signal.