A method for digital quantization noise cancellation and equalization for a system having a multi-stage noise shaping analog-to-digital converter, MASH ADC, configured to convert an analog input signal (u) to an output digital signal (v c), the method comprising: determining a first digital transfer function response (DNTF1) in a signal path of the MASH ADC, the first digital transfer function response (DNTF1) estimating an actual noise transfer function of a first stage in the MASH ADC, the first stage being configured to receive the analog input signal (u) and output a first digital signal and a first quantization noise signal; determining a second digital transfer function response (DSTF2) in the signal path of the MASH ADC, the second digital transfer function response (DSTF2) estimating an actual signal transfer function of a second stage in the MASH ADC, the second stage being coupled to the first stage and being configured to receive the quantization noise of the first stage and output a second digital signal; determining an equalization filter response for achieving a desired full system signal transfer function response of the system, the equalization filter response being based on the desired full system signal transfer function response and at least a signal transfer function response of the first stage and the second digital transfer function response (DSTF2); and determining coefficients of a first programmable digital filter and a second programmable digital filter arranged to filter the digital output of the first stage and the second stage in the MASH ADC, respectively,prior to combining the respective filtered digital outputs to generate the output digital signal (v c), wherein the coefficients of the first programmable digital filter are determined based on the second digital transfer function response (DSTF2) and the determined equalization filter response such that the first programmable digital filter performs both equalization and digital noise cancellation, and wherein the coefficients of the second programmable digital filter are determined based on the first digital transfer function response (DNTF1) and the determined equalization filter response such that the second programmable digital filter performs both equalization and digital noise cancellation. determining a first digital transfer function response (DNTF1) in a signal path of the MASH ADC, the first digital transfer function response (DNTF1) estimating an actual noise transfer function of a first stage in the MASH ADC, the first stage being configured to receive the analog input signal (u) and output a first digital signal and a first quantization noise signal; determining a second digital transfer function response (DSTF2) in the signal path of the MASH ADC, the second digital transfer function response (DSTF2) estimating an actual signal transfer function of a second stage in the MASH ADC, the second stage being coupled to the first stage and being configured to receive the quantization noise of the first stage and output a second digital signal; determining an equalization filter response for achieving a desired full system signal transfer function response of the system, the equalization filter response being based on the desired full system signal transfer function response and at least a signal transfer function response of the first stage and the second digital transfer function response (DSTF2); and determining coefficients of a first programmable digital filter and a second programmable digital filter arranged to filter the digital output of the first stage and the second stage in the MASH ADC, respectively,prior to combining the respective filtered digital outputs to generate the output digital signal (v c), wherein the coefficients of the first programmable digital filter are determined based on the second digital transfer function response (DSTF2) and the determined equalization filter response such that the first programmable digital filter performs both equalization and digital noise cancellation, and wherein the coefficients of the second programmable digital filter are determined based on the first digital transfer function response (DNTF1) and the determined equalization filter response such that the second programmable digital filter performs both equalization and digital noise cancellation.