Can I use the Charge Time Measurement Unit for Internal Temperature Sensing in a PIC®?
The Charge Time Measurement Unit (CTMU) feature in PIC®s can be used as an internal temperature sensor in some cases. Some devices have a diode inside the die to measure the die temperature, for example, the dsPIC33EP64MC5xx family. It has a Si diode structure, native to the technology used for the device.
Useful app notes regarding the CTMU: