Question
SysTick on STM32G0
I am trying to use SysTick on STM32G070. Clock tree must be OK because everything else works, as far as I can tell, but when I include the following code (Keil compiler does not flag errors or warnings), in my initialization routine, interrupts stop. I don't want SysTick to generate interrupts, I just want SysTick to run at SYSCLK/8 = 64 MHz/8 = 8 MHz.
// Initialize SysTick
SysTick->LOAD = 0xFFFFFF; // After counting down to 0, next value is 0xFFFFFF
SysTick->VAL = 0;
SysTick->CTRL = 0x01; // Enabled, clocked at 8 MHz, no interrupt
