question on external crystal oscillator

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

question on external crystal oscillator

1,366 Views
Jimny
Contributor II

Hello,

I made a minimal system board with s32k144. After I finished soldering the component and power the board on (no software flashed), I used an oscilloscope to watch the waveform of PTB6 and PTB7. There is no waveform, solely a constant dc voltage which is about 0.8V high.

Is it normal to have a constant dc voltage at these pins? I thought it should be a sine waveform. Please see the circuit below.

1.png

0 Kudos
2 Replies

1,233 Views
Clivetwo
Contributor I

Hi,

 

I have a custom board using s32k144 and I'm using S32 Design Studio for S32 Platform.

My code stucks in timeout when starting external crystal:

 

CLOCK_SYS_ConfigureSOSC function:

while ((CLOCK_SYS_GetSysOscFreq() == 0U) && (timeout > 0U))

I my processor expert there isn't an option for external crystal:

crystal.png

Thanks.

 

0 Kudos

1,360 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi ZZD,

The sine waveform is not generate by default. You need to initialize system oscillator (SOSC) first.

AN5413 S32K1xx Series Cookbook.png
If Processor Expert is used, you can achieve it by configure SOSC in clock_manager.

Enable 16MHz System OSC Clock.png

hello_world_s32k144 crystal.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos