Skip to main content
Visitor II
August 5, 2025
Solved

H755ZI-Q SysTick Not firing for either core

  • August 5, 2025
  • 2 replies
  • 221 views

Hi,

I'm not new to STM32 frimware, however, this is my first with H755. I have uploaded a simple LED flash project to both cores. The LED timing is based on uwTick, but Systick is not firing!

Green LED via M4, Yellow LED via M7.

If I change the code M4 to:-

 /* Infinite loop */
 /* USER CODE BEGIN WHILE */
 while (1)
 {
 GPIOE->ODR ^= 0x02;
 /* USER CODE END WHILE */
 /* USER CODE BEGIN 3 */
 }
 /* USER CODE END 3 */

And code for M7 to:-

 
 /* Infinite loop */
 /* USER CODE BEGIN WHILE */
 while (1)
 {
 GPIOB->ODR ^= 0x01;
 /* USER CODE END WHILE */
 /* USER CODE BEGIN 3 */
 }
 /* USER CODE END 3 */
}
 
Stepping through the program manually, both LEDs toggle as expected.
When I run without breaks, the Green LED toggles full speed (as expected), however, the Yellow LED toggles about once per second!
I created the project from CubeIDE - just the basic project from the Nucleo-H755ZI-Q template.
Win11, Cube Version:-

Version: 1.19.0

Build: 25607_20250703_0907 (UTC)

 

STM32 FW_H7 1.12.1

 

Can anyone help?

Thanks AG

 
 
    This topic has been closed for replies.
    Best answer by Ascii_Guy

    Sorry, I was a bit rushed into posting my question. However, I solved the issue - the MX tool in CubeIDE does NOT setup the VTOR reg correctly. I have added the code in manually - it works now. 

    Thanks
    AG

    2 replies

    Graduate II
    August 5, 2025

    How does your code relate to SysTick?

    Kind regards
    Pedro

    Super User
    August 5, 2025

    Ensure you've actually uploaded the code for both cores. This requires two separate "run" procedures.

     

    Also don't see how SysTick is relevant here.

    Ascii_GuyAuthorAnswer
    Visitor II
    August 6, 2025

    Sorry, I was a bit rushed into posting my question. However, I solved the issue - the MX tool in CubeIDE does NOT setup the VTOR reg correctly. I have added the code in manually - it works now. 

    Thanks
    AG