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 上配置 LFXT (PA3、PA4)、HFXT (PA5、PA6)

Guru**** 2693225 points

Other Parts Discussed in Thread: SYSCONFIG, MSPM0L2228, MSPM0L1228

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1599004/mspm0l1228-how-to-config-lfxt-pa3-pa4-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"

My questions:

1) Could you show me how to configure LFXT and HFXT?

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

3) 对于 MSPM0L1228 上的 LFXT、是否提供了内部晶体振荡器、或者必须将外部时钟源驱动到 LFXIN/LFXOUT 引脚?

4) 如果我使用外部 LFXT 时钟、那么当 MCU 处于待机 1 模式时、它是否会影响 GPIO 和 UART 的快速唤醒功能(例如,当 UART RX 引脚为低电平时)?