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.

RTOS/MSP432P4111: TI-RTOS SysTick Configuration

Part Number: MSP432P4111

Tool/software: TI-RTOS

Here's my current configuration:

  • MSP432P4111 custom board
  • SimpleLink MSP432P4SDK 2.10.0.14
  • CCS V7.3.0
  • XDCTools 3.50.5.12
  • Compiler TI v17.9.0.STS

How do I configure the SysBios SysTick Interval for the MSP432, and which clock sources it?

I would ideally like to use the 128 KHz REF0 Clock mode to generate more accurate 1ms ticks (rather than using the 32768 mode). 

However I'm unsure of how to do that in XCONF or the .cfg script.  

My processor is running off of the 48MHz rate DCO.

I have set up the the REF0 for 128 KHz, and specified ACLK to be source by the 128KHZ REF0.  However, my clock tick  (SysTick) frequency appears to be based off of an assume ACLK of 32Khz rate. 

I verified this by toggling a GPIO and doing a Task_sleep( 500 ) // 500 ticks.  (I know this won't be 100 % accurate, but it should get me in the ballpark +/- 1 tick). 

Instead of 500 ms, I get around a 125 Ms  pulse width or roughly 1/4 the time, which is 32K / 128K = 1/4.

How do I tell SysBios the Tick is based off of the 128KHz rate instead of 32Khz?  

**Attention** This is a public forum