Quote:
|
Originally Posted by Kevin Watson
Hi Larry,
Thanks, I've had a few exchanges with folks about this via e-mail already and will make some changes to the code and do some testing this evening. It's strange in that I haven't had any problems with a couple of other applications that I've written lately. One, a motor controller, receives many hundreds of interrupts a second from an encoder, yet I've never had a problem (actually, while doing some testing, I found that I could handle a peak interrupt rate of just over 5,000 interrupts/sec and still see no wierdness).
-Kevin
|
I admit I was being a bit agressive: I have a 1000 count wheel on a servo motor as my test. I estimated around 1200-1800 RPM which gives 80-120K interrupts a second.
Even with the fix, that interrupt rate crashes the EDU system. It seems that 10-20k/sec is about as fast as it can go. Which is good since a 2 segment wheel on the back of a Boch motor generates about 5k/sec at full speed.