A high voltage generating circuitry comprising: - a charge-pump configured to generate a high voltage based on a supply voltage and to provide the high voltage at its output, and - a control loop configured to control operation the charge-pump, the control loop comprising: - a voltage divider configured to receive at its input the high voltage and to provide at its output a divided high voltage, - a first circuit element configured to provide a first voltage difference signal generated on basis of a comparison between a first reference voltage (VREF) and the divided high voltage, - a controller configured to generate a feedback signal on basis of the first voltage difference signal, and - a voltage- or current-controlled oscillator, referred to as the oscillator (103, 104, 113), configured to generate clock signals (CK; CK1, CK2) for operating the charge-pump circuitry, wherein a frequency of said clock signals generated by the oscillator is configured to be controlled by adjusting a frequency of the oscillator (103, 104, 113) with a control signal, characterized in that the control loop further comprises a feedforward path comprising: - a second circuit element configured to combine a second reference voltage (VREF, VREF2) and a second voltage generated by inverting the supply voltage for obtaining a second voltage difference signal, - a third circuit element (K, 106) configured to generate, on basis of the second voltage difference signal, a feedforward compensation signal that is inversely proportional to a voltage difference between the supply voltage and the second reference voltage, and - a fourth circuit element configured to generate the control signal by summing the feedback signal and the feedforward compensation signal, wherein the feedforward compensation signal adjusts, as part of the control signal, the frequency of the oscillator providing the clock signals (CK; CK1, CK2) to the charge-pump circuitry for compensating ripple in the supply voltage. - a charge-pump configured to generate a high voltage based on a supply voltage and to provide the high voltage at its output, and - a control loop configured to control operation the charge-pump, the control loop comprising: - a voltage divider configured to receive at its input the high voltage and to provide at its output a divided high voltage, - a first circuit element configured to provide a first voltage difference signal generated on basis of a comparison between a first reference voltage (VREF) and the divided high voltage, - a controller configured to generate a feedback signal on basis of the first voltage difference signal, and - a voltage- or current-controlled oscillator, referred to as the oscillator (103, 104, 113), configured to generate clock signals (CK; CK1, CK2) for operating the charge-pump circuitry, wherein a frequency of said clock signals generated by the oscillator is configured to be controlled by adjusting a frequency of the oscillator (103, 104, 113) with a control signal, - a voltage divider configured to receive at its input the high voltage and to provide at its output a divided high voltage, - a first circuit element configured to provide a first voltage difference signal generated on basis of a comparison between a first reference voltage (VREF) and the divided high voltage, - a controller configured to generate a feedback signal on basis of the first voltage difference signal, and - a voltage- or current-controlled oscillator, referred to as the oscillator (103, 104, 113), configured to generate clock signals (CK; CK1, CK2) for operating the charge-pump circuitry, wherein a frequency of said clock signals generated by the oscillator is configured to be controlled by adjusting a frequency of the oscillator (103, 104, 113) with a control signal, - a second circuit element configured to combine a second reference voltage (VREF, VREF2) and a second voltage generated by inverting the supply voltage for obtaining a second voltage difference signal, - a third circuit element (K, 106) configured to generate, on basis of the second voltage difference signal, a feedforward compensation signal that is inversely proportional to a voltage difference between the supply voltage and the second reference voltage, and - a fourth circuit element configured to generate the control signal by summing the feedback signal and the feedforward compensation signal,