Skip to main content
Visitor II
April 27, 2005
Question

Advantages of DSP library

  • April 27, 2005
  • 1 reply
  • 598 views
Posted on April 27, 2005 at 07:55

Advantages of DSP library

    This topic has been closed for replies.

    1 reply

    Visitor II
    April 27, 2005
    Posted on April 27, 2005 at 07:55

    Hello,

    I want to use the arithmetic functions of the DSP library to optimize a controller function. Does the involvement of the MAC unit really give an advantage in time.

    e.g the normal operation c=a-b where a,b,c are of type int takes 10 instruction cycles

    but the use of sub_16(...) of the library uses also 10 instruction cycles (see pdf file)

    How can I use the DSP library to optimize a function which uses fix point variables?

    Thank you very much for your support.

    :-?

    ________________

    Attachments :

    st10dsplib.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I09Y&d=%2Fa%2F0X0000000bYl%2F0byxZpz9AZLhKONDkJZ6sc8Yys0igbqbc2srhndW4mw&asPdf=false