×
嵌入式 > 技术百科 > 详情

MSP430F54系列UCS时钟

发布时间:2020-06-02 发布时间:
|
1:UCS(Unified Clock System)包含5个时钟源:

XT1CLK:可以用于低频率的32.768KHZ或者4~32MHZ的频率。但不是每一个设备都支持高频率的,有些只支持32.768KHZ。

VLOCLK:内部低功耗,低频率的时钟,典型值为10KHZ。

REFOCLK:内部时钟,典型值32.768KHZ。

DCOCLK: Internal digitally-controlled oscillator (DCO) that can be stabilized by the FLL。

XT2CLK:高频时钟源,外部时钟,4 MHz到32 MHz。

2:我们可用的从UCS模块出来的3个时钟:

ACLK:辅助时钟。

MCLK:主时钟。

;SMCLK:系统子时钟。

3:时钟操作:

After a PUC, the UCS module default configuration is:
1)  XT1 in LF mode is selected as the oscillator source for XT1CLK. XT1CLK is selected for ACLK.
2) DCOCLKDIV is selected for MCLK.
3) DCOCLKDIV is selected for SMCLK.
4)  FLL operation is enabled and XT1CLK is selected as the FLL reference clock, FLLREFCLK.
5 )XIN and XOUT pins are set to general-purpose I/Os and XT1 remains disabled until the I/O ports are
configured for XT1 operation.
6 )When available, XT2IN and XT2OUT pins are set to general-purpose I/Os and XT2 is disabled.

4:设置时钟的相关寄存器:

UCSCTL0~UCSCTL8。

 

『本文转载自网络,版权归原作者所有,如有侵权请联系删除』

热门文章 更多
激光跟踪仪市场2023年有望达5.216亿美元