Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HeShanyuan
Level 1
Level 1
Distributor - Weikeng(GC)
10 questions asked 50 sign-ins 25 sign-ins

hey guys

I am trying to implement the latest DSPLIB V9.2 using Aurix development studio,after following the guidence “AP32528_Getting_started_with_Aurix_DSPlib_v1.2.0”,and trying to build this project,i meet issue as below picture

Nathen_0-1679850106053.png

but i can't find anywhere else redeclare this function,can anybody solve my problem

thanks!

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

1. Add include paths as below window.

2.Modify the dsplib.h file line 163#include "Assert.h"   -->   #include "Ifx_Assert.h"

dw_0-1679977454645.png

dw

View solution in original post

5 Replies
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Please refer to DSPlib_0v91_Quick_Start_Guide.pdf for HighTec Free TriCore™ Entry Tool Chain installation. The ADS needs migration of the source code.

dw_0-1679900955414.png

dw

0 Likes
HeShanyuan
Level 1
Level 1
Distributor - Weikeng(GC)
10 questions asked 50 sign-ins 25 sign-ins

Hi DW

yes, I have tried the DSPlib_0v91_testbench_TC39xB,and compile it success

but what if we want to integrate dsplib into our own project,we found that if we delete function  “Ifx_firComplexF32” ,project can be built

in app note AP32528_V1.2,only following step should be done(we already do it), so could you please help test in your own ADS project and fix this bug?

Nathen_0-1679909699008.png

many thanks!

 

 

0 Likes
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

1. Add include paths as below window.

2.Modify the dsplib.h file line 163#include "Assert.h"   -->   #include "Ifx_Assert.h"

dw_0-1679977454645.png

dw

HeShanyuan
Level 1
Level 1
Distributor - Weikeng(GC)
10 questions asked 50 sign-ins 25 sign-ins

many thanks DW!

seems its solution for V9.1 DSPlib version,but it doesn't work for V9.2

0 Likes
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

To upgrade to version 9.2, please perform the following steps:

  1. Add Asm and DSPlib to the Libraries of the XXX project in the ADS environment.

  2. In the TASKING C/C++ Compiler, add the Preprocessing directives "IFX_TRICORE_TARGET=1" and "IFX_TARGET_TRICORE_APPLICATION_FRAMEWORK=1".

  3. In the TASKING C/C++ Compiler,  add the following include paths:

 

"${ProjDirPath}/Libraries/DSPlib/examples/inc"

"${ProjDirPath}/Libraries/Asm"

"${ProjDirPath}/Libraries/DSPlib/inc"
  1. Clean the Debug folder in the XXX project.

  2. Rebuild the XXX project.

  3. In dsplib.h, modify the function definition after the struct definition as follows:

Change:

void Ifx_firComplexF32 (struct Ifx_firComplexF32State ); /!< complex FIR filter */

struct Ifx_firComplexF32State {...};

to:

struct Ifx_firComplexF32State {...};

void Ifx_firComplexF32 (struct Ifx_firComplexF32State ); /!< complex FIR filter */

Please note that the ellipsis "..." represents the contents of the definition, and for further information, please refer to the corresponding header file.

 

0 Likes