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.

IWR6843AOP: DSP Optimized Code for R4F?

Part Number: IWR6843AOP

Hi,

DSP optimized code e.g _rsqrsp is often shown in code running on the R4F core along with a macro.

My understanding is that those special code is only available on C2000 and will not be compiled for R4F, is it?

Thanks.

  • Hello

    It seems like the thread your referring to was pending on further clarification from you  in order to help you further.

    In this thread it is unclear what you are trying to ask exactly and  what is the issue you are facing.

    Can you please clarify the context and objective of what you are trying to accomplish.

    Thank you,

    Vaibhav

    Additional information has been requested to private message. Please see and respond.

  • Dear ,

    Thanks for your replay. What we want to do is to optimize our code (running on R4F) as fast as possible. Wondering whether __rsqrsp is avaialbe on R4F.

    Best regards,

    Tony. 

  • Hi,

    Here is a specific example. We would like use mmwavelib_clustering.c on R4F in which DSP optimized functions _amem8, _itoll and etc. are used every function. Meanwhile, both mmwavelib_c674_emulate_c66_intrinsics.h and c6x.h are also included in that file.

    My questions are:

    1. Can we use this file on R4F? If yes, does it mean that _amem8 alike will be replaced with those in mmwavelib_c674_emulate_c66_intrinsics.h?
    2. Can we use this file on C2000? If yes, does it mean _amem8 alike will be optimized for speed?

    thanks

  • Hi,

    I do not believe these files will work on the other devices you mentioned, as they are specifically optimized for the C6xx DSP's. It may be possible that they will run on the R4F, but they would likely not be the optimized implementation. This library was made to be combined with TI's DSPLIB.

    Best Regards,
    Alec