Tool/software:
Hello,teams
We would like to confirm which temperature zone the VTM module generates thermal shutdown based on?(Device Temperature)
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.
Tool/software:
Hello,teams
We would like to confirm which temperature zone the VTM module generates thermal shutdown based on?(Device Temperature)
Hello XUE Fadong,
Please see the device tree for AM62A for the temperature trip points: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi?h=ti-linux-6.1.y
The type="critical" means that the device will shutdown at that temperature point: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi?h=ti-linux-6.1.y
Best Regards,
Anshu
Hello ,Anshu
I want to know the temperature basis of the VTM hardware module.
Hi XUE Fadong,
Apologies for the delay. Let me loop in the hardware team to comment.
Best Regards,
Anshu
Hello Hi XUE Fadong,
Please refer the below FAQ for the temp sensor location and the thermal shutdown behavior.
e2e.ti.com/.../faq-am625-am623-am62a-am62p-design-recommendations-custom-board-hardware-design-vtm
I want to know the temperature basis of the VTM hardware module.
The basis for selection of the trip threshold (temperature) is customer use case, and any thermal simulations that may have been performed.
You need to consider the below
Guaranteed accuracy of internal temperature sensor
+/- 5 deg C is the guaranteed temperature.
Regards,
Sreenivasa
Hello,Sreenivasa
Thank you for your response!
The VTM hardware module has a maximum temperature threshold setting, which will trigger a thermal restart when the upper limit is reached. There are three temperature zones on the chip, and I would like to know which temperature zone the VTM hardware module is monitoring to ultimately trigger a thermal restart.
Hello Hi XUE Fadong,
Thank you.
The VTM hardware module has a maximum temperature threshold setting, which will trigger a thermal restart when the upper limit is reached.
This needs to be configured.
There are three temperature zones on the chip, and I would like to know which temperature zone the VTM hardware module is monitoring to ultimately trigger a thermal restart.
I guess you should be able to configure any or all of the sensors. Let me check on this.
Regards,
Sreenivasa
Hello Hi XUE Fadong,
The type="critical" means that the device will shutdown at that temperature point: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi?h=ti-linux-6.1.y
Looks like any or all of the sensors can be configured.
Regards,
Sreenivasa
Hello,Sreenivasa
I understand the configuration you mentioned, but DTS is configured with a thermal shutdown mechanism on Linux. I would like to know the thermal shutdown mechanism on the VTM hardware module. As discussed below:
I don't seem to have found any temperature zones for VTM hardware module monitoring.
Hello Xue Fadong,
I would like to know the thermal shutdown mechanism on the VTM hardware module. As discussed below:
You can go through the section 6.3.5.4 of AM62A TRM to get more details on how the VTM module can issue an SoC reset.
Regards,
Nihar Potturu.
Hello,Nihar Potturu
Thank you for your response!
I am unable to retrieve the reset based on which temperature zone from that document. What specific temperature zone does device temperature refer to? There are three temperature zones on SOC.
Hello Xue Fadong,
We may have to add additional details in the TRM.
Please refer below.
The VTM also has a hardware alert signal that indicates a fault when any of the below sensors detect the device is nearing the maximum temperature allowed.
In AM62A, the numbering is:
Temp Sensor 0: c7x
Temp Sensor 1: A53
Temp Sensor 2: DDR controller
This alert can be used to reset the device or part of the device to reduce the temperature. This alert is not a standard interrupt and so it does not include the usual set, clear, and enable features. It does include an overall enable MMR bit
Table 14-7450. MMR_VBUSP_CFG2, MMR_VBUSP_CFG2 Registers, Base
VTM_MISC_CTRL
along with enables per sensor
14.2.2.2 VTM Registers
Table 14-7449. MMR_VBUSP_CFG1, MMR_VBUSP_CFG1 Registers, Base
The VTM module outputs an alert signal (THERM_MAXTEMP_OUTRANGE_ALERT), when the device
temperature goes beyond a maximum threshold.
This reset signal creates a MCU domain warm reset.
VTM alert will be active as long as the error condition (Device Temperature > Maximum Temperature Threshold)
is still TRUE.
When the error goes away, VTM alert will be de-asserted and device will come out of warm reset.
Note
This signal, when asserted HIGH, will cause a device warm reset similar to MCU_RESETz.
Regards,
Sreenivasa
Hello,Sreenivasa
Thank you for your help! This solved my problem.
Hello Xue Fadong,
Thank you and good to hear this query is resolved.
Regards,
Sreenivasa
Hello Xue Fadong,
We may have to add additional details in the TRM.
FYI, i have the request added to the technical documentation team to add additional VTM information.
Regards,
Sreenivasa