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

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

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

ソリューションへジャンプ
1,582件の閲覧回数
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 件の賞賛
返信
1 解決策
1,349件の閲覧回数
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

元の投稿で解決策を見る

7 返答(返信)
1,574件の閲覧回数
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 件の賞賛
返信
1,553件の閲覧回数
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 件の賞賛
返信
1,544件の閲覧回数
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 件の賞賛
返信
1,508件の閲覧回数
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 件の賞賛
返信
1,499件の閲覧回数
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 件の賞賛
返信
1,383件の閲覧回数
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 件の賞賛
返信
1,350件の閲覧回数
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