---
title: "Discussion on \"How many cycles does function call takes STM32?\" | Hashnode"
description: "Discussion on \"How many cycles does function call takes STM32?\". Short answer: there’s no single number. A function call on STM32 depends on the CPU core (M0/M0+, M3/M4/M33, M7), compiler/optimizations, how many registers must be saved, flash/ SRAM wait-states, and whether the FPU context is involved. But you can ..."
url: "https://hashnode.com/posts/how-many-cycles-does-function-call-takes-stm32/6904847c5ffd8d46864d4f08"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How many cycles does function call takes STM32?](https://ampheoelectronic.hashnode.dev/how-many-cycles-does-function-call-takes-stm32?utm_source=hashnode&utm_medium=feed)

Short answer: there’s no single number. A function call on STM32 depends on the CPU core (M0/M0+, M3/M4/M33, M7), compiler/optimizations, how many registers must be saved, flash/ SRAM wait-states, and whether the FPU context is involved. But you can ...

Oct 31, 2025 · 3 min read · ampheoelectronic.hashnode.dev  
Read the article

-   [#fpu](https://hashnode.com/tag/fpu)
-   [#function-call](https://hashnode.com/tag/function-call)
-   [#stm32](https://hashnode.com/tag/stm32)

## Written by

[ampheo](https://hashnode.com/@ampheo)

@ampheo

  
[View profile](https://hashnode.com/@ampheo)

Electronic Components Distributor

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
