Is the 32 KHz clock for the k22f12810 chip enabled by default or with the call CLOCK_SYS_EnablePortClock(PORTE_IDX)?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Is the 32 KHz clock for the k22f12810 chip enabled by default or with the call CLOCK_SYS_EnablePortClock(PORTE_IDX)?

ソリューションへジャンプ
421件の閲覧回数
brendanmerna
Contributor IV

If this isn't enabled by defualt what API would you use to enable this clock output.

ラベル(2)
0 件の賞賛
1 解決策
326件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Brendan Merna,

It's not enabled by default.
Please refer the description in '5.7.7 RTC_CLKOUT and CLKOUT32K clocking' of K22P121M100SF9RM.

RTC_CLKOUT and CLKOUT32K clocking.png
You need to configure the SIM_SOPT1[OSC32KSEL] \ SIM_SOPT1[OSC32KOUT] and configure PORTx_PCRn[MUX] select Alternative1.

CLKOUT32K PTE0 PTE26.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
327件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Brendan Merna,

It's not enabled by default.
Please refer the description in '5.7.7 RTC_CLKOUT and CLKOUT32K clocking' of K22P121M100SF9RM.

RTC_CLKOUT and CLKOUT32K clocking.png
You need to configure the SIM_SOPT1[OSC32KSEL] \ SIM_SOPT1[OSC32KOUT] and configure PORTx_PCRn[MUX] select Alternative1.

CLKOUT32K PTE0 PTE26.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
326件の閲覧回数
brendanmerna
Contributor IV

Thanks Robin! That's exactly what I needed. I was having trouble finding that in the data sheet. 32KHz clock works now.

0 件の賞賛