Sunday, 23 April 2017

Basic Operation Using DSP Processor

The theoretical aspects of DSP technology are not too difficult. We just have different algorithms for different operations. But, the real world doesn't work on just mathematics and algorithms. We need to have some physical hardware that will implement these operations. This is where the DSP processor comes in.
We used a custom board of the popular C2000 processor. The coding platform used was Code Composer Studio. Using the implementations of DSP algorithms in C language developed previously, the code was tweaked to work on-chip in embedded C. Basic operations were performed on the board such as addition and subtraction among others. We also implemented FFT algorithms. The difference in implementing on hardware is that we have to reference the registers too while writing the code while a simple C language implementation does not require this.

17 comments:

  1. The processor has a capability to execute these basic instructions in a single instruction cycle and that too at several hundred mega Hertz. For TMS320F28335 its 120 MHz.

    ReplyDelete
    Replies
    1. yes and we can also perform addition,subtraction etc

      Delete
  2. JTAG debugger tool makes easy to debug the problem and also verify the results.

    ReplyDelete
  3. Dsp processor capabilities make our task very much easy.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. These are some of instructions we learned..
    ADD - ADDITION
    SUBB - SUBTRACTION
    MPYB - MULTIPLICATION
    ANDB - LOGICAL AND
    LSR - SHIFT RIGHT
    LSL - SHIFT LEFT
    ROL - ROTATE LEFT
    ROR - ROTATE RIGHT

    ReplyDelete
  6. Using JTAG, results can be seen on PC too

    ReplyDelete
  7. Awesome stuff... now I don't have any doubt related to this topic...

    ReplyDelete