On Sat, Jul 24, 2010 at 8:14 AM, Alexander Holler <[email protected]> wrote:
> Am 24.07.2010 17:01, schrieb Alexander Holler:
>
>> That doesn't help. The irq isn't trigger by MERR but the loop in the IRQ
>> will not be left if that bit is set. Clearing the bit doesn't help,
>> either clearing it doesn't work, or the bit will get set again almost
>> right after it was cleared.
>
> The datasheet says
>
> "Once an interrupt flag is set by the device, the flag can not be reset by
> the MCU until the interrupt condition is removed."
>
> So it's likely that this bit can' be cleared until the error has gone away
> (even if it isn't used as trigger).
>
> Regards,
>
> Alexander
> _______________________________________________
> Socketcan-core mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/socketcan-core
>

Alexander,

I suggest using one of the at91 dedicated IRQ pins. I've been using
the mcp2515 with the at91sam9g20 for awhile, and it's been working
great. I also spent some time trying to use a GPIO interrupt.

thanks,
Paul
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to