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.

TMS320F28379D: Complex math library

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Hello,
could you tell me whether for TMS320f28379D exists library for calculation of complex numbers.

I need for example calculate complex and real part of transfer function.

Best regards

  • Hello Rasto,

    I looked into the libraries that are present in C2000Ware, and the only functions I saw that use complex numbers are some of the FFT and vector operations. It does not seem like there are any general datatypes/structs/functions for complex numbers beyond these. Within the vector functions, the complex_float data type is simply just this struct:

    typedef struct {
         float64_t real; //!< Real part of the data point
         float64_t imag; //!< Imaginary part of the data point
    }complexf64_t;

    You can use this struct in your code, but any functions you would have to create as of now.

    Best regards,

    Omer Amir