This KB article describes how to convert a ADC conversion of the internal temp sensor from raw ADC codes into a temperature expression.
For information re: how to use the ADC to obtain the initial conversion, please see the "inttemp" example for the EFM32 Pearl Gecko (available in-full within Simplicity Studio), or application note "AN0021: Analog to Digital Converter" available from http://www.silabs.com/32bit-appnotes.
I did instal the AN0021 application note (code) as instructed and was able to import inot work space. Once imported there are three folders (presuming the pg is the closest to my BGM1xx) adc_example_
However when I try and debug it says no program file (works for me other own projects. Can I just import the c files into an existing project:
main_adc_example_gecko_s1.c (or soc)?
If is this supposed to replace the main.c file; or would I just put them in one of the folders and refer to them in main.c with #include...?
There is intemp in the peripherals example folder but unfortunatley the peripheral examples do not work with my SDK - I have been trying to resolve for a while on this thread but not much luck so far (can you help?):