cancel
Showing results for 
Search instead for 
Did you mean: 

Why no systick interrupt happen??

sheng yang
Associate III
Posted on March 23, 2018 at 13:11

I ported u-boot 2018.03 to my own board based on stm32f767igt,i set some register with systick timer as below:

0690X0000060ABiQAM.png

as the above picture, the systick timer count is changed,but i couldn't get in systick handler?besides register on 0xe000e010,is there some other registers will influence systick timers performance??I get confused ...

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on March 23, 2018 at 13:59

Vector Table Address

Entry in Vector Table

Other interrupts with higher priority blocking

System Handler settings in SCB

Interrupts Disabled

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

4 REPLIES 4
Posted on March 23, 2018 at 13:59

Vector Table Address

Entry in Vector Table

Other interrupts with higher priority blocking

System Handler settings in SCB

Interrupts Disabled

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 23, 2018 at 14:56

I solved this problem,as your advice .I check my scb relate register status :

0690X0000060AB0QAM.png

i find systick is always pending , then i thought my systick handler function waste too long time ,so i remove much codes in the handler.then i found it's still pending,after i check shcrs register, i notice i set bit 11 before.after i remove thie code,the handler is ok.no pending as below

0690X0000060ADxQAM.png
Posted on March 28, 2018 at 12:22

'

after i remove thie code...'

lesson learned here: it is stupid not to post the code when looking for help in debugging the said code.

Posted on March 28, 2018 at 12:57

en,it's my mistake.i forget to add this line code ,the line code i delete just like below

*(volatile unsigned int *)0xE000ED24 |= (1 << 11);this code is around systick init code,just before systick init code.it's meaning systick is actived before systick is enable.So after i delete this line code,systick function is ok.thanks for your advice。