3 ms·
> 32 kB RAM The mentioned microcontroller has 192KiB of SRAM (including 64KiB of core-coupled memory). Speaking of which, many programmers tend to ignore the
by conductor 10y ago
> 32 kB RAM
The mentioned microcontroller has 192KiB of SRAM (including 64KiB of core-coupled memory).
Speaking of which, many programmers tend to ignore the CCM but it can be very useful (though it can't be accessed from other peripherals (timers, ADC, etc.) using the DMA).
It can be used for the heap and/or stack memories, for example, freeing up the remaining 128KiB for other purposes.
It can also be used for executing your code from the memory without using the flash which is faster and more energy-efficient.
- lisper 10y agoSome versions of the STM32F415 have 192k but the one I'm currently using only has 32.