Skip to main content

Interrupts and Power Management

  • Chapter
  • First Online:
Embedded System Design with ARM Cortex-M Microcontrollers

Abstract

An embedded system either responds to an asynchronous request or performs an operation in a periodic manner most of the times. One approach to handle such requests is letting the CPU wait in an infinite loop in idle mode till an asynchronous request comes or event period has been reached. A better approach for such operations is the interrupt usage. This method handles the problem such that the CPU performs its usual (or synchronous) operation and handles asynchronous or periodic operations when requested. Therefore, we will start with explaining the interrupt concept in embedded systems first in this chapter. Then, we will focus on setting up and usage of interrupts in the STM32F4 microcontroller. The recent trend in embedded systems is consuming as less power as possible. Hence, the system deployed to a remote location can run on battery or by its own energy harvesting module. Therefore, we will also consider power management besides interrupt concepts in this chapter. As the end of the chapter application, we will add interrupt and power management operations to the robot vacuum cleaner developed throughout the book.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 79.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. STMicroelectronics: STM32F427xx STM32F429xx, docid024030 rev 10th edn. (2018)

    Google Scholar 

  2. STMicroelectronics: STM32F405/415, STM32F407/417, STM32F427/437 and STM32F429/439 advanced Arm-based 32-bit MCUs, rm0090 rev 19th edn. (2021)

    Google Scholar 

  3. Yiu, J.: The Definitive Guide to Arm Cortex-M3 and Cortex-M4 Processors, 3rd edn. Newnes, London (2014)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

5.1 Electronic supplementary material

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Ünsalan, C., Gürhan, H.D., Yücel, M.E. (2022). Interrupts and Power Management. In: Embedded System Design with ARM Cortex-M Microcontrollers. Springer, Cham. https://doi.org/10.1007/978-3-030-88439-0_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-88439-0_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-88438-3

  • Online ISBN: 978-3-030-88439-0

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics