indeedisuper
- Oct 7, 2015
- 5
- Joined
- Oct 7, 2015
- Messages
- 5
Hello,
I have code inside an ISR that evaluates the pulse info of a PWM pulse from one of the digital I/O pins. I checked the time it takes for the ISR to execute which turned out to be 10us, but I need to be able to sample the PWM input at a rate of less than 1 us.
Is there anything I can do to solve this? I've skimmed down the code within the ISR as much as possible. Do I have to go look for a faster controller?
I have code inside an ISR that evaluates the pulse info of a PWM pulse from one of the digital I/O pins. I checked the time it takes for the ISR to execute which turned out to be 10us, but I need to be able to sample the PWM input at a rate of less than 1 us.
Is there anything I can do to solve this? I've skimmed down the code within the ISR as much as possible. Do I have to go look for a faster controller?