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.

MSP432P4111: Disable System Tick

Part Number: MSP432P4111

Hi team,

We are using the MSP432P4111 in our design and noticed that the RTOS by default enables the system tick. We are using XGCONF to configure our .cfg file and are wondering if we uncheck the "Add the Clock support module..." box below, will that disable the system tick? If not, is there another way to disable the system tick using this tool?

Regards,

Akash Patel

  • " will that disable the system tick?"

    let me give you a literal but likely wrong answer: check the ARM document on SysTick. Particularly the systick control and status register for your core. it has a systick enable bit there.

    the question you didn't but should have asked if whether you should / can disable systick within the context of your application. for that, you  need to read the documentation for your application / software environment.

  • As an add-on question to whether you should/can disable systick- Why do you feel this is needed? I think this will help steer the answers..
    -Bob L.
  • Hi Bob,

    We are interested in disabling the System Tick as we only need to wake up the MCU when an interrupt occurs. All of our tasks are spent in a blocking state until an interrupt occurs to wake them up to perform whatever needs to be done.

    Regards,
    Akash
  • Akash,

     I would refer to the following docs:

    1. TI-RTOS SimpleLink Timers
    2. TI-RTOS Kernel User's Guide (Section 5.1,5.2)

    In section 5.2 of reference (2), you can see that APIs are provided (Clock_tickStop() and Clock_tickStart()). You can also set the tickSource to Clock.TickSource_USER and manage the clock tick yourself. For what you want to do (temporarily disabling the system tick, you could use Clock_tickStop(), go to sleep, and use another timer (i.e. the RTC, to wake up after a specified interval). Section 5.2 gives some examples of how to manage clocks in this way.

    Hope that helps.

    -Bob L.

**Attention** This is a public forum