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.

Access to registers of circular addressing in C

Other Parts Discussed in Thread: TMS320C6670

Hi. I'm trying to use a circular buffer to make a FIR filter in a TMS320C6670 but it would be easier to do it using C language than assembly. In this forum http://e2e.ti.com/support/development_tools/compiler/f/343/t/123312.aspx#439861 I found that no implementation of this kind of addressing is suported by the C/C++ compiler.

Is there yet any way to access the interal core registers (A4 to A7, B4 to B7, the ones which support circular buffering) from C? This option would let me do my application more efficiently. Does those pointers suppor increment and decrement for the addressing?

Thanks a lot.

  • Noryab said:
    Is there yet any way to access the interal core registers (A4 to A7, B4 to B7, the ones which support circular buffering) from C?

    Sorry but I don't believe there is a way. You could instead write the routine in assembly and call it from C.