Abstract: An electronic circuit for driving a resonator of a MEMS-type resonator device is provided. The resonator includes a mass connected to a spring and a damping element, an actuation element for actuating the mass via an actuation signal, and a detection element for detecting motion of the mass. The electronic circuit includes a conversion means connected to the detection element to supply a mass oscillation derivative signal, a means of comparing the derivative signal amplitude and a reference amplitude for supplying a control signal, and a decision unit for supplying a digital actuation signal. The actuation signal includes rectangular pulses determined on the basis of the derivative signal and of the control signal to adapt the mass oscillation amplitude according to the reference amplitude.