
App note from ROHM Semiconductors about the cautions when measuring temperature from PN Junctions. Link here (PDF)
The forward voltage of a pn junction can be measured to estimate the junction temperature of a semiconductor device. However, correct results may not be obtained if the measurement is performed incorrectly.