Skip to main content
Visitor II
April 18, 2020
Question

CH1 insted of CH3 in TIM_PWMOutput Example_LL

  • April 18, 2020
  • 1 reply
  • 521 views

There is a bug in CubeH7 examples.

Folder: STM32Cube_FW_H7_V1.7.0\Projects\NUCLEO-H7A3ZI-Q\Examples_LL\TIM\TIM_PWMOutput

File: main.c

Funkcion: TimerCaptureCompare_Callback()

Instead of "if (LL_TIM_OC_GetCompareCH1(TIM3) > ARR )" should be "if (LL_TIM_OC_GetCompareCH3(TIM3) > ARR )".

Second bug in the same project:

In File stm32h7xx_it.c there is a comment in void TIM3_IRQHandler(void)

"/* Check whether CC1 interrupt is pending */". It slould be "/* Check whether CC3 interrupt is pending */"

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 21, 2020

    Hello @JSzem.1​ ,

    Thank you for your contribution and highlighting this issue.

    I raised this internally for correction in the coming release of STM32CubeH7 firmware package.

    Best Regards,

    Imen