A method of converting an analog signal (V IN) into a digital output code (OUT-COD) using an analog to digital converter comprising: - a sampling section (C-DAC) comprising at least a first array of switched capacitors having one end connected to a first common node (NS+, NS-); and - at least one analog voltage comparator comprising a first input (C_IN-) connected to the common node (NS+, NS-), a second input (C_IN+) and an output (C_OUT), said comparator being adapted to provide at said output (C_OUT) a signal (OUTCOMP) having two levels based on the comparison of analog voltage values provided at said inputs (C_IN-, C_IN+); the method comprising the steps of: a) storing at least one offset digital value representing an estimation or a measure of a voltage offset at said first common node (NS+, NS-); b) providing the analog signal (V IN) to the sampling section (C-DAC) and sampling said analog signal during a sampling interval (VINCHARGE) in order to obtain a sampled voltage value; c) forcing the first input of the comparator to a predetermined voltage value (V CM) during a first time period (VINSAMPLE) which is a portion of said sampling interval (VINCHARGE) ending before the end of said sampling interval (VINCHARGE); d) after the end of said first time period (VINSAMPLE) and before the end of said sampling interval period (VINCHARGE), injecting a charge amount into or pulling a charge amount from said first common node (NS+, NS-), said charge amount depending on said at least one stored offset digital value, sampling said output signal (OUTCOMP) and increasing or decreasing a digital value stored in first digital counter (UDCOUNT1) based on the level of said sampled output signal (OUTCOMP); e) at the end of said sampling interval (VINCHARGE), sampling said output signal (OUTCOMP) and obtaining one or more bits of said digital output code (OUT-COD) based on the level of said sampled output signal (OUTCOMP); f) repeatedly performing steps b)- e); g) correcting or leaving unchanged said at least one stored offset digital value based on the content of said first digital counter (UDCOUNT1). - a sampling section (C-DAC) comprising at least a first array of switched capacitors having one end connected to a first common node (NS+, NS-); and - at least one analog voltage comparator comprising a first input (C_IN-) connected to the common node (NS+, NS-), a second input (C_IN+) and an output (C_OUT), said comparator being adapted to provide at said output (C_OUT) a signal (OUTCOMP) having two levels based on the comparison of analog voltage values provided at said inputs (C_IN-, C_IN+); a) storing at least one offset digital value representing an estimation or a measure of a voltage offset at said first common node (NS+, NS-); b) providing the analog signal (V IN) to the sampling section (C-DAC) and sampling said analog signal during a sampling interval (VINCHARGE) in order to obtain a sampled voltage value; c) forcing the first input of the comparator to a predetermined voltage value (V CM) during a first time period (VINSAMPLE) which is a portion of said sampling interval (VINCHARGE) ending before the end of said sampling interval (VINCHARGE); d) after the end of said first time period (VINSAMPLE) and before the end of said sampling interval period (VINCHARGE), injecting a charge amount into or pulling a charge amount from said first common node (NS+, NS-), said charge amount depending on said at least one stored offset digital value, sampling said output signal (OUTCOMP) and increasing or decreasing a digital value stored in first digital counter (UDCOUNT1) based on the level of said sampled output signal (OUTCOMP); e) at the end of said sampling interval (VINCHARGE), sampling said output signal (OUTCOMP) and obtaining one or more bits of said digital output code (OUT-COD) based on the level of said sampled output signal (OUTCOMP); f) repeatedly performing steps b)- e); g) correcting or leaving unchanged said at least one stored offset digital value based on the content of said first digital counter (UDCOUNT1).