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.

LP-MSPM0G3507: How to change the syscfg in example

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: MSPM0-SDK, SYSCONFIG

Hi,

I'm testing SPI and DMA with the latest MSPM0-SDK. (version is 1.00.00.04)

Example is spi_controller_repeated_multibyte_fifo_dma_interrupts

I need to use SPI0, DMA CH0 and CH1, but I can't change syscfg file in example project.

How can I change these configuration 

And I don't understand why the syscfg file looks different depending on the environment when the version of SysConfig is same.

For exmaple, In SPI option is dfferent as below.

  

[CCS version : 12.1.0 / SDK version : mspm0_sdk_0_57_00_00_eng]

[CCS version : 12.2.0 / SDK version : mspm0_sdk_1_00_00_04]

  • Hello,

    Depending on what you need to change, you should just be able to click and edit the SysConfig file directly (such as the mode select under SPI). You may need to add SPI or DMA beforehand. In addition, you may try building the .c file first, then editing the SysConfig file, saving, and building again.

    As for the different versions of SPI, it is likely due to the difference in SDK versions. One is for pre-production silicon and one is for production silicon.

    Thank you,

    Susan

  • Hello, 

    I just wanted to modify sysconfig file in example. 

    In this case, I want to use SPI_0 name with SPI0 module.

    But selected peripheral is fixed, so If I use SPI_0 with SPI0 module, I have to remove and recreate it.

    This is very inconvenient and complicated. 

    Anyway, thank you for your answer and I hope SYSCONFIG will be easier to use.

    Have a nice working day.

  • Hello,

    The SPI instance is fixed based in the PinMux selection. Rather than deleting and adding a new SPI module to select SPI0, you can go into the PinMux section of Sysconfig (scroll down on the SPI page). 

    However, you must first change the pin selections for SCLK, PICO, POCI, and CS0 (to ANY, or hit the lock button next to the dropdown) BEFORE you can change the Peripheral.

    Thank you,

    Susan