I'm having trouble generating specific time for the STM32F103C8 (Blue Pill). Apparently, the AHB main clock is set to 72 MHz. However, regardless of whether the SysTick clock source is AHB or AHB/8, the time always turns out to be 10 times longer. Clock config
void delay(){
SysTick->LOAD = 7199999;
SysTick->CTRL = 0x05;
while((SysTick->CTRL&(1<<16)) == 0);
SysTick->CTRL = 0x00;}
This delay should be 0.1 sec. But it always works in 1 sec. Other values are also 10 times higher, regardless of whether CLKSOURCE is AHB or AHB/8. If anyone can help, I appreciate it.