If this isn't enabled by defualt what API would you use to enable this clock output.
Solved! Go to Solution.
Hi Brendan Merna,
It's not enabled by default.
Please refer the description in '5.7.7 RTC_CLKOUT and CLKOUT32K clocking' of K22P121M100SF9RM.
You need to configure the SIM_SOPT1[OSC32KSEL] \ SIM_SOPT1[OSC32KOUT] and configure PORTx_PCRn[MUX] select Alternative1.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Brendan Merna,
It's not enabled by default.
Please refer the description in '5.7.7 RTC_CLKOUT and CLKOUT32K clocking' of K22P121M100SF9RM.
You need to configure the SIM_SOPT1[OSC32KSEL] \ SIM_SOPT1[OSC32KOUT] and configure PORTx_PCRn[MUX] select Alternative1.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks Robin! That's exactly what I needed. I was having trouble finding that in the data sheet. 32KHz clock works now.