A temperature sensor, including a conduction path, between a line at a supply voltage and a common ground terminal of the temperature sensor, including a capacitor, a resistor and a reverse biased diode a junction temperature of which is to be sensed a digital circuit coupled with the capacitor, the resistor and the diode, configured to compare a charge voltage of the capacitor with an upper threshold voltage and with a lower threshold voltage, and to generate in operation an output sense signal that switches to a first logic level when the charge voltage attains the lower threshold voltage and to a second logic level when the charge voltage attains the upper threshold voltage, the digital circuit being configured to connect the resistor electrically in parallel with the capacitor to discharge the capacitor when the output sense signal is at the second logic level, and to connect the capacitor so as to be charged by a reverse saturation current flowing throughout the reverse biased diode when the output sense signal is at the first logic level.