MC56F82748 CLKO0 output

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC56F82748 CLKO0 output

Jump to solution
923 Views
547351265
Contributor II

 MC56F82748 has  CLKO0 output pin for testing clock . And how do I implement this function?CLKO0.png

Tags (1)
0 Kudos
1 Solution
826 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Zhang,

I suppose you use the TWR-8200 board to have a test, in the case, you have to open the pin1&2 of J4, there is a 10K ohm strong pull-up resistor on the GPIOC2, which distorts the clock waveform I have tested.

BR

XiangJun Rong

View solution in original post

0 Kudos
3 Replies
826 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, HZ,

Regarding your question, if you want to have CLKO0 output clock signal, you can follow up the following procedures:

This is the signal multiplexing:

GPIOC2, TXD0, XB_OUT11, XB_IN2, CLKO0

1)enable gated clock

SIM_PCE0|=1<<4;

2)pin assignment for CLKO0

set the peripheral register so that the pin of GPIOC2 is set up as peripheral

GPIOC_PER|=1<<2;

select the pin

SIM_GPSCL|=3<<4; //set the C2 bits

3)enable CLKO0 clock

SIM_CLKOUT=0xE000;

The SYS_CLK/128 will be outputted from CLKO0 pin or GPIOC2 pin.

Hope it can help you

BR

XiangJun Rong

0 Kudos
826 Views
547351265
Contributor II

Thank you for your professional answer.

According to your configuration , GPIOC2 pin wave , Is the GPIOC2 wave right ?

微信图片_20200117164823.jpg  

0 Kudos
827 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Zhang,

I suppose you use the TWR-8200 board to have a test, in the case, you have to open the pin1&2 of J4, there is a 10K ohm strong pull-up resistor on the GPIOC2, which distorts the clock waveform I have tested.

BR

XiangJun Rong

0 Kudos