question on external crystal oscillator

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

question on external crystal oscillator

2,599件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

2,466件の閲覧回数
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 件の賞賛
返信

2,593件の閲覧回数
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 件の賞賛
返信