Re: [uCsimm] bogus interrupts on IRQ3?

From: Bram Stolk (b.stolk@chello.nl)
Date: Mon Sep 03 2001 - 09:30:36 EDT


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
transition area.

>
> Dani
>
> 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
> > bram.s@chello.nl change to take effect. Reboot now?"
> >
> >
> > This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/
> This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:44 EST