Hi,
you are basically right, what my code do is to:
1.check the edge change(high -> low or low->high) of the timer flag.
2.put start signal to 1 and jump to myfunction(),
3.when it is done(and let us cross fingers it is done in time),set the start signal to 0
Well, I didn't succeed in linux interrupt, still trying to figure out how an interrupt communicate with the userspace(and if it is reading/writing to userspace, it need to use another interrupt, I don't wish the timer signal is interruptted).
For this issue,when every edge changed(blue line,which is done by FPGA), a yellow signal(userspace signals) will be 1 and when myfunction() is done it set to 0.
And then repeat the work.
But after several seconds of working progress, the issue will occur, which is an unstable disaster for my system.
So I want to know how to prevent this problem.
Thank you for your help.
Reguards.