alexan_e
Administrator
Is the SystemCoreClock define correctly when you call
You can try to use
There is also no need to use -1, just SystemCoreClock/1000
How much delay do you get instead of 300ms?
Code:
SysTick_Config(SystemCoreClock/1000 - 1); /* Generate interrupt each 1 ms */
You can try to use
Code:
/* Update SystemCoreClock according to register settings */
SystemCoreClockUpdate();
There is also no need to use -1, just SystemCoreClock/1000
How much delay do you get instead of 300ms?