Example Project
A working example project that you can examine as a reference for DSPLIB library integration is provided in theMCU directory within T3 Gemstone’s GitHub examples repository.
While inside the devbox shell within the examples repository, you should run the following command.
dsplib_demo.out file located in examples/mcu/dsplib_demo/j722s-evm/c75ss0-0_freertos/ti-c7000
and examples/mcu/dsplib_demo/j722s-evm/c75ss1-0_freertos/ti-c7000 is now ready to run on the C7 cores.
To run it on the development board, you can follow the steps in the
Running the compiled project at the U-Boot stage section.
In this example project, the generated outputs are transmitted via the UART1 interface.
You can find the related pin connections in the Pinout documentation.
The terminal output of the DSPLIB example project is as follows.
Integrating into an Existing MCU Project via MakeFile
To integrate the DSPLIB library into your existing MCU project, you need to define the root directory path of the SDK and the.cpp file you will use.
src directory to the list of included folders (INCLUDES_common variable) as
follows. You may need to adjust the path according to your DSPLIB version.
CFLAGS_common variable) for
the library to compile correctly.
LIBS_PATH_common variable).
LIBS_common variable) as follows.
OBJS and DEPS definitions are made.

