cancel
Showing results for 
Search instead for 
Did you mean: 

OPTA Potenta H7 - STM32H7 - HRTIM - Master Timer Update Interrupt & Repetition Interrupt not Firing

nferry32
Associate

Hi,

I'm developping on an Arduino OPTA (STM32H74x) Portenta H7 and I want to use the high-resolution timer for driving some interrupts-based actions, actually using only the master hr-timer (no output).

 

>> Problem: The code doesn't want to fire any interrupts aka the HRTIM_MASTER_IT_MREP or the HRTIM_MASTER_IT_MUPD.

 

I used STM32CubeMX freshly downloaded for generating the code body.

HAL and STM32 Driver are already installed into the Arduino IDE, so the code compile without problems.

 

Anyone could suggest me some clues, please ?

 

Documents and ressources:

https://www.st.com/resource/en/user_manual/um2217-description-of-stm32h7-hal-and-lowlayer-drivers-stmicroelectronics.pdf - page 737

https://www.st.com/resource/en/reference_manual/rm0433-stm32h742-stm32h743753-and-stm32h750-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdf - page 1352

AN4539 - Application note - HRTIM cookbook - https://www.st.com/resource/en/application_note/an4539-hrtim-cookbook-stmicroelectronics.pdf

 

The code is attached below.

Thx

 
1 REPLY 1
nferry32
Associate

Is there really no one interested in the High Resolution Timer?