Temperature Compensation Factor Values

This Portion of code is extracted from the Deca-Driver inside of the source code of the DWM1004C TDoA Tag Firmware

#define TEMP_COMP_FACTOR_CH2 (327) //(INT) (0.0798 * 4096)
#define TEMP_COMP_FACTOR_CH5 (639) //(INT) (0.156 * 4096)

From where them come the 327 and 639 values for channel 2 and 5 respectively,

What is the purpose of these values?
how can I get these values for channel 1,3,4 and 7?
or anybody has the values for the remaining channels?
What happen if I leave these values as 0?

What I’m trying to do is to modify the code to enable the remaining channels 1,3,4 and 7.

Hi @DonQuijote
I would guess that those values compensate some internal ADC with the regard with selected channel.

With the regards of remaining questions:
Before you will modify the code for other channels check you target country regulatory info. Mostly only CH2 and CH5 are allowed to use.

FYI: DW3K chip does support only CH5 and Ch9