I am using SAMC21 X Planined Pro for tests. The goal is to use TSENS in our application.
Driver with example in ASF for TSENS, is not working correctly since I receive values are about 4 milion (CPU temperature is about 36°C).
I found possible bug in reading calibration values from NVM and configuring TSENS, but still it is not working correctly.
One man mentioned that there is a bug there, but that was from 2010: https://www.avrfreaks.net/forum/...
Is there someone which had this problem?
p.s. Also Datashee for SAM C21 Family is confusing. In chapter about ADC they are talking about possibiity to read temperature via ADC, but ASF is not allowing this channel to be used and they are also talking there about calculations which are ment for SAMD family.