alexan_e
Administrator
- Joined
- Mar 16, 2008
- Messages
- 11,888
- Helped
- 2,021
- Reputation
- 4,158
- Reaction score
- 2,031
- Trophy points
- 1,393
- Location
- Greece
- Activity points
- 64,371
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?