2009-08-04 01:15 AM
Performance of Running Code in External RAM
2011-05-17 03:54 AM
We are using High Density Series STM32 chip. The embedded SRAM is up to 64KB. We try running code from external SRAM, and it seems extremely ''slow''.
I am wondering how the performance will be like if running linux, considering normally linux kernel is large (over several hundred KBytes) and copied from a stroage device(flash) to RAM, and then wholly running in RAM.2011-05-17 03:54 AM
The external memory is not a good place for running a code for STM32. As AN2784 states the minimum access latency for the external memory is 3 cycles for half a word even if you put no delays in the configuration register (Figure 6).
In addition, the external memory is connected to D-bus, which means that there will be more delays waiting for data transfers over the same bus.