Skip to main content
Péter Szilágyi
Associate II
August 24, 2018
Question

CubeMX 4.26 Timer with Input Capture doesn't turn off

  • August 24, 2018
  • 1 reply
  • 537 views

Hi,

In CubeMX 4.25 it worked properly then I was forced to migrate my project to 4.26 and the timer with input capture stopped working properly. If I overwrite the driver with 4.25 then it works fine again. I suspect this function is wrong: HAL_TIM_IC_Stop_IT(&htim3, TIM_CHANNEL_1);

Solved: I was mistaken, it was the code optimization which was changed during migration from 4.25 to 4.26.

    This topic has been closed for replies.

    1 reply

    waclawek.jan
    Super User
    August 24, 2018

    > it was the code optimization which was changed during migration from 4.25 to 4.26.

    And change of optimization breaks Cube's or your code's functionality?

    In the latter case, please mark this thread as resolved; in the former please post more information.

    JW