A digital controller circuitry for a MEMS gyroscope, comprising: - a digital primary loop circuitry configured to process a digitized primary signal, the digital primary loop circuitry comprising a first analog-to-digital converter configured to digitize an analog primary input signal into the digitized primary signal, - the digital controller circuitry further comprising a digital secondary loop circuitry configured to process a digitized secondary signal, and - said digital secondary loop circuitry comprising a second analog-to-digital converter configured to digitize an analog secondary input signal into the digitized secondary signal; and characterized in that - the digital primary loop circuitry further comprises a first infinite impulse response filter configured to cause a -90-degree phase shift of the digitized primary signal on a resonance frequency of a mechanical resonator of the MEMS gyroscope, the first digital infinite impulse response filter providing in its output a filtered digitized primary signal; and - the digital controller circuitry further comprises a digital phase shifting filter circuitry configured to generate two phase shifted demodulation signals (I, Q) from the filtered digitized primary signal, and to produce at its outputs the two phase shifted demodulation signals comprising an in-phase demodulation signal (I) and a quadrature demodulation signal (Q); and - the digital secondary loop circuitry further comprises a coherent detector circuitry configured to receive the in-phase demodulation signal (I) and the quadrature demodulation signal (Q) and to perform a phase aligned demodulation of the digitized secondary signal using the in-phase and quadrature demodulation signals. - a digital primary loop circuitry configured to process a digitized primary signal, the digital primary loop circuitry comprising a first analog-to-digital converter configured to digitize an analog primary input signal into the digitized primary signal, - the digital controller circuitry further comprising a digital secondary loop circuitry configured to process a digitized secondary signal, and - said digital secondary loop circuitry comprising a second analog-to-digital converter configured to digitize an analog secondary input signal into the digitized secondary signal; and - the digital primary loop circuitry further comprises a first infinite impulse response filter configured to cause a -90-degree phase shift of the digitized primary signal on a resonance frequency of a mechanical resonator of the MEMS gyroscope, the first digital infinite impulse response filter providing in its output a filtered digitized primary signal; and - the digital controller circuitry further comprises a digital phase shifting filter circuitry configured to generate two phase shifted demodulation signals (I, Q) from the filtered digitized primary signal, and to produce at its outputs the two phase shifted demodulation signals comprising an in-phase demodulation signal (I) and a quadrature demodulation signal (Q); and - the digital secondary loop circuitry further comprises a coherent detector circuitry configured to receive the in-phase demodulation signal (I) and the quadrature demodulation signal (Q) and to perform a phase aligned demodulation of the digitized secondary signal using the in-phase and quadrature demodulation signals. <EOS>