external clock configuration steps for s32k146

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

external clock configuration steps for s32k146

804 Views
rakeshr
Contributor I

Hi,

how to configure external clock source for S32K146evb can any one share the code

0 Kudos
1 Reply

611 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Rakesh,

In the reference manual is SCG_SOSCCFG[EREFS] - External Reference Select bit where can be selected between External reference clock selected or Internal crystal oscillator of OSC selected.

pastedImage_2.png

You can look at hello_clocks_S32k144 example code available in the S32 Design Studio, but there is option EREFS =1.

Also, I recommend you to see chapters:

23.4.1 Clock source

28.3.10 System Oscillator Configuration Register (SCG_SOSCCFG) 

Table 27-1. Clock descriptions

Figure 27-1. Clocking diagram

I hope it helps.

Best regards,

Diana

0 Kudos