This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

os_tmr_create

Hello!!

I hace a problem with os_tmr_create and os_tmr_kill. I need use these functions in the USART interrupt, but when the procesor run this line it goes to Hard Fault.

Can you help me please?

Parents
  • I've checked that the program works correctly, but I will try to solve this in other way.

    How about:

    - create a high-priority task that starts the timer
    - from the UART isr, activate the task using the available isr_* functions

    This way, the timer will be started right after the UART isr finishes.

Reply
  • I've checked that the program works correctly, but I will try to solve this in other way.

    How about:

    - create a high-priority task that starts the timer
    - from the UART isr, activate the task using the available isr_* functions

    This way, the timer will be started right after the UART isr finishes.

Children
No data