I was looking at the raw measurement from the encoder. The one that goes directly to the analog input of the arduino and it looks like there is no jump in those values. For this reason I am thinking that the error should be in how I convert this value to the angle of the motor then.
p.s. The link I sent you in the previous message should be in English.