cancel
Showing results for 
Search instead for 
Did you mean: 

internal temperature tamper not triggering

sabari1
Associate III

hi

i am using stm32u585 controller for my project . here i enabled the internal tamper detection using the below code 

	/* USER CODE BEGIN TAMP_Init 2 */
	sAllTamper_inter.IntTamper = RTC_INT_TAMPER_1|RTC_INT_TAMPER_2|RTC_INT_TAMPER_3|RTC_INT_TAMPER_9;
	sAllTamper_inter.NoErase = RTC_TAMPER_ERASE_BACKUP_ENABLE;
	sAllTamper_inter.TimeStampOnTamperDetection =
			RTC_TIMESTAMPONTAMPERDETECTION_ENABLE;
	if (HAL_RTCEx_SetInternalTamper_IT(&hrtc, &sAllTamper_inter) != HAL_OK) {
		Error_Handler();
	}

from the reference manual its mentioned that internal temperature tamper can detect when the temperature range is out of operational temperature and there is no specific data about the tamper triggering temperature range.

sabari1_0-1767359791489.png

based on the operation condition as mentioned in the datasheet i varied the ambient temperature  but in both below and above functional range also i cant able to detect the tamper in my device .

sabari1_1-1767359949290.png

expecting a answer ASAP since i need to release the product for testing.

with regards 

SABARINATH K A

1 REPLY 1
TDK
Super User

Did you set MONEN in PWR_BDCR1?

> i varied the ambient temperature

Did you go outside of the operational range of your chip? You don't mention exact chip number so only you know what this is. Datasheet specifies this.

If you feel a post has answered your question, please click "Accept as Solution".