Hi,
My project has come to what I think is a time critical phase.
PIC 18F4431.
There is an INTERRUPT for a signal coming from a GPS at 5/SEC.
There is another 20mS INTERRUPT for outputing from a shift register for 5x Channel PWM mtor control.
Here is a link to quite a long thread where GUARDS were added in case of lost signals: https://forum.allaboutcircuits.com/...location-pic-in-oshonsoft.148795/post-1538180
This also has timer INTERRUPTS.
I also have SEROUTS for monitoring what's going on, and have been told that this is a problem. I'm trying to figure out a solution for this.
As usual, I'm out of my depth, while juggling
What's the best way to manage all this please?
EDIT: Since I posted this, I can see that it isn't quite correct, as there are 4x programs, with different INTERRUPTS, so generally the question is ok.
C
My project has come to what I think is a time critical phase.
PIC 18F4431.
There is an INTERRUPT for a signal coming from a GPS at 5/SEC.
There is another 20mS INTERRUPT for outputing from a shift register for 5x Channel PWM mtor control.
Here is a link to quite a long thread where GUARDS were added in case of lost signals: https://forum.allaboutcircuits.com/...location-pic-in-oshonsoft.148795/post-1538180
This also has timer INTERRUPTS.
I also have SEROUTS for monitoring what's going on, and have been told that this is a problem. I'm trying to figure out a solution for this.
As usual, I'm out of my depth, while juggling
What's the best way to manage all this please?
EDIT: Since I posted this, I can see that it isn't quite correct, as there are 4x programs, with different INTERRUPTS, so generally the question is ok.
C
Last edited: