A secondary loop for a MEMS gyroscope comprising a secondary element comprising at least one mechanical resonator, an analog front end circuitry configured to receive an analog detection signal from the secondary element and to provide an analog secondary input signal, a digital secondary loop circuitry and an analog back end circuitry , wherein said digital secondary loop circuitry comprises: - a signal path receiving at its input the analog secondary input signal representing a detection motion of a mechanical resonator and providing at its output an output signal indicating an angular velocity said MEMS gyroscope is subject to, the signal path comprising an analog-to-digital converter configured to digitize the analog secondary input signal into a digitized secondary signal; and - a digital force feedback circuitry configured to stabilize operation of the secondary loop by adjusting a response function of the digital secondary loop circuitry so that the derivative of the phase response of the digital secondary loop circuitry at frequencies around a resonance frequency of the at least one mechanical resonator is reduced, said digital force feedback circuitry comprising: - the analog-to-digital converter common with the signal path; and - a digital-to-analog converter configured to convert a phase shifted digitized secondary signal into an analog force feedback signal (FF) to be fed back towards the secondary element of the MEMS gyroscope by the analog back end circuitry, the force feedback signal (FF) causing a damping force against movements of the secondary element ; characterized in that the signal path further comprises a digital low pass infinite impulse response filter , and in that the digital force feedback circuitry comprises the digital low pass infinite impulse response filter common with the signal path, the digital low pass infinite impulse response filter being configured to receive at its input the digitized secondary signal, to cause a -90-degree phase shift to the digitized secondary signal at the resonance frequency, and to provide in its output the phase shifted digitized secondary signal. - a signal path receiving at its input the analog secondary input signal representing a detection motion of a mechanical resonator and providing at its output an output signal indicating an angular velocity said MEMS gyroscope is subject to, the signal path comprising an analog-to-digital converter configured to digitize the analog secondary input signal into a digitized secondary signal; and - a digital force feedback circuitry configured to stabilize operation of the secondary loop by adjusting a response function of the digital secondary loop circuitry so that the derivative of the phase response of the digital secondary loop circuitry at frequencies around a resonance frequency of the at least one mechanical resonator is reduced, said digital force feedback circuitry comprising: - the analog-to-digital converter common with the signal path; and - a digital-to-analog converter configured to convert a phase shifted digitized secondary signal into an analog force feedback signal (FF) to be fed back towards the secondary element of the MEMS gyroscope by the analog back end circuitry, the force feedback signal (FF) causing a damping force against movements of the secondary element ; - the analog-to-digital converter common with the signal path; and - a digital-to-analog converter configured to convert a phase shifted digitized secondary signal into an analog force feedback signal (FF) to be fed back towards the secondary element of the MEMS gyroscope by the analog back end circuitry, the force feedback signal (FF) causing a damping force against movements of the secondary element ; <EOS>