CCM Output Generation

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

CCM Output Generation

2,348 Views
adam_smartind
Contributor I

Hello,

I've been reading MX8MN RM for a while and try to figure out a way to generate CCM_CLKO at GPIO.

Also, I've read the following posts covering the CCM_CLKO topics

https://community.nxp.com/t5/i-MX-Processors/i-MX8MM-CCM-OUTPUT/td-p/1179744

https://community.nxp.com/t5/i-MX-Processors/clock-generation-on-CCM-CLKO2/m-p/628613

https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-definition-of-CCM-CLKO-2-1-pins/m-p/966969

https://community.nxp.com/t5/i-MX-Processors/CCM-CLKO-as-CLK-input-for-peripheral/m-p/971263

 

My first question is that MX8MN RM gives two different ways to configure CCM_CLKO.

1. Through CCM Mem Map Regs

CCM_CLKO locates in Slice 116/117 and can be accessed through CCM Mem Map Regs

 

 

image.png

 

2. Through CCM Analog Mem Map Regs

image.png

 

Which one should be use or what are the differences between these two register sets?

 

The second question is can I use a CLK buffer to deliver the CCM_CLKO to other peripherals? 

In this post https://community.nxp.com/t5/i-MX-Processors/i-MX8MM-CCM-OUTPUT/td-p/1179744

Igor wrote that the stability is defined by the used crystal and it seems this CCM_CLKO can serve as a CLK source feeding other peripherals. 

 

image.png

 

But in other posts, 

https://community.nxp.com/t5/i-MX-Processors/CCM-CLKO-as-CLK-input-for-peripheral/m-p/971263

https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-definition-of-CCM-CLKO-2-1-pins/m-p/966969

guys were saying that CCM_CLO is just for monitor use.

image.png

 

So which saying is true?

 

Thanks

adam_lin
0 Kudos
Reply
1 Reply

2,331 Views
igorpadykov
NXP Employee
NXP Employee

Hi adam_smartind

 

>Which one should be use or what are the differences between these two register sets?

CCM_ANALOG_ANAMIX_PLL_MNIT_CTL should be used.


>The second question is can I use a CLK buffer to deliver the CCM_CLKO to other peripherals?

this depends on requirements of connected peripherals, strictly speaking CCM_CLKO was
not characterized for frequency stability and can not be used for very stable clock.
For example CLKO1 is used for camera on J802 connector p.11 SPF-31407 i.MX8M Nano Baseboard schematic

Design Files for the i.MX 8M Nano Evaluation Kit (8MNANOD4-EVK)

 

Best regards
igor

0 Kudos
Reply