This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LC4357 - ADC measurement and temperature sensor

Dear all,

my colleague has faced an issue during setting of ADC module - he has identified a contradiction of TRM (SPNU563, May 2014) chapter with the real behavior.

  • The device: TMP570LC4357AZWT on HDK
  • The intended functionality: to use all the ADC inputs for external signal measurement, the inner temperature sensors are disabled.

The TRM chapter 6.5.13 Temperature Sensor Selection states:

Before the temperature sensors can be used, they must be enabled. By default, they are disabled with PINMMR174[24] = 1. To enable the temperature sensors, PINMMR174[24] must be cleared to 0.

Contradictory to this statement, the properly working (ADC1_31 does measure the external voltage) code looks like:

pinMuxReg->PINMUX[174] &= (U32) (~0x01000000); //Enable ACH1(31) measurement

The conclusion by my colleague is:

  • PINMUX[173] configures what is measured
  • PINMUX[174] enables the measurement

Please, may you check this description and behavior?

Many thanks in advance,

Best regards, Jiri