[elektro] STM32F446 TIMER3 interrupt
r3flow
zoltan.nagy at vivor.hu
Tue Jul 31 22:11:06 CEST 2018
On 2018-07-31 21:53, r3flow via Elektro wrote:
> miatt van az, hogy a flash törlésed még nem történt meg amikor már
> kiléptél az ISR-ből emiatt a CPU újrahívta az ISR-t.
Mármint FLAG törlésed. Egyébként más trükköket is tud a Cortex-M4
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0439b/DDI0439B_cortex_m4_r0p0_trm.pdf
Branch folding
Branch folding is a technique where the branch instruction is completely
removed from the instruction stream presented to the execution pipeline.
IT folding
In some situations, the processor can start executing the first
instruction in an IT block while it is still executing the IT
instruction. This behavior is called IT folding, and improves
performance, However, IT folding can cause jitter in looping. If a task
must avoid jitter, set the DISFOLD bit to 1 before executing the task,
to disable IT folding.
A Cortex-M7-ekben ezeken felül van L1 cache is ami további komoly
szopásokhoz tud vezetni ha nincs észnél az ember.
http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:cortexm7_dma_guide
Üdv,
Z.
More information about the Elektro
mailing list