Post Go back to editing

ADSP-SC572 TMU reading stuck at 127°C on custom board

Thread Summary

The user encountered an issue where the TMU on a custom ADSP-SC572 board consistently read 127°C, while it worked correctly on the ADSP-SC573 EZ-KIT. The problem was resolved by ensuring the ADC had the correct power supply, as there was an error in the Altium library part.
AI Generated Content
Category: Software
Product Number: ADSP-SC572

Hello everyone,

We are trying to read the die temperature using the TMU on a custom board based on the ADSP-SC572. Our hardware design for the HADC/TMU block should be identical to the ADSP-SC573 EZ-KIT.

The main differences between the two boards are that in the number of cores and we have one clock source only on SYSCLKIN0, while the EZKIT has on both clock inputs.

To test the functionality, we are using the CCES example project "ReadTemperature_SC573_Cortex" (built for SC572 too).

  • On the EZ-KIT, the code works as expected, returning a stable value around 37°C.

  • On our custom SC572 board, the same code consistently returns exactly 127°C.

Does anyone have any suggestions as to why the TMU keeps reading 127 on the custom board? Could this be related to a specific HADC initialization or a hardware difference we might have overlooked?

I can provide schematics if needed.

Thanks in advance for your help!

  • Hi Lukar,

    The TMU internally uses the HADC to perform temperature conversions. Therefore, for the TMU to operate correctly, all HADC-related power and ground domains must be properly powered and configured.

    On the custom board, the TMU consistently reports 127 °C because the temperature register has saturated at its maximum value, which typically indicates that a valid HADC conversion is not taking place.

    For reference, the TMU temperature register is 16-bit and stores the temperature in two's complement fixed-point Q7.8 format. The upper 8 bits represent the integer part in two's complement, and the lower 8 bits represent the fractional part. Since the integer portion is 8-bit two’s-complement, the maximum temperature the TMU can report is +127 °C (2⁷ − 1).

    Could you please confirm that all HADC power supplies and GND domains are correctly connected and within the specified limits?

    Could you please share your custom board schematic through our private support channel by emailing the files to processor.support@analog.com? We will review the schematic and get back to you with our comments.

    When sending the email, please include the Engineer Zone (Ezone) discussion link for reference.

    Regards,
    Nandini C

  • Hi Nandini,


    thanks for the answer. I've just sent an email with the schematics requested.

    Regards

  • Hi, 

    We have received your schematics in our private support channel. So, please continue the discussion there to avoid duplication of efforts.

    Regards,
    Nandini C

  • Thanks, we fixed it.
    There was an Error in Altium library part, ADC did not have power supply.

  • Hi Lukar,

    Thanks for the update and glad to know your issue got resolved.

    Regards,
    Nandini C