S32K146 SLOW_CLK

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

S32K146 SLOW_CLK

1,007 Views
oceansea
Contributor III

HI,

i use the s32k146MCU,the IDE is S32DS for ARM 2018 R1

i find something :

pastedImage_1.png

                                                                jpg1

when my clock set follow  the jpg1  ,then the MCU is ok ,it can run not any bug;

but , when i set follow jpg2

pastedImage_2.png

                                                                                     jpg2

set jpg2 ,sometime it can run ,sometime it can't run .

the  different from the two set , the SLOW_CLK not same. But ,i fine when the SLOW_CLK=12.5MHZ,

the I/O from 0 to 1,or from 1 to 0,it need 400ns ,it's to slow ,i want more fast than 400ns.

And ,my other set follow the jpg3 and jpg4

pastedImage_3.png

                                          jpg3

pastedImage_4.png

                                                                          jpg4

Labels (1)
Tags (1)
0 Kudos
3 Replies

938 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi,

I would like to ask you for what purpose do you need this?

At first, you can try to set the clock at maximum frequency:

pastedImage_2.png

Related to the settings of SPLL, please, follow the RM.

pastedImage_1.png

I hope it helps.

Best regards,

Diana

0 Kudos

938 Views
oceansea
Contributor III

hi,

thanks reply ,i am so sorry ,i have no saw this about the CORE_CLK and SYS_CLK maxvalue is 80MHZ before today.

but ,now ,how can i set CORE_CLK and SYS_CLK to 80MHZ.

pastedImage_1.png

                                                                        jpg5

i set the follow jpg5 , is ture or will into MCU stop?

Best regards

0 Kudos

938 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi,

 Yes, that is why the best way is to start with RM, current version 12.1: 

https://www.nxp.com/webapp/Download?colCode=S32K1XXRM 

The CORE and SYS clock is the same, it is set correctly.

pastedImage_1.png

Also, you can set SLOW_CLK to "SPLL_CLK/6" to reach a higher frequency.

Or you can consider switching to HSRUN mode to reach higher frequencies, but I do not know your application requirements (this mode has some limitations).

I hope it helps.

Best regards,

Diana

0 Kudos