主题中讨论的其他器件:MSPM0G3507
大家好:
我不熟悉这款 EVB 和 MCU。 我想创建一个运行1ms 周期的 SysTick 并触发回调函数。 这就是问题所在。
我可以启用 SysTick 并在闭环中获取该值。 但在 CCS syscfg 中、如果我选中"启用 SysTick 中断"。 程序启动后、系统将在一段时间内崩溃。 (系统启动后,我的程序会打印出一个字符串。 在这种情况下,字符串无法完全打印出来,系统崩溃进入 hard_fault()。 中断好像被损毁了。 有什么建议吗? 如何注册回调函数? 谢谢~~