Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: ARM: Code Alignment for STM32H7 Flash access loops (6 Replies)

$
0
0
Hi, just testing STM32H7 code... . In a simple LED Blink program, I used for loops for simple delay: for( int i= 0; i< 10000000; i++) iDelay++; This code will generate 6 assembly lines needing 10...20 bytes of code. If this loop runs inside a 32 Byte page of STM32H7 code, all nice, runs as expected, with 2.5nsec time per command for STM32H7 running at 400MHz. Just If this loop code snippet extends over a 32byte flash page border, then the complet

Viewing all articles
Browse latest Browse all 3049

Trending Articles