PCAN miniPCIe vs Lawicel CANUSB
Posted: Fri 20. May 2016, 15:45
I am using CANopen with Lawicel CANUSB with socketCAN/slcand on Yocto. I occasionally see an unexpected SDO abort. PCAN-View shows I am aborting an SDO initiate download that never made it to the bus, so of course there was no response and I timed out waiting for the response. This occurs when I am transmitting a PDO at nearly the same time. The Lawicel CANUSB documentation mentions a limited USB hardware FIFO and "it can only handle one or two command at a time, meaning before sending the next command to it, you must wait for an answer from the CANUSB unit (OK which is [CR] or Error which is [BELL])". I wonder if the TPDO is overwriting the SDO initiate download in the limited hardware FIFO. I doubt that Linux handling of PF_CAN is aware of the limited USB hardware FIFO.
Would PCAN-miniPCIe avoid this limitation? Has anyone else encountered this limitation with slcand and the Lawicel CANUSB?
Would PCAN-miniPCIe avoid this limitation? Has anyone else encountered this limitation with slcand and the Lawicel CANUSB?