Quiesent current for MCU S912ZVML64F1MKHR

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

Quiesent current for MCU S912ZVML64F1MKHR

ソリューションへジャンプ
1,270件の閲覧回数
vijay_anandk
Contributor I

Hi,

I am vijay. I am using S912ZVML64F1MKHR microcontroller for one of my project application.

I need to now the quiesent current for S912ZVML64F1MKHR.

Can anybody send me the quiesent current of this MCU.

 

I was not able to find in datasheet.

 

 

 

 

S912ZVML64F1MKHR
ラベル(1)
タグ(2)
0 件の賞賛
1 解決策
935件の閲覧回数
Martin35804
NXP Employee
NXP Employee

Hi,

Check the A.1.11 Supply Currents section of the S12ZVM reference manual, starting page 762.

http://cache.freescale.com/files/microcontrollers/doc/ref_manual/MC9S12ZVMRMV1.pdf?pspll=1

MC9S12ZVM-Family Reference Manual

Regarding the stop mode here is some code for CAN wake-up. I hope it helps you.

In your MSCAN initialization routine, you need to add the following:

       CAN0CTL0_WUPE = 1;   /* Enable WAKEUP */      

    CAN0RIER_WUPIE = 1;  /* Enable wake-up interrupt */      

    CAN0CTL1_WUPM = 0;   /* Wake up mode: any dominant level */


Before the MCU is commanded to go to sleep, you need to request the module to enter sleep:

       CAN0CTL0_SLPRQ = 1;              /* MSCAN enter sleep mode */

       while (!(CAN0CTL1_SLPAK));       /* Wait for sleep mode acknowledge */


Then, you can drive the MCU into STOP mode with:

       asm(andcc #0x7F);    /* Enable STOP mode */

       EnableInterrupts;    /* Enable interrupts */
   
asm{STOP};           /* Enter STOP mode */


At the MSCAN wakeup interrupt service request, you need to clear the wakeup flag

       CAN0RFLG_WUPIF = 1;  /* Clear wakeup flag */

元の投稿で解決策を見る

0 件の賞賛
5 返答(返信)
936件の閲覧回数
Martin35804
NXP Employee
NXP Employee

Hi,

Check the A.1.11 Supply Currents section of the S12ZVM reference manual, starting page 762.

http://cache.freescale.com/files/microcontrollers/doc/ref_manual/MC9S12ZVMRMV1.pdf?pspll=1

MC9S12ZVM-Family Reference Manual

Regarding the stop mode here is some code for CAN wake-up. I hope it helps you.

In your MSCAN initialization routine, you need to add the following:

       CAN0CTL0_WUPE = 1;   /* Enable WAKEUP */      

    CAN0RIER_WUPIE = 1;  /* Enable wake-up interrupt */      

    CAN0CTL1_WUPM = 0;   /* Wake up mode: any dominant level */


Before the MCU is commanded to go to sleep, you need to request the module to enter sleep:

       CAN0CTL0_SLPRQ = 1;              /* MSCAN enter sleep mode */

       while (!(CAN0CTL1_SLPAK));       /* Wait for sleep mode acknowledge */


Then, you can drive the MCU into STOP mode with:

       asm(andcc #0x7F);    /* Enable STOP mode */

       EnableInterrupts;    /* Enable interrupts */
   
asm{STOP};           /* Enter STOP mode */


At the MSCAN wakeup interrupt service request, you need to clear the wakeup flag

       CAN0RFLG_WUPIF = 1;  /* Clear wakeup flag */

0 件の賞賛
935件の閲覧回数
Martin35804
NXP Employee
NXP Employee

Hi,

you mean quiescent current = sleep mode?

0 件の賞賛
935件の閲覧回数
vijay_anandk
Contributor I

Hi Martin,

Yes i wants to know the Quiesent current in sleep mode and in Normal mode for S912ZVML64F1MKHR.

0 件の賞賛
935件の閲覧回数
vijay_anandk
Contributor I

Hi Martin,

Thanks for your guidance.

I understood now from the datasheet.

0 件の賞賛
935件の閲覧回数
Martin35804
NXP Employee
NXP Employee

sleep mode is rather stop mode described.

You can download the example code posted on our community space:

https://community.freescale.com/message/459856#459856

It was tested on S12ZVM EVB board. After you program the micro, disconnect the BDM and push the reset button. After reset, the micro will enter Stop mode. It can be waken-up with push button SW3  (aka "UP) which is connected to IRQ pin. After the push, MCU will exit Stop mode, go to ISR which will be indicated by few LED blinks and after that the MCU goes into Stop mode again.

0 件の賞賛