Re: MCP251xFD runs interrupt handler twice per message.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17.01.2022 14:53:46, Markus Mirevik wrote:
> > That scope picture looks good! Can you include both runs of the IRQ
> > handler in one scope picture? I'm interested if there is activity or
> > a glich on IRQ line.
>  
> Both are included. The last (number 7) is the one extra reading of the
> register!?

Doh! Indeed, you'r right, missed that.

> > After you've that picture, you can try to catch glitches on the IRQ
> > line. If your scope allows this, setup a trigger on the INT channel
> > that triggers if the channel is low for considerably less then it
> > takes to clear the IRQ.
> > 
> > Currently it takes about 160µs to clear the IRQ, so setup a trigger
> > for less than 50µs.
>
> No glitches. The scope can trigger on glitch but no one is to be
> found.

Good.

It looks like this is not a problem of the mcp251xfd driver. I think now
it's time to ask an am335x expert. Maybe one of my coworker knows this
issue.

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux