Sebastian Smolorz wrote:
> If an RX interrupt appears it it necessary to read out up to 14 SJA1000 regs
> and write one register before a CAN message can be distributed to the
> sockets. Do you really suggest that the reading of the SJA1000 registers
> should be interruptible? One step towards chaos, I would say.
Maybe it would make sense to handle the message reception in a thread (a
kind of bottom half), and to only disable the CAN irq when doing the
reception work. This way, the system would still be able to handle other
events while the can reception takes place.
--
Gilles Chanteperdrix
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help