Why is S32K144 in STOP1 mode, CLKOUT also has bus_clk output?

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

Why is S32K144 in STOP1 mode, CLKOUT also has bus_clk output?

Jump to solution
1,577 Views
PYGC
Contributor II

The description of STOP1 will disable the system clock and bus clock

I output the bus clock through CLKOUT, and found that there is still clock output after entering STOP1.

PYGC_0-1673862649509.png

PYGC_1-1673862664232.png

PYGC_2-1673862670549.png

 

0 Kudos
Reply
1 Solution
1,344 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @PYGC,

The BUS_CLK clock signal that goes to the CLKOUT external pin as selected with SIM_CHIPCTL[CLKOUT] is the main trunk for the bus clock. This BUS_CLK is not gated in STOP1. But the bus clock that are generated from the BUS_CLK are gated in STOP1 mode before being driven to the peripherals. Thus the RM is accurate, we just need to interpret the "bus clocks are all gated" as the clocks to the peripherals and not the BUS_CLK signal that is sent to the CLKOUT pad.

 

Regards,

Daniel

View solution in original post

7 Replies
1,569 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @PYGC,

Can you disconnect the debugger and power cycle the MCU before it goes to the STOP1 mode?

 

Thank you,

BR, Daniel

0 Kudos
Reply
1,548 Views
PYGC
Contributor II

Yes, I am using S32K144EVB-Q100 Rev C1,

  • 12V power supply
  • disconnected J106 and J8 (cut wires)

CLKOUT still outputs BUS_CLK

PYGC_1-1673917780479.png

 

PYGC_0-1673917707638.png

PYGC_2-1673917804792.png

 

0 Kudos
Reply
1,539 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @PYGC,

Do you disable FIRC, SOSC and SPLL in the RUN mode?

Is SIRC the system clock?

Can you measure the consumption of the MCU?

 

Thanks,

Daniel

0 Kudos
Reply
1,503 Views
PYGC
Contributor II

I use FIRC 48MHz as clock source, SOSC and SPLL is disabled.

I get power consumption from DC power supply, which may not be accurate.

RUN Mode:

PYGC_0-1675236316066.png

STOP1 Mode:

PYGC_1-1675236336939.png

STOP1 CLK_OUT:

PYGC_2-1675236379310.png

 

 

And I tried to use SIRC as clock source before entering STOP1, close the FIRC, SOSC, SPLL

But CLK_OUT still has 4MHz output

(Fbus_clk = Fcore_clk = SIRC / 2 = 4MHz)

PYGC_3-1675236700181.png

 

0 Kudos
Reply
1,494 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @PYGC,

I'm just testing it and I can reproduce what you see.

SYS_CLK is gated off while BUS_CLK is running in STOP1.

It is being investigated.

 

BR, Daniel

0 Kudos
Reply
1,378 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @PYGC,

I'm sorry for the delay.

The issue is still under an internal discussion / investigation unfortunately.

 

BR, Daniel

0 Kudos
Reply
1,345 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @PYGC,

The BUS_CLK clock signal that goes to the CLKOUT external pin as selected with SIM_CHIPCTL[CLKOUT] is the main trunk for the bus clock. This BUS_CLK is not gated in STOP1. But the bus clock that are generated from the BUS_CLK are gated in STOP1 mode before being driven to the peripherals. Thus the RM is accurate, we just need to interpret the "bus clocks are all gated" as the clocks to the peripherals and not the BUS_CLK signal that is sent to the CLKOUT pad.

 

Regards,

Daniel