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.

Cannot create new platform using RTSC for MSP430F5324

Other Parts Discussed in Thread: MSP430F5324, SYSBIOS

Using RTSC want to create a new platform board. The primary reason for doing this is to change the clock frequency which is by default shown as 1 Mhz in the app.cfg file. I am using CCS 5.3 and xdc 3.24.05 and sys bios 6.34.02. When I chose the path as C:\ti\xdctools_3_24_05_48\packages, only 1 MSP system is shown and on opening it we see that it is an incomplete definition. I can't figure how to make a new platform for our system based on any existing platform using the same CPU but different clock frequency setting for MCLK.

May be MSP430 is configured by the CMD file but I did see ezRF platform using MSP430 and 8 Mhz clock.

I realized that there is a setting in "BIOS Basic Runtime Options" to set the Clock Frequency but the frequency on "Program runtime " - Platform Information still shows 1 Mhz.

Finally, is the developer expected to set the Clock Frequency of MCLK or leave it to BIOS?

  • Mohammed,

    You don’t need to create a new platform if you just want to specify different clock frequencies.  It will be much easier for you to use the “generic” MSP430 platform, specifying the device you are using, and then the different frequencies you’ve setup.  This generic platform is the default platform that is used when you create an example project from one of the SYS/BIOS example templates, for example, when building for the MSP430F5324: ti.platforms.msp430:MSP430F5324  

    Creating a project this way, by default, the MCLK, SMCLK, and ACLK frequencies will be configured right after exit from reset, to 8MHz, 8MHz, and 32KHz, as described here: http://processors.wiki.ti.com/index.php/SYS/BIOS_for_the_MSP430#Boot_sequence_with_SYS.2FBIOS  

    If you want to disable this default frequency setup you can add a couple of lines to the application configuration file, as described here: http://processors.wiki.ti.com/index.php/SYS/BIOS_for_the_MSP430#Turn_off_SYS.2FBIOS.E2.80.99s_frequency_boost_at_boot

    If you want to configure different frequencies from the defaults, you can program the clock system accordingly (this is typically done in main()), and then “tell” SYS/BIOS what frequencies you’ve configured, via the ti.sysbios.family.msp430.ClockFreqs module.  You can find a description of this module and how to configure it in the “cdoc” documentation for the module.  You can find this by navigating to the SYS/BIOS install directory, then the “docs” subdirectory, open the BIOS_APIs.html file, then click on the “ti.sysbios.family.msp430” package, and then the “ClockFreqs” module.

    Scott