samm_flynn
Active member
Hope everyone is doing well.
I come from a non programming background and never was formally taught any programming.
Now I am working on a project with a teensy 4.1, where I am trying to most of my work event based.
I'm running a system at 2KHz sampling rate (control bandwidth is 1 KHz) and have 10 interrupt function calls (I know each function's execution time).
In other words, how do I decide if the interrupt function calls are taking too long?
From the internet(I didn't go too deep) I found in many articles suggests to keep interrupt function execution times short.
How do i determine, what long is short/fast enough.
what should my thought process be like.
Any example /resources / opinions are welcome, I don't have anything concrete to post yet. Asking for general guidance.
I come from a non programming background and never was formally taught any programming.
Now I am working on a project with a teensy 4.1, where I am trying to most of my work event based.
I'm running a system at 2KHz sampling rate (control bandwidth is 1 KHz) and have 10 interrupt function calls (I know each function's execution time).
In other words, how do I decide if the interrupt function calls are taking too long?
From the internet(I didn't go too deep) I found in many articles suggests to keep interrupt function execution times short.
How do i determine, what long is short/fast enough.
what should my thought process be like.
Any example /resources / opinions are welcome, I don't have anything concrete to post yet. Asking for general guidance.