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.

AM437x 基于SDK v5.2x,clkout2配置输出32KHz



你好,
我想要将clkout2配置成输出32KHz,但是硬件设计上并未外接32K晶振,
我参考此链接e2echina.ti.com/.../147540,
能够配出24MHz输出,但是我将时钟源选择为32KHz,则没有输出,应该是时钟源没有使能的缘故。

我在论坛上找到了类似问题,
e2e.ti.com/.../560449
该问题的结论为,如果没有外接32K晶振,则clkout2不能输出32KHz,但是该问题中提到的’TRM Table 6-27, CLK_32K_RTC is made by external 32kHz xtal, not Internal RC oscillator‘,
我在手册中看到的不一样,内部的RC时钟也可以作为CLK_32K_RTC的时钟源;
我问题是,上述结论是否是因为手册版本问题导致的误解?未外接晶振的情况下,clkout2能否输出32KHz?如果可以,我要如何配置寄存器使能该时钟?
我没有找到手册中提到的RCOSC_CTRL register.

  • 在数据手册上有说明,当使用CLK_RC32K时,OSC1是disable掉的,而clkout2输出的是OSC1时钟,所以如果不接OSC1的话,clkout2就没有输出。
    OSC1 is disabled by default after power is applied. This clock input is optional and may not be required if the RTC is configured to receive a
    clock from the internal 32k RC oscillator (CLK_RC32K) or peripheral PLL (CLK_32KHZ) which receives a reference clock from the OSC0 input.

    The CLKOUT2 signal can be configured to output the OSC1 input clock, which is referred to as the 32K oscillator (CLK_32K_RTC)

    也可以看一下TRM上的clkout输出框图。
    Figure 6-20. CLKOUT Architecture
    www.ti.com/.../spruhl7h.pdf