Skip to main content
raptorhal2
Lead
July 5, 2016
Question

Timer Interrupt Callback

  • July 5, 2016
  • 2 replies
  • 614 views
Posted on July 05, 2016 at 18:15

In Hal Library version 1.5.1 hal_timebase_tim.c the HAL_TIM_PeriodElapsedCallback(htim) increments uwTick. That's OK for TIM6, since it is now dedicated to that function, but other timer update interrupts also call that callback. Suggest that tim.c check for TIM6 and call a relabelled HAL_TIM6_PeriodElapsedCallback(htim).

Edit: L4 library.

Cheers, Hal

#anyone-for-regression-testing?
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    July 5, 2016
    Posted on July 05, 2016 at 19:35

    I just don't get the sense there is that level of regression or dog-fooding of the code.

    Beyond the library there need to be a number of engineers whose sole task is to build more customer centric applications that combine the more sterile examples into integrated and functional forms. That handle the errors and recovery properly, and test the library in a real-world implementation.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    raptorhal2
    Lead
    August 7, 2016
    Posted on August 07, 2016 at 15:40

    And ST's resolution is .......????

    Hal