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: Is there a requirement that Hwi_getStackInfo() is run in a SWI? Can it run in a task?

Part Number: MSP432P4111

Hi all,

In the SYS/BIOS API documentation for Hwi_getStackInfo() there is an example where this function is run in a SWI.

Is this necessary?  Can Hwi_getStackInfo() be run in a task (idle task) ? 

Is the operation of Hwi_getStackInfo() negatively impacted by context switches?

Cheers

Julian

  • Hi, 

    I think you can call the HWI_getstackinfo at any time when you need check the stack overflow or not. I'm not sure what you mean for the 2nd question. Do you want to check if the context switches will impact the overflow status of stack or not? I don't think it will impacted by context switches.