This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS570LS1227:halcogen 计数器

Guru**** 2027820 points
Other Parts Discussed in Thread: HALCOGEN
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/885501/tms570ls1227-halcogen-counter

器件型号:TMS570LS1227
主题中讨论的其他器件:HALCOGEN


我能否在单个 halcogen 的1ms 中断周期内创建一个500ms 计数器、而无需在 main.c 中进行编码?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我正在使用示例代码(RTI 闪烁)。  

    我想使500ms 计数器没有更改代码。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    如果要更改时钟周期、需要使用 RTI.c 中定义的函数重置更新比较寄存器中的值:

    rtiSetPeriod (0、5000000); ->比较0、如果计数器频率为10MHz、则为500ms