Showing results for 
Search instead for 
Did you mean: 

Tickless example modification not working

Associate III

I am trying to use the tickless functionality on my Nucleo-U575ZI-Q board. I am using tx_low_power example available in cube ide.

I tried to modify the example. I created one thread which toggles the led and then I called tx_thread_sleep(100) and the HAL_DELAY(100).

As per my understanding, cpu should go to sleep mode when tx_thread_sleep is called and should exit the sleep mode when HAL_DELAY is called.

But it is simply not working. Is there any working sample example of tickless idle with two threadx which I can run without any modication and it should use tx_thread_sleep function.

best regards

Nilesh Vora

ST Employee

Hello @nilesh-dryad​ ,

I will try to help you through this issue 😉 .

First can you help me to understand your problem by providing me more information:

  • What's example of STM32CubeIDE are you using ? (Package + directory path)
  • Are you trying to wake from a Sleep Mode with the HAL_Delay() function ?

Best Regards,


Associate III

Hello @Aime​ 

Thank you for you reply.

I am using STM32CubeIDE 1.9.0. and I am using STM32Cube MCU Package for STM32U5 Series version 1.1.0. I am using tx_low_power example from Example Selector for my Nucleo-U575ZI-Q board.

I am using tx_thread_sleep function to go into sleep mode and HAL_DELAY function to wake up from Sleep mode.

Let me know if you need more detail, I would be happy to provide.

Best Regards

Nileshkumar Vora