I am working on SPC560B54L5 board using SPC5studio version 5.2.3.
I am trying to generate the clock output using the XOSC frequency. I enabled the corresponding GPIO (PA for CLKOUT) by selecting the appropriate alternate function. In main function after doing the componentsinit(), initialization of spc_clock_init(); is done for output clock selection. Later I am enabling the output clock by writing to the CGM.OC_EN register.
But still I am unable to find the clock output on the corresponding pin. (PA-> X1(19)).
I am attaching my test application for reference, kindly check and provide your valuable suggestion towards the issue.
Thanks in Advance,