infineon4engi@twitter twitter

infineon4engineers Facebook

infineon@linkedin linkedin

infineon@youtube youtube

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    New Member New Member
    Infineon Employee
    Infineon Employee
    Fawad is on a distinguished road
    Join Date
    Jun 2019

    XMC1100 Sleep mode


    I want to take periodic readings from an analogue angle sensor using the XMC1100. In order to minimize power I need to put the XMC1100 to sleep mode and then wake it up for some measurements with the angle sensor and then put it to sleep again.

    I am able to bring down the power consumption by gating off the peripherals that I do no need. I then use the deep sleep function and execute the command WFI();
    With this, the XMC goes to sleep, however I am unable to wake it up. What is the simplest way to wake up the XMC? A little code example would be very helpful in this regard. As far as I understand, it is not possible to wake up the XMC using some digital pin for an external interrupt (like a toggle button which can wake it up when pressed).

    Any help would be appreciated
    Last edited by Fawad; Jun 13th, 2019 at 10:34 AM.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012

    Any interrupt will wake your device, i.e. periodic interrupt or external pin interrupt.
    Check the XMCLib distribution examples, i.e. XMCLib\examples\XMC1400_series\SCU\SCU_WAKEUP

    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.


All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.

Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.