FLASH access speed versus SRAM ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-01-07 12:14 PM
FLASH access speed versus SRAM ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:37 AM
Hi,
I invite you to see these discussions: Cheers, armcu.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4: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 -rsm- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:37 AM
thanks armmcu ....
the links are very useful. regards, -rsm- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-01 8:31 AM
Would it be possible to get updated links to the discussions posted here? They return broken links.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-01 8: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
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-01 8:45 AM
Thank you!
