An integrated circuit for temperature detection comprising: a closed loop circuit branch comprising: a first bipolar junction transistor, BJT, having a first collector configured to receive a first current and a first emitter coupled to ground, a first resistor having one terminal coupled to a first base of the first BJT and another terminal coupled to a junction node, and an amplifier having an output coupled to the junction node and a non-inverting input coupled to the first collector of the first BJT and an inverting input configured to receive a bias voltage (Vbias); and an open loop circuit branch comprising: a second BJT having a second collector configured to receive a second current and a second emitter coupled to ground, a second resistor having one terminal coupled to a second base of the second BJT and another terminal coupled to the junction node of the closed loop circuit branch, a third resistor having one terminal coupled to the second base of the second BJT and another terminal coupled to ground, and a comparator having an inverting input coupled to the second collector of the second BJT and a non-inverting input configured to receive a bias voltage (Vbias), and an output configured to provide a digital voltage signal (Vout) that corresponds to a temperature reading. a closed loop circuit branch comprising: a first bipolar junction transistor, BJT, having a first collector configured to receive a first current and a first emitter coupled to ground, a first resistor having one terminal coupled to a first base of the first BJT and another terminal coupled to a junction node, and an amplifier having an output coupled to the junction node and a non-inverting input coupled to the first collector of the first BJT and an inverting input configured to receive a bias voltage (Vbias); and a first bipolar junction transistor, BJT, having a first collector configured to receive a first current and a first emitter coupled to ground, a first resistor having one terminal coupled to a first base of the first BJT and another terminal coupled to a junction node, and an amplifier having an output coupled to the junction node and a non-inverting input coupled to the first collector of the first BJT and an inverting input configured to receive a bias voltage (Vbias); and an open loop circuit branch comprising: a second BJT having a second collector configured to receive a second current and a second emitter coupled to ground, a second resistor having one terminal coupled to a second base of the second BJT and another terminal coupled to the junction node of the closed loop circuit branch, a third resistor having one terminal coupled to the second base of the second BJT and another terminal coupled to ground, and a comparator having an inverting input coupled to the second collector of the second BJT and a non-inverting input configured to receive a bias voltage (Vbias), and an output configured to provide a digital voltage signal (Vout) that corresponds to a temperature reading. a second BJT having a second collector configured to receive a second current and a second emitter coupled to ground, a second resistor having one terminal coupled to a second base of the second BJT and another terminal coupled to the junction node of the closed loop circuit branch, a third resistor having one terminal coupled to the second base of the second BJT and another terminal coupled to ground, and a comparator having an inverting input coupled to the second collector of the second BJT and a non-inverting input configured to receive a bias voltage (Vbias), and an output configured to provide a digital voltage signal (Vout) that corresponds to a temperature reading.