zoukankan      html  css  js  c++  java
  • stm32 freeRTOS 软件定时器ostimer无法响应问题

    环境:

    芯片  stm32f429

    系统:freeRTOS 

    软件 STM32CubeMx

    问题:在使用freeRTOS的定时器 ostimer的时候,创建了定时器,并调用了osTimerStart启动定时器,发现定时器无法调用回调函数

    解决办法:

      提高定时器任务的优先级,TIMER_TASK_PRIORITY 改为 6,freeRTOS的优先级数字越大,优先级越高。

    最后生成代码,就是FreeRTOSConfig.h文件中  configTIMER_TASK_PRIORITY 宏定义

    Talk is cheap, show me the code
  • 相关阅读:
    2.7 矩阵的秩
    HDU
    HDU
    HDU
    HDU
    HDU
    hdu 5179 beautiful number(数位dp)
    ACdream
    CodeForces
    <a>标签中 href="/" 和 hideFocus="true"
  • 原文地址:https://www.cnblogs.com/birdBull/p/15701464.html
Copyright © 2011-2022 走看看