USB to Can adapter
mpCAN-USB is a low cost small footprint USB to CAN adapter that allows connection to any CAN network, it can be flashed multiple firmwares to support different applications and platforms.
All applications are available in this link.
Features and Specifications:
Supports CAN2.0A/B, data rate up to1 Mbit/sec.
Jumper to activate/deactivate 120R Termination.
Jumper to enter bootloader mode.
Compatible with SocketCAN.
Supports candleLight gsusb.
Compatible with CAN Analyzer.
Flash new Firmware:
Download mpFlasher Tool. Link
Set the 1.27mm DFU jumper
Plug in the USB cable, both LEDs should start blinking
Once in DFU mode, the device will appear as "USB Serial Device"
If you have multiple USB Serial devices connected make sure to choose the right one
Click the "Three Dots" button to select the firmware file
Then Click flash button.
1- SocketCAN Firmware (VSCOM API):
SocketCAN is similar CANtact firmware below, but support some extra features like BUSMaster compatiblity and availability of APIs in different languages such as LabView, C#, VB.Net, Delphi, Python and more.
You need to download the right version of BUSMaster provided in the Link above. Here is how to setup the hardware. Remember to set both Acceptance Code and Mask to '00000000'.
Select VSCom CAN-API by clicking on 'Driver Selection -> VSCom CAN-API"
Then Click on 'Channel Configuration -> Advanced'
Click on 'Search for Devices on COM-Ports', the device should appear in the drop downlist or fill the right COM port number
Check the 'Hardware Timestamps' check box.
Choose the Baudrate.
Most importantly set both Acceptance Code and Mask to '00000000'.
Click 'OK', then Click the Connect button on the top left corner.
2- CANtact Firmware:
CANtact firmware is compatible with slcan-interface and can be used with socketcan and slcand with Linux. Under Windows it can be directly driven by the serial interface.
Drivers: On windows mpCAN-USB will appear as a comport (COMxx) in the devices manager. Under Linux and Mac as a USB CDC device, /dev/ttyUSBX for linux and /dev/cu.usbmodemXXXX on MacOS
Windows and Mac application:
CANtact App can be used to monitor and send packets on CAN bus. No drivers are needed just choose the right serial port and set the baud rate and it's all set.