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)?

跳至解决方案
419 次查看
brendanmerna
Contributor IV

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

0 项奖励
1 解答
324 次查看
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 回复数
325 次查看
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 项奖励
324 次查看
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 项奖励