On 10/13/2010 11:54 AM, [email protected] wrote:
> Hi Wolfgang,
> 
>>> What is actually the advantage of using hardware loopback? One can
>>> always quit using it and use Tx interrupt for self reception ...
>>
>> Hey, we care about overhead ;-). CAN can cause high interrupt loads,
>> especially at 1 MB/s.
> 
> True, overhead sucks 8)
> 
> However, if using HW loopback, you are not getting less CAN interrupts, 
> are you? Maybe Rx interrupt instead Tx, but the number of interrupts 
> shall be the same ...

Right, and therefore less overhead than I expected at a first thought.
And as Marc pointed out, especially the timing is better than with
software loopback. But for the sake of portability, it makes sense to
use software loopback for the flexcan as well. As it just uses one TX
buffer, it should be easy to implement.

Wolfgang.

_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to