Part Number: TMS320F28377D
Hi,
we use the the ADCA in 16-bit differential mode. We would like to add a new feature and measure also the temperature of the internal temperature sensor on channel ADCIN13.
ADCA is assigned to CPU1 and three SOCs are configured. The original SOC1, SOC2 that need 16bit mode and we added the temperature measurement to SOC3
now i quote from the reference manual:
To sample the temperature sensor, the ADC must be in single-ended 12-bit mode. If the temperature sensor is sampled in 16-bit mode, the ADC will switch to 12-bit mode to perform the conversion. This could cause incorrect ADC results.
When we tested the code, the real behavior was different. The ADCA mode remains unchanged (which can be controlled in the ADCCTL2 register) and the measured values in all ADCAResult1/2/3 registers have 16bit resolution - even the temperature measurement from SOC3 (the lower 4 bits are changing constantly).
Even the conversion time for temperature measurement corresponds with the 29.5 cycles in16bit resolution mode. In order for our application to work, we need the 16bit resolution for all other measurements, except the temperature measurement
My question is following: Why does the ADC resolution stay in 16bit mode? Can we rely on this behavior? Or is the ADC mode reconfigured for each conversion (SOC1/2/3)?
Thank you very much for your help!
Jan
