AnsweredAssumed Answered

do you need to explictly set SCB->CCR |= SCB_CCR_STKALIGN;

Question asked by r.denis on Sep 25, 2013
"Immediately after stacking, the stack pointer indicates the lowest address in the stack frame. Unless stack alignment is disabled, the stack frame is aligned to a double-word address. If the STKALIGN bit of the Configuration Control Register (CCR) is set to 1, stack align adjustment is performed during stacking."

I see that for my processor this is not enabled on startup, and, i don't do it, and i have not encountered problems yet.

Err, so what happens if its 0, stack align adjustment NOT performed during stacking.
When is it performed then.

Outcomes