SPC5746C sdk0.8.1 clock problem

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

SPC5746C sdk0.8.1 clock problem

909 Views
yankuang1
Contributor III

I downloaded the SDK0.8.1 mpc5746c code to my board, the project  always stops in the clock initialization, as shown below:

pastedImage_1.png

If I do not use the SDK code, the clock can be initialized successfully.

 How should I modify the configuration in order to successfully initialize the clock?

3 Replies

678 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

this looks like you use incorrect clock settings. Could you please send me your clock settings and also detail photo of your board or at least the value of your external oscillator?

Without this information I am not able to tell you, what is wrong.

Reagards,

Martin

678 Views
yankuang1
Contributor III

Hi,

My clock configuration, please refer to the attached code shown.

On my board, FXOS is connected to a 40M oscillatorl,SXOC is not connected to any oscillator。

pastedImage_1.png

0 Kudos

678 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

I downloaded your project into my microcontroller (only recompiled without changes) and it works correct on my side. I have MPC5746C mask 1N06M with 40MHz external oscillator.

Could you please write me, what is your microcontroller mask?

Regards,

Martin