This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

edge impulse size

Hi,

there are couple of examples on NCS with edge impulse. 
I would like to know how much space edge impulse add to the application, and to see if it can fit into nRF52840 or nRF52833.

Can you please elaborate on it?

on those two examples, https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/samples_edge.html, how large is the application (flash/RAM)? How much of this is taken by edgeimpulse (flash/RAM)

Thansk

Lorenzo

Parents
  • Hi Lorenzo, 

    You can use west build for the target and get that info. 

    Edge Impulse: Data forwarder:

    • For nRF52840:

    Memory region         Used Size  Region Size  %age Used
               FLASH:       42612 B         1 MB      4.06%
                SRAM:        8320 B       256 KB      3.17%
            IDT_LIST:          0 GB         2 KB      0.00%

    • For nRF52833:

    Memory region         Used Size  Region Size  %age Used
               FLASH:       40268 B       512 KB      7.68%
                SRAM:        6784 B       128 KB      5.18%
            IDT_LIST:          0 GB         2 KB      0.00%

    Edge Impulse: Wrapper

    • For nRF52840

    Memory region         Used Size  Region Size  %age Used
               FLASH:       82904 B         1 MB      7.91%
                SRAM:       25088 B       256 KB      9.57%
            IDT_LIST:          0 GB         2 KB      0.00%

    • nRF52833:

    Memory region         Used Size  Region Size  %age Used
               FLASH:       80008 B       512 KB     15.26%
                SRAM:       23424 B       128 KB     17.87%
            IDT_LIST:          0 GB         2 KB      0.00%

    -Amanda H.

  • Thanks Slight smile
    I guess for a final application using Edge Impulse, both components (Wrapper and Data forwarder) are needed, correct?

    From your analysis, it seems Data forwarder uses about 40K Flash and 8K RAM; while Wrapper use 80K Flash and 25K RAM. So, can I say that if I use both, I would need use120K Flash and 33K RAM for Edge Impulse? 
    Naturally, I think this can vary a lot depending on the application itself. i.e. it is just an estimation. Correct?
     

    Thanks

    LA

Reply
  • Thanks Slight smile
    I guess for a final application using Edge Impulse, both components (Wrapper and Data forwarder) are needed, correct?

    From your analysis, it seems Data forwarder uses about 40K Flash and 8K RAM; while Wrapper use 80K Flash and 25K RAM. So, can I say that if I use both, I would need use120K Flash and 33K RAM for Edge Impulse? 
    Naturally, I think this can vary a lot depending on the application itself. i.e. it is just an estimation. Correct?
     

    Thanks

    LA

Children
Related