cancel
Showing results for 
Search instead for 
Did you mean: 

How much ram is available on the micro to allocate a buffer?

JTLGE
Associate II

Hi,

I'm using the SWIN SensorTile Wireless Industrial Node development board that has an Ultra-low-power ARM Cortex-M4 MCU at 120 MHz with FPU, 2048 kbytes Flash memory (STM32L4R9).

On this micro I am using a freertos middleware that I use to manage tasks.

How can I know how much ram I have available to make a buffer in which to allocate data that I read from an accelerometer and then read the buffer and forward it on a serial line?

thanks in advance

1 REPLY 1
MM..1
Chief III

R9 have 640kB RAM, then you can arange buffers in this range minus reserved heap for freertos...

But memory is in some regions with or without DMA access, then check datasheet.