AnsweredAssumed Answered

Use IRCLK for SPI communication on MPC5775K

Question asked by HQ Liu on Aug 2, 2017
Latest reply on Aug 9, 2017 by Martin Kovar

Hello,

I'm working on MPC5775K with an external clock synthesizer. The synthesizer needs to be configured by SPI interface before it can output any clock signal. So I have to config it using MPC5775K with IRCLK. Would please let me know the correct register configuration process of the operation? This is the operation flow I need:

1) MPC5775K running on IRCLK. Config clock synthesizer through SPI.

2) Change clock source of MPC5775K to 40MHz external clock from clock synthesizer.

3) Config PLL0 of MPC5775K and make peripherals working.

4) Config SDPLL to enable AFE.

 

It's appreciate if a example code can be shared.

 

Thanks. 

Outcomes