background image

Scope of work

CPU0 switches periodically between run mode and idle mode triggered 
by STM timer

The Power Management scheme allows activation of power down modes for 
each CPU individually in case there are no active tasks to perform and 
power consumption needs to be reduced. In this example, the System Timer 
periodically generates interrupts (every two seconds). In the Interrupt 
Service Routine, the CPU0 is switched between idle mode and run mode.
CPU0 toggles LED D110 during run mode whereas the LED D110 remains 
in the last toggling state while CPU0 is idling.

2

2020-01-17

Copyright © Infineon Technologies AG 2020. All rights reserved.

Содержание SCU Power Down Idle 1

Страница 1: ...AURIX TC2xx Microcontroller Training V1 0 0 SCU_Power_Down_Idle_1 Power saving in CPU idle mode Please read the Important Notice and Warnings at the end of this document...

Страница 2: ...asks to perform and power consumption needs to be reduced In this example the System Timer periodically generates interrupts every two seconds In the Interrupt Service Routine the CPU0 is switched bet...

Страница 3: ...mption modes The Idle is specific to each CPU whereas the Sleep and Standby modes influence the complete system The System Timer STM is a free running 64 bit counter which can be used for timing appli...

Страница 4: ...Hardware setup This code example has been developed for the board KIT_AURIX_TC297_TFT_BC Step 4 2020 01 17 Copyright Infineon Technologies AG 2020 All rights reserved...

Страница 5: ...s Set the rate in Hz that refers to interrupt events per second Define the priority for the interrupt range from 0 to 255 Define the provider for interrupt service request as CPU0 CPU1 CPU2 or DMA Spe...

Страница 6: ..._Down_Idle c controls the CPU0 which alternates between run state and idle state The static variable setIdle helps to identify the next state of the CPU0 whether it remains in run state or is set into...

Страница 7: ...pilation and flashing the device verify the behavior of the LED Check if LED D110 1 is blinking equals to Run Mode or remains on off equals to Idle Mode 1 7 2020 01 17 Copyright Infineon Technologies...

Страница 8: ...www infineon com aurix expert training AURIX Development Studio is available online https www infineon com aurixdevelopmentstudio Use the Import function to get access to more code examples For questi...

Страница 9: ...the product for the intended application and the completeness of the product information given in this document with respect to such application For further information on the product technology deliv...

Отзывы: