Daniel Haensse wrote:
> How many interrupts do you get per second and how is the waveform of the
> interrupt signal?
Very little interrupts. 16 per wheel revolution, so it depends
on how fast I spin the wheel.
But even at a pulse per second, I sometimes get spurious interrupts.
But only for PD6 (IRQ3), not PD7 (IRQ6)
The signal on PD6 and PD7 is a simple blockwave, with sharp edges.
The sensor has hysteresis, so no fast hi/lo switches near the
> Am Son, 02 Sep 2001 schrieben Sie:
> > Hello,
> > I've written a device driver for my odometer on my robot.
> > Basically, it needs to count pulses on PD6 and PD7.
> > PD6 uses IRQ3,
> > PD7 uses IRQ6.
> > For IRQ3, I sometimes get interrupts, but when checking
> > the ISR, the corresponding bit is not set.
> > Where do these fantom interrupts come from?
> > In /proc, I can see:
> > /proc> cat interrupts
> > Internal 68EZ328 interrupts
> > 1: 29091 timer
> > 2: 603 M68328_UART
> > 18: 63 odometer1
> > 19: 25 odometer0
> > 20: 543 eth0
> > So I do not think that interrupt 18 and 19 are used for anything else.
> > IRQ6 looks cleaner: I only get proper interrupts for that one.
> > Bram
> > --
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > Bram Stolk "Your mouse has moved. Windows must be restarted for the
> > email@example.com change to take effect. Reboot now?"
> > This message resent by the firstname.lastname@example.org list server http://www.uClinux.com/
> This message resent by the email@example.com list server http://www.uClinux.com/
This message resent by the firstname.lastname@example.org list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:44 EST