On 10/13/2010 11:12 AM, Marc Kleine-Budde wrote:
> Moin Wolfgang,
> 
> On 10/13/2010 11:02 AM, Wolfgang Grandegger wrote:
>>>> is there a way to detect whether the CAN frame actually was sent on the 
>>>> bus? I 
> 
> [...]
> 
>> I'm following the discussion and realized that it will not work for
>> devices doing the local loopback in hardware, like the flexcan
>> controller. Strictly speaking it will only work properly for drivers
> 
> I realized that (yesterday while taking a shower), too. But that can be
> fixed. The TX-path of the flexcan only uses one buffer, that can be
> improved, too.

Yes, software loopback could be added optionally for that purpose.

>> doing the local loopback in software when the TX done interrupt is
>> handled. Also some USB devices are not able to do that properly.
> 
> Doesn't this devices have a TX complete interrupt?

Yes, TX done is not reported, e.g. by the EMS USB devices, IIRC.

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

Reply via email to