On 10/14/2010 11:26 AM, Alexander Stein wrote: > Hello, > > On Wednesday 13 October 2010, 11:02:33 Wolfgang Grandegger wrote: >>> http://old.nabble.com/Self-reception-and-more-td29760073.html >>> http://old.nabble.com/Self-reception-td29932236.html >> >> 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 >> doing the local loopback in software when the TX done interrupt is >> handled. Also some USB devices are not able to do that properly. > > Is it possible, that at91_can does also hardware loopback? If I use the > default socket options (CAN_RAW_LOOPBACK = 1, CAN_RAW_RECV_OWN_MSGS = 0), I > also receive my own frames on the same socket. setting CAN_RAW_RECV_OWN_MSGS > to 1 doesn't change anything. But if I set CAN_RAW_LOOPBACK to 0, I don't get > any frame I sent. I guess the latter is intended.
No, the at91 does software loopback. cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
