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.

CODECOMPOSER: CCS : - Generating code without using SysConfig

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: SYSCONFIG, MSPM0G3507

Dear TI ,

We are trying to making the API function similar as hardware abstraction layer (HAL like In ST), what is the issues we facing is that, the API we created is only applicable for the peripheral which we have already generate by sysconfig not for others (I generate a code for  single channel ADC [MSPM0 MCU] using the sysconfig but now we are trying to change the Channel and its PIN as well as , so can we do that changes without use of sysconfig tool or this is necessary (very much dependency in CCS file System ) to generate the code from sysonfig. (because in ST we found we are able to configure any pin without using the mx config tool)

please suggest the possible solution for the same .

Best regards,

  • Hello,

    Thanks for reaching out to Texas Instruments E2E support forum.

    Can you please tell which specific device are you using?

    Also can you please tell what is the version of SDK used?

    Regards,

    Tushar

  • Hello,

    Currently we are using MSPM0G3507 LaunchPad and mspm0_sdk_2_00_01_00 following sdk

    Best regards,

  • Hello Karan,

    Thanks for your response.

    I am routing your query to respective organization. Please expect a response in few business days.

    Regards,

    Tushar

  • Hi Karan,

    To be clear, you want to configure a peripheral later on in the runtime of your code, without using Sysconfig, but your problem is that Sysconfig won't generate the defines without selecting the peripheral in the Sysconfig menu?

    Or are you just saying that you want to initialize a peripheral without using Sysconfig?

    For both of these, you can just initialize and manipulate the peripheral using the functions and defines listed in our source code. You can find the driverlib source with all of the defines and headers in the SDK under [SDK Install Path]\mspm0_sdk_2_00_01_00\source\ti\driverlib. Once you've found the functions you want you can just include those source files in your code and utilize the functions there, and you can exclude the Sysconfig file from your project by deleting it or by right clicking the file and choosing the "Exclude from build" option.