S32K144 SOSCCFG.EREFS

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

S32K144 SOSCCFG.EREFS

999 Views
fupeng
Contributor II

Hi,

   I have a problem,In the demo the 

   SCG->SOSCCFG=0x00000024; /* Range=2: Medium freq (SOSC between 1MHz-8MHz)*/
                                                         /* HGO=0: Config xtal osc for low power */
                                                         /* EREFS=1: Input is external XTAL */
 

   means we used external XTAL,but the datasheet means 1- Internal and 0 - external 

pastedImage_1.png

I am confused,who can help me?

Regards,
fu
2 Replies

822 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The clock can be either an external clock on EXTAL pin [EREFS = 0], or output of the internal SOSC with an external crystal [EREFS = 1].  As you can see in the screenshot below (Figure 25-1, RM).

SOSCCFG_EREFS.png

Regards,

Daniel

822 Views
378985092
Contributor I

very good!

0 Kudos