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.

[参考译文] MSPM0L1228:如何在 mspm0l-1228 上配置 HFXT (PA5、PA6)

Guru**** 2768965 points

Other Parts Discussed in Thread: SYSCONFIG, MSPM0L2228

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1604878/mspm0l1228-how-to-config-hfxt-pa5-pa6-on-mspm0l-1228

器件型号: MSPM0L1228
主题中讨论的其他器件: SysConfigMSPM0L2228

您好、

如标题中所述、我无法在syscfg.SYSCTL (SysConfig v1.25.0) 中看到 HFXT 的配置、如下面的 TI 示例所示。 您能告诉我如何进行配置吗?

mspm0_sdk_2_08_00_04\examples\nortos\LP_MSPM0L2228\driverlib\SysCtl_hfxt_run\SysCtl_hfxt_run.syscfg

const pinFunction4                        = system.clockTree["HFXT"];
pinFunction4.enable                       = true;
pinFunction4.HFCLKMonitor                 = true;
pinFunction4.HFXTStartup                  = 10;
pinFunction4.inputFreq                    = 40;
pinFunction4.peripheral.hfxInPin.$assign  = "PA5";
pinFunction4.peripheral.hfxOutPin.$assign = "PA6"

顺便说一下、在本示例中、尽管使用了 HFXT、并且时钟树中显示了syscfg.SYSCTL.MCLK (Main Clock)它、但中的 MCLK 源仍设置为 SYSOSC。 这是否有任何问题?

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

    您可以 在时钟树中执行如下配置