What values shall be used for TMU_GAIN or TMU_OFFSET?? The Manual says:
"To get the best performance and accuracy from the TMU, intialize the TMU_GAIN, TMU_OFFSET and TMU_AVG registers before enabling the module. Contact Analog Devices, Inc for the current best values to use."
Also, another problem occurs using TMU_AVG. TMU_AVG is not working. When setting the first bit of the TMU_AVG register, the value is not stored. So I guess it is not working.