Skip to main content
Visitor II
April 14, 2022
Question

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

  • April 14, 2022
  • 1 reply
  • 558 views

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

    This topic has been closed for replies.

    1 reply

    Graduate II
    April 14, 2022

    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.