power consumption on K22FN512VLH12

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

power consumption on K22FN512VLH12

717 Views
nesrinemhiri
Contributor III

Hi,

I work with the freedom K22FN,and i use the KSDK_1.1.0 ,i test power comsumption when the code execute the CoreMark benchmark code executing from flash, and all peripheral clocks disabled

,I found results diffenrent from datasheet:(ie:i use the same conditions as the datasheet :clocks...)

IDDTyp:from datasheetmesuared
IDD_HSRUN2830.87
IDD_RUN17.521.013
IDD_VLPR0.8823.2

IN SystemInit function i add this lines to disable peripheral clocks:

  for (i = 0; i < HW_PORT_INSTANCE_COUNT; i++)

    {

      CLOCK_SYS_DisablePortClock(i);

    }

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateRtc0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateDma0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateDmamux0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateEwm0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateFlexbus0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateFtf0);

     SIM_HAL_DisableClock(SIM_BASE, kSimClockGateCrc0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateRnga0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateCmp);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateVref0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateSai0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGatePdb0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGatePit0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateLptmr0);

    SIM_HAL_DisableClock(SIM_BASE, kSimClockGateLpuart0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateI2c0 );

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateI2c1 );

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateUart0);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateUart1);

  SIM_HAL_DisableClock(SIM_BASE, kSimClockGateUart2);

     SIM_HAL_DisableClock(SIM_BASE, kSimClockGateUsbfs0);

     SIM_HAL_DisableClock(SIM_BASE,kSimClockGateFtm3);

     SIM_HAL_DisableClock(SIM_BASE,kSimClockGateFtm2);

  SIM_HAL_DisableClock(SIM_BASE,kSimClockGateFtm1);

  SIM_HAL_DisableClock(SIM_BASE,kSimClockGateFtm0);

  SIM_HAL_DisableClock(SIM_BASE,kSimClockGateDac0);

  SIM_HAL_DisableClock(SIM_BASE,kSimClockGateAdc0);

  SIM_HAL_DisableClock(SIM_BASE,kSimClockGateDac1);

  SIM_HAL_DisableClock(SIM_BASE,kSimClockGateAdc1);

  SIM_HAL_DisableClock(SIM_BASE,kSimClockGateSpi0);

  SIM_HAL_DisableClock(SIM_BASE,kSimClockGateSpi1);

Thank you

0 Kudos
Reply
2 Replies

496 Views
Paul_Tian
NXP Employee
NXP Employee

Hi,  Mhiri

Please pay more patience, I will check your issue. Thanks.

Best Regards

Paul

0 Kudos
Reply

496 Views
nesrinemhiri
Contributor III

Hi,

Thank you

0 Kudos
Reply