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.

[参考译文] MSP430F5438A:时钟配置

Guru**** 2487425 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1224323/msp430f5438a-clock-config

器件型号:MSP430F5438A

大家好、

如上所示、用户将5438A 配置为20MHz 有源晶振。

时钟配置代码如下:

在这种配置下、具有以下两个功能的主时钟和子时钟回读频率均为1048576 MHz。 串行通信测试在实践中也是如此。

clockValue = UCS_getSMCLK ();
clockValue = UCS_getMCLK ();

为什么会这样呢? 客户希望将主时钟和子时钟配置为20MHz。

谢谢。

此致、

樱桃

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

    您好!

    客户已解决此问题。

    谢谢!

    樱桃