stm32f103RE ADC returns fixed value
The problem is solved. In spite of what Peter_J said, the problem was something with hardware, I changed the stm32 IC and the problem was fixed by itself.
I had not soldered the IC, so I guess it was soldered by a temperature above 250 degree, some technicians use this temperature to solder faster, and they harm some IC's, or maybe touching the pins while soldering or handling made this, I mean ESD. Thanks anyway.