This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR5994: Does circular buffer work with "msp_mac_iq31" (for example)?

Part Number: MSP430FR5994
Other Parts Discussed in Thread: TIDA-00929

I see the LEA circular buffer support for the FIR filter calls.  For which other vector-related functions is the circular buffer supported?

I'm performing a dot product on an input stream of data in an "iterative" manner and would like to use a circular buffer.

If necessary, I can duplicate some of the data at the ends of my input buffer, but it would be nice to avoid that.

Thanks,

Dale

  • As a follow-up, I can probably make the FIR call work for me... just would like to better understand what that function is doing behind the curtain. 

    As one reference, I'm using

    TI Designs: TIDA-00929
    Spectrum Analyzer: Signal Conditioning and Processing
    for Capturing Arc Signatures Reference Design

    It has a pretty nice explanation of the ping pong FIR implementation.  Source code for this would be nice.  Is that available?

    Thanks,

    Dale

  • Hi Dale, 

    The circular buffer is only supported for the FIR functions in LEA and unfortunately can't be used for any other DSPLIB functions. The DSPLIB User's Guide is very helpful when trying to understand the capabilities of LEA and how the different functions operate. It also includes examples for many of the functions you've discussed.

    Dale Suilmann said:
    As a follow-up, I can probably make the FIR call work for me... just would like to better understand what that function is doing behind the curtain. 

    The underlying implementation of the FIR and other DSPLIB functions that are implemented using LEA are not made available to the public. This information is TI proprietary as the functions are highly optimized for use with LEA.

     

    Dale Suilmann said:
    It has a pretty nice explanation of the ping pong FIR implementation.  Source code for this would be nice.  Is that available?

    I can't seem to find the code referenced in the TI Design but I'll reach out to the authors and see if it can be provided. 

    Finally, if you're trying to implement a circular buffer, I'd recommend taking a look into the Non-Volatile Storage(NVS) library of FRAM Utilities. This library shows how to implement a ring buffer in FRAM. While this library was created for non-volatile FRAM, the same concepts should be able to be applied to RAM. 

    Best regards, 

    Caleb Overbay

**Attention** This is a public forum