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.

AM2754-Q1: Ask for Library Generation Method based on AM275 C75 Core

Part Number: AM2754-Q1

Hi 

Could you please provide the guide documet about how to generate the Library based on AM275 C75 Core? We need two forms ot documets as follows:

  1. Ask for the Library Generation Method based on AWE framework and Windows OS.
  2. Ask for the Library Generation Method based on common C code.

Thanks,

Tingting.

  • Hi Tingting,

    I am sorry, I don't follow your request. Please elaborate on what you are trying to achieve and need help with.

    Thanks,
    Shreyansh

  • Hi Shreyansh,

    We are algorithm provider. We need to generte Lib file for customer. So we need the guide document about how to generate Lib file. We expect two ways.

    1. Generate Lib file based on AWE framework (An audio framework licesed by DSP concept)

    2. Generate Lib file based on common C code

    Hope you can understand my question this time.

    Thanks,

    Tingting.

  • Hi Zhou,

    I have created a version of the custom module which support windows build. Here is the summary of changes for your reference:                                                
    The source/ directory contains the generic C implementations of the tutorial audio modules — these are platform-agnostic and work across any target. The source-bsp/ directory is kept deliberately separate as a C7x-only build space. It starts with the same source code as source/, but the intent is that this is where you integrate TI C7x-specific work — whether that's swapping in DSPLIB kernels for accelerated processing, writing custom C7x intrinsics. By keeping it separate, the generic source stays clean and untouched, and the C7x optimisations live in their own space without affecting other platform builds.

    Changes Made
                                                                                                                                                                                                  
    source-bsp/ (new) — Contains the five module source files, currently identical to source/, ready to be progressively optimised for C7x. The directory includes ti_c7x_linux.cmake and ti_c7x_windows.cmake for cross-compiling from either host, cmake/utils.cmake, xlibExtProjConfig.json for referencing external libraries like DSPLIB, and a CMakeLists.txt that handles SOC selection (AM275x, AM62Dx, AM62Ax) and automatically picks the right toolchain based on the host OS.
                                                                                                                                                                                                  
    include/Targets/c7x/ (new) — One thin header per module that forwards to the generic header. When C7x-specific optimisations are introduced in source-bsp/ — for example using DSPLIB deinterleave/interleave or custom instance fields for DSPLIB handles — the struct definitions can be extended here without touching the shared headers.
                                                                                                                                                                                                  
    include/FractMath.h (one-line change) — Added || defined(__C7000__) to the existing _TMS320C6X platform guard. The cl7x compiler defines __C7000__ but not _TMS320C6X, so fract16/32/64 types used internally by the framework header were left undefined on C7x builds. 

      Building on Windows                                                                                                
                         
      Make sure ti-cgt-c7000_5.0.0.LTS is installed under C:\ti\. From PowerShell in the tutorial_module directory:
                                                                                                                                                                                                  
      cmake -G Ninja -DSOC=am275x -B build source-bsp
      cmake --build build                                                                                                                                                                         
                                                                     
      Swap am275x for am62dx or am62ax as needed. To override the toolchain path:                                                                                                                 
                                                                     
      cmake -G Ninja -DSOC=am275x -DCGT7X_ROOT="D:/ti/ti-cgt-c7000_5.0.0.LTS" -B build source-bsp                                                                                                 
      cmake --build build      

    Let me know if you run into any more issues.

    Custom_Module_Windows.zip

  • Hi Shreyansh,

    Thanks for the example. This is useful for us.

    Thanks,

    Tingting.