2025-05-30 2:01 AM
I am working on a project with a STM32H573, using the external tamper lines. CubeMX version 6.14.1.
For configuring certain IN/OUT pins for the TAMP peripheral, RM0481 says that bits in the TAMP_OR register must be set:
However, these bits are not set correctly in the initialisation code. Indeed, it seems that there is no mechanism in any functions in stm32h5xx_hal_rtc_ex.c to set TAMP->OR, and no relevant flags in RTC_ATampInputTypeDef or RTC_ActiveTampersTypeDef.
There is obviously an easy workaround of setting the bits manually at initialisation.
2025-05-30 7:37 AM
Hello @samdorey
Thank you for bringing this issue to our attention.
I reported this internally.
Internal ticket number: 211224 (This is an internal tracking number and is not accessible or usable by customers).