cancel
Showing results for 
Search instead for 
Did you mean: 

8 Byte stack align in interrups (vs. 4 byte)

sholojda
Associate III

Hi. I realize this may seem simple to some of you but i realy want to undestand this as easy as it is possible.

In STM32 (for example) there is a bit called STKALIGN. If this bit is set stack is align to 8 byte instead of 4 byte.

How can i see difference in behavior when this bit is set or not? How to use this?

I know wthat align is but it is hard to undestand if i do not see how it works.

10 REPLIES 10

This was true until the Cortex-M7 came along. For that one the DTCM, ITCM and AXI are all 64-bit. On F7 the DTCM, ITCM and FLASH memories are connected with 64-bit data path, but on H7 the whole AXI bus matrix and most of memories/peripherals connected to it are 64-bit.