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.

MSPM0G3507: Peripheral Adding

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello TI Support Team,

I’m new to working with TI microcontrollers and have started exploring each peripheral individually. While doing so, I encountered an issue when trying to add a peripheral to the empty driver project.

I imported the empty_freertos example from the following path:

C:\ti\mspm0_sdk_2_04_00_06\examples\rtos\LP_MSPM0G3507\drivers\empty_freertos

The project builds and runs fine in its default state. However, when I try to add UART peripheral support to this project, I run into build errors. I’ve attached the error logs for reference.

I also noticed that this example does not include a SysConfig file, which makes it unclear how to correctly add and configure peripherals manually.

Could you please guide me on the correct steps to add peripherals (like UART) to this type of empty project?

Thank you for your support!

Best regards,
Amara Rakesh

  • Hi Amara,

    We provide UART freertos example in our SDK : FreeRTOS.

    Is it acceptable for you to build your application development based on the UART example of freertos?

    Best Regards,

    Pengfei

  • Hi Pengfei Xie,

    I have reviewed the example you mentioned — thank you for that.
    My current requirement is to add multiple peripherals into a single project. For this, I imported the empty project as a base. However, I noticed that this project does not have a SysConfig file.

    Could you please guide me on how to properly add and configure multiple peripherals in such a setup?

    Looking forward to your guidance.

    Thanks & Regards,
    Amara Rakesh

  • Hi Amara,

    Sorry there is not such a migration guide for freertos.

    As you said there is no sysconfig in the freertos example, actually one simple way for add peripheral is

    1. Copy a sysconfig file from an existing example, and then paste to the empty freertos example.

    2. Then disable linker file and startup file generation.

    3. Then ti_msp_dl_config.c and ti_msp_dl_config.h will be generated in Debug folder, you could use these files to replace existing ti_msp_dl_config.c/.h files.

    Best Regards,

    Pengfei