S32K3 functional reset causes increased start-up time

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

S32K3 functional reset causes increased start-up time

Jump to solution
234 Views
wuxianlong
Contributor IV

Hi, NXP

If I configure the clock source for MUX_6 to be FXOSC(NXP default configuration), then perform a “ Functional Reset”. The start-up time of the S32K3 will be much longer than that of a POR or a ” Destructive Reset.“
wuxianlong_0-1733377628116.png
wuxianlong_1-1733378783072.png

 

I found out that the reason was that in the Clock_Ip_ResetCgmXCscCssCsGrip() function, the Clock Mux6 clock shutdown request could not be completed and could only wait for a timeout to occur.
Also in the Clock_Ip_SetCgmXDeDivStatWithoutPhase() function, the MUX_DIV_UPD_STAT status of Clock Mux6 cannot be updated and can only wait for a timeout.
 
If I remove the timeout condition, the system will fall into an endless loop.
Are there any special requirements for using MUX_6's clock source as FXOSC? Similar situations will not occur with other clock sources.

wuxianlong_2-1733378844749.png

 

Best Regards,
xianlon

 

0 Kudos
Reply
1 Solution
159 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @wuxianlong,

Is the clock source active?

RTD 5.0.0 uses FCG there too:

danielmartynek_0-1733491890702.png

 

Regarding the CM7_0 clock, the driver cannot disable the clock.

Before the clock of a core can be disabled, the core must be stopped at WFI.

This is not possible with the main core.

 

Regards,

Daniel

View solution in original post

0 Kudos
Reply
3 Replies
160 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @wuxianlong,

Is the clock source active?

RTD 5.0.0 uses FCG there too:

danielmartynek_0-1733491890702.png

 

Regarding the CM7_0 clock, the driver cannot disable the clock.

Before the clock of a core can be disabled, the core must be stopped at WFI.

This is not possible with the main core.

 

Regards,

Daniel

0 Kudos
Reply
118 Views
wuxianlong
Contributor IV

Hi,@danielmartynek 

Thank you for your reply.
 
I tested adding CFG configuration and solved the problem.
 

wuxianlong_1-1733709832620.png

As far as I understand it,CM7_0 Under MCU Contral  should be configured to FALSE

wuxianlong_2-1733709923023.png

 

207 Views
wuxianlong
Contributor IV

Hi,NXP

There is also a problem that causes the clock initialization time to be extended.
In the Power module (NXP default configuration), the CM7_0 Under MCU Control option is TRUE and the CM7_0 Core Clock Enable is FALSE.
wuxianlong_0-1733396214923.png

 

In the Power_Ip_MC_ME_ConfigureCore() function, the program will execute a waiting for WFI due to the default configuration. However, there are no instructions to control the core to enter WFI. In other words, WFI cannot be set, and the user can only wait for a timeout in this logic. Should I optimize the configuration (CM7_0 Under MCU Control ) in this situation?
wuxianlong_1-1733396244431.png

 


BRs,
xianlong
0 Kudos
Reply