2010-01-07 12:14 PM
FLASH access speed versus SRAM ...
2011-05-17 04:37 AM
Hi,
I invite you to see these discussions: Cheers, armcu.2011-05-17 04:37 AM
Hi,
Can anyone in the forum guide me to the access speed for the on board FLASH of the STM32F103RBT6 device? Also has anyone done any benchmarking for the interrupt latency time for the following cases: 1. Interrupt Handler is resident in FLASH 2. Interrupt Handler is resident in the SRAM From the datasheet I understand that the SRAM is running at 0 wait states -> 72 MHZ. I have not been able to locate a similar figure for the onboard FLASH. Thanks -rsm2011-05-17 04:37 AM
thanks armmcu ....
the links are very useful. regards, -rsm2019-03-01 08:31 AM
Would it be possible to get updated links to the discussions posted here? They return broken links.
Thanks!
2019-03-01 08:44 AM
You are dealing with threads from 8 years ago, and multiple forum transitions.
Figure on F1 series FLASH access takes about 35ns, in however many clock cycles that eats at your clocking frequency, where as RAM will take 1 cycle. Tip: don't buy the 12 year old design.
Newer STM32 series have hardware to mask the slowness, the F2/F4 have 128-bit with cache lines in the ART, the first takes a hit, but the prefetch path provides data within the current cycle, so effectively a 0-cycle transaction vs 1-cycle on RAM, so in fact faster or about the same, depending on if you got a cache hit/miss.
F0/L0 figure you'll get a serious hit if you introduce a FLASH wait state. So a part clocking at 24 MHz with 0 wait states will out perform one a 25 MHz with 1 wait state
2019-03-01 08:45 AM
Thank you!