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: PWM is not generating

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

Hello,

I am exploring MSPM0F3507 (VQFN-48 pin package). I have tried "pwm_timer_no_rtos", "timex_timer_mode_pwm_nortos" and other sample codes too. But it seems the desired PWM output pins could not generate any output. I am using CCS version 12.2, MSPM0 SDK 1.0. We have the "Rev1.0" version of the boards.

As per this link, I have tried installing CCS12.1 with SDK version 0.57. But these examples are not generating any outputs too.

Can you help me with this?

Thanks and Regards,

Virendra Dalal

  • Hi Virendra,

    So you're right that the rev1.0 versions of the MSPM0G3507 launchpads  should work with 12.1 and SDK version 0.57, please ensure you are running those versions of tools when using them, and any examples you are importing are directly from your 0.57 SDK installation.

    Are you able to open the .syscfg files from the 0.57 examples and build them without error in CCS12.1? 

    I should also point out that the launchpads have the 64-pin version of the MSPM0G3507, and not the 48-pin version. 

    Best Regards,
    Brandon Fisher

  • Hi Brandon,

    Thanks for the quick response. 

    Are you able to open the .syscfg files from the 0.57 examples and build them without error in CCS12.1? 

    Yes, I can import the SDK 0.57 examples of PWM, open the sysconfig and can configure it. Also, build it without an error. The PWM code is now working. However, I have some strange behavior here:

    1.  The "uart_tx_console_multibyte_fifo" example of SDK 0.57 is not working. The UART log shows nothing on output. When I debug it, it seems it does not generate any interrupt for DMA and that is why could not print. The strange thing is the MSPM0_SDK 1.0 example is working fine. To run uart example of SDK 0.57, I need to tweak some of the settings of the DMA as shown in SDK 1.0 example. I could not understand this behavior. 

    2. To run SDK 0.57 examples, I need to install CCS theia version 0.9. The CCS 12.1 do not have any support for MSP-M0 MCUs. I have installed the MSP-M0 support package 0.21 and SDK 0.57 too, but I could not import any of the example codes. When I tried to import the examples, it says "This MCU is not recognized. Try Updating CCS for newer versions.". I have followed this link to install SDK in CCS 12.1.

    3.  I am writing an application code that involves peripherals like PWM, UART, SPI, and I2C on rev 1.0 samples. Now, if I purchase the MSP-M0 G3507 (48 pins) MCU samples from TI, do I need to install newer SDK 1.0? Or I can import the Rev 1.0 application code and run it on newer MCU chips? Also, do I also need to shift to CCS 13.x from CCS theia 0.9 for production versions of MCU ?

    Regards,

    Virendra Dalal

    Einfochips

  • Hi Virendra,

    1.  The "uart_tx_console_multibyte_fifo" example of SDK 0.57 is not working. The UART log shows nothing on output. When I debug it, it seems it does not generate any interrupt for DMA and that is why could not print. The strange thing is the MSPM0_SDK 1.0 example is working fine. To run uart example of SDK 0.57, I need to tweak some of the settings of the DMA as shown in SDK 1.0 example. I could not understand this behavior. 

    I'll have to look into this one, let me try it on my end and report back. There is a known bug on the early samples that could cause you to see UART traffic stopping, but the workaround should already be applied in the SDK 0.57 example so it should function.

    2. To run SDK 0.57 examples, I need to install CCS theia version 0.9. The CCS 12.1 do not have any support for MSP-M0 MCUs. I have installed the MSP-M0 support package 0.21 and SDK 0.57 too, but I could not import any of the example codes. When I tried to import the examples, it says "This MCU is not recognized. Try Updating CCS for newer versions.". I have followed this link to install SDK in CCS 12.1.

    CCS Theia version 0.9 should work. If you want to use CCS Eclipse, ensure that you have selected the MSP432 installation component as well, this is how you install the ARM toolchain used for MSPM0+ on CC12.1 or earlier. If you go to Help -> Install Device Support, and follow the installation prompts (Select custom installation), you can select the below MSP432 component. Once you have done that you should be able to import, assuming of course the support package is installed correctly. 

    3.  I am writing an application code that involves peripherals like PWM, UART, SPI, and I2C on rev 1.0 samples. Now, if I purchase the MSP-M0 G3507 (48 pins) MCU samples from TI, do I need to install newer SDK 1.0? Or I can import the Rev 1.0 application code and run it on newer MCU chips? Also, do I also need to shift to CCS 13.x from CCS theia 0.9 for production versions of MCU ?

    The samples you get right now will still be early samples, not production samples. So you can use the same software for those as you do with the launchpad.. When you do get production samples later down the line, I would recommend upgrading to the newest SDK and newest CCS. That process should be much simpler, as you can just download the latest version of CCS and the SDK right from ti.com. 

    Best Regards,
    Brandon Fisher