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.

MSP-EXP432P401R: How to use SysTick on TI-RTOS

Part Number: MSP-EXP432P401R

Hi,

There is an NO-RTOS CCS SysTick example project, saying "systick_interrupt_gpio_blink_MSP_EXP432P401R_nortos_ccs".
But, I want to make LEDs blinking by using Systick interrupt on TI-RTOS.

Could you kindly advise me how to make SysConfig the SysTick interrupt on CCS and let me have any helpful example code.

I am using CCS v10.3 and SimpleLink MSP432P4 SDK v3.40.01.02.

Many Thanks in advance

HaeSeung

  • Sorry, I don't know how to do this in sysconfig

    For "systick_interrupt_gpio_blink_MSP_EXP432P401R_nortos_ccs", it use TI-driver to write the code. Sample as RTOS code examples. I think you can just put the example in a thread of RTOS.

  • Hi Eason,

    Thanks for your kind reply.

    The "systick_interrupt_gpio_blink_MSP_EXP432P401R_nortos_ccs" CCS project is in one of Examples in TI Resource Explorer with this URL link, https://dev.ti.com/tirex/explore/node?node=APoB0ftWn5QYSB3.6lJMqw__z-lQYNj__LATEST. Also systick_interrupt_gpio_blink.c is written with DriverLib SysTick APIs.

    Do you have any equivalent code written in TI Driver to the systick_interrupt_gpio_blink.c ?

    Thanks,

  • Sorry. I don't have it.

    I made a mistake that systick_interrupt_gpio_blink_MSP_EXP432P401R_nortos_ccs is based on driverlib not TI-driver.

    I think you can't find a example to call SysTick . If you look at this document(simplelink_msp432p4_sdk_3_40_01_02/docs/tidrivers/doxygen/html/modules.html), you find TI-driver don't support to call SysTick directly.

    You need may be a delay to generate LED blink. You don't need to use SysTick, this code example, may do some help: simplelink_msp432p4_sdk_3_40_01_02\examples\rtos\MSP_EXP432P401R\drivers\timerled