AnsweredAssumed Answered

Problem in Clock output Generation

Question asked by Santhamurthy R on Jun 20, 2017
Latest reply on Jun 20, 2017 by Erwan Y

Hello All,

 

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[0] 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[0]-> X1(19)).

 

I am attaching my test application for reference, kindly check and provide your valuable suggestion towards the issue.

 

 

Thanks in Advance,

 

With Regards,

R.Santhamurthy

Attachments

Outcomes