Skip to main content
Visitor II
July 23, 2024
Question

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

  • July 23, 2024
  • 1 reply
  • 1149 views

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

 
    This topic has been closed for replies.

    1 reply

    nferry32Author
    Visitor II
    July 24, 2024

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