KL27Z LLS sleep not supported?

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

KL27Z LLS sleep not supported?

695 Views
bjorn_almqvist
Contributor I

Hi!

I use sw KDS 3.0 and KDSK 1.3.0 with PEx.

I've got a KL27Z256 processor and want it to go to LLS sleep, but that mode is seems not to be supported by KSDK and PEx.

If I choose processor KL27Z32xxx or KL27Z64xx the mode is availble but not for KL27Z128xxx and KL27Z256. Is this right?

To allow Low Leakage Stop mode the setting is on the CPU component in PEx.

I've not seen anything in the documentation about this.

Best Regards,

Bjoern

0 Kudos
3 Replies

487 Views
bjorn_almqvist
Contributor I

Hi!

I would like my KL27Z256 processor to go to LLS sleep.

On the KL27Z64/32 processor you can allow the LLS mode in SMC_PMPROT.

KL27Z64_CPU_LPmode_settings.JPG

But that option is not availible on the KL27Z256.

KL27Z256_CPU_LPmode_settings.JPG

The register is being written to by PEx system startup code and after that is done it's not possible to change (write once register).

So I'm not allowed to go to LLS mode if I don't tamper with the KSDK lib code.

Is there a reason for this, shoudn't the 128/256 options of KL27Z processor be able to enter LLS sleep?

Best regards,

Bjoern

0 Kudos

487 Views
marek_neuzil
NXP Employee
NXP Employee

Hello,

I have reproduced the issue. There is a defect in these CPU component (MKL27Z128 and MKL27Z256). I have reported the issue to the Processor Expert development team (PEXMCU-4164).

You can use the following workaround in the meantime:

Add the Init_SMC component in your application.

Open Component Inspector of the Init_SMC and set the Low-leakage stop mode in the Properties > Settings group. See the following screenshot:

pastedImage_0.png

The Processor Expert generates the correct initialization code for the SMC_PMPROT register.

Best Regards,

Marek Neuzil

0 Kudos

487 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Bjoern,

Could you please take a screenshot about the

"processor KL27Z32xxx or KL27Z64xx the mode is availble" , do you meaning you want configure it

in the KSDK-PE initialize or anything else ?

BR

Alice

0 Kudos