What is the speed of SRAM in STM32H7?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-04 7:30 AM
The STM32H743 datasheet section 3.3.2 states that the TCM memories are zero wait state, implying that they run at the core speed of up to 480MHz. It does not make any claim about the rest of the SRAM. Figure 2 in the datasheet shows all the AXI and AHB buses running at 240MHz.
The reference manual RM0433 figure 49 also shows the AXI and AHBs in domains 1 and 2 running at up to 240MHz.
However the reference manual section 2.4 says that AHB SRAM and AXI SRAM “can be addressed at maximum system clock frequency without wait state.”
Is this correct? How can the bus and matrix be clocked at half the core speed and never introduce wait states?
Table 33 of the datsheet also states that running from SRAM1 with the cache disabled, the performance is less than a quarter of running from ITCM (it doesn’t say where the data is for the benchmark, but for a fair comparison it would need to have been in the DTCM).
- Labels:
-
STM32H7 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-04 4:06 PM
Some clues can be gained from the system architecture. The SRAM is located significantly farther away from the CPU. It has to send the address to the SRAM over these busses and then get the data back. Perhaps there are zero wait states, but it still takes time to traverse these paths. And the bus to access them is only 32-bits and shared with many other things.
Comparatively, DTCMRAM is right there and has a dedicated 64-bit bus.
The exact behavior of the bus is not documented anywhere I know of. Easy to benchmark, however.
