2025-01-16 02:36 AM
Hello,
to retrieve the temperature in the M4 domain I use the documentation RM0436, page 1571 (description) and DS12505Rev6 page 209 (characteristics)
Q1: what adc resolution is to be used to be compliant to the reference values (calibration values) that are to be read from address 0x5C00525C?
Q2: I am using Vref=2.048V. Can I scale the calibration values by the factor 2048 / 3300?
Q3: At the address 0x5C00525C I read TS_CAL1 = 12192 (adc value @30°C) and TS_CAL2 = 16270 (adc value @130°C). Is this a reasonable / correct reading?
Q4: the formula on page 1571 (RM0436) gives as a result not a temperature but an adc value (".... + TS_CAL1"), though it is supposed to return a value in °C. Is the formula correct?
Q5: So the values TS_CALx_TEMP are [°C] and the values TS_CALCx are raw adc values?
Anyway: Is there an example for the coprocessor M4? I was not able to create one with th Cube MX tool...
Thanks!