USBCAN analyzer does not work

Hi there,

I purchased CAN BUS Analyzer (part number 114991193) from Digikey. The sticker on the product shows the product name is "USB-CAN Analyzer (V8.00).I came to SEEED website and downloaded the driver, the program, the documents, and instructions.

I installed the driver for USBCAN (CHS40), and run the program USB-CAN(V8.00).exe. I read the 2nd document “2.USB-CAN converter self-test.pdf” and try to perform the self-sending and self-receiving.

I can see the COM port, change baud rate, open the COM port. I selected "Loop back + silent "mode, clicked “Set and Start” button, and clicked “Send a single frame button”. However, I could not see the Send LED blinks, nor Rev. LED blinks, indicating that the data actually didn’t send out, no data received either. On the screen, the program shows only Send data, but no Receive data.

I tried restart my windows 10 computer, restart the program, and send again and again, but they are all the same. No LED blinking, no data received, nothing happed.

Please let me know if this means the product is damaged. If so, I can ask a return to Digikey.

Or, if my steps are wrong, please correct me.

Thanks a lot!

Kevin

Hi there, And Welcome.
May I ask What Baud rate you set?
Do you have picture of the setup wiring?
GL :slight_smile: PJ

Hi,
I use 115200bps for the COM, and 250Kbps for the CAN. The screenshot is attached.

I didn’t make wires. I just tried self-sending and self receiving.

The Send LED does not turn on when I press “send a single frame” button.
Then the Rev. LED does not blink either.

Does it Flash when you connect the USB cable?
How many times. or when you Boot computer?
You have the jumper installed?
GL :slight_smile: PJ

Both LED flashed when I plug the USB cable, every time.
Yes, I have the jumper connected.

You have to set the Baud Rate ,The default is 2000000 ? if I recall, then select 115200 and hit select if I remember.
Then do the self test it will work , you almost there.
HTH
GL :slight_smile: PJ

let me re-plug the USB, and re-start the program and try it again.

Oh yeah, it works. Is it works at only 2000000 baud rate?

And, the Windows Device Manager says the baud rate of COM port is still 115200bps. Should it be set to 2000000bps by the program ?

Hi there,
SWEET!
Yea you see the Change Bps button , you can set it to what ever and windows will go there.
HTH
GL :slight_smile: PJ :v:

Please be sure to mark as Solution so others can find the secret handshake :smile: :fist_right: :fist_left: :handshake:

OK. 115200bps works as well. So I think it may be a software bug. So we have to click the pull-down window and do the real selection on baud rate, then click “Open” button, the baud rate will be settled. The program will not select a baud rate automatically even a baud rate number is shown in the window.
May be this is the reason.

But it works now! Thank you very much!

No actually it’s setting it CORRECTLY the first time as I showed You.
GL :slight_smile: PJ :v:

Yes, I agree with you. I think it is my mistake for overlooking the power-on LED flashing count. The LEDs flash only once when it powers-on at first time, so the serial baud rate is 2000000bps by default. I should set the baud rate to 2Mbps accordingly.

When I changed it to 15200bps, the LED flash 3 times when it is power-up. Now I am working with this baud rate. As I use this USB-CAN converter more times and read the 1st document, I realized the LED things. And every time I change the settings, the red LED will flash once, I believe this is the sign of successful setting change.

The converter and the software actually works well. I also use it for normal communication.

Thanks PJ.
Kevin

1 Like

Hello, the solution posted above does not work for me.
I purchased 2 units of same CAN Bus analyzer from Digikey, hoping to have them talking to each other.
I can set one according to the self-test pdf document, and using the instructions shown here, but I cannot see the receive in the loop-back configuration.

You seem to be quite prominent in this forum. I hope you can excuse me jumping on this thread as a way of posting, I feel you will find my query has reasonable technical merit !

I’ve purchase a number of USB to CAN Analyser Adaptors - 114991193 from CPC farnell

I believe there is a bug in “some” of these USB CAN adaptors when receiving data. I have 5 devices and when running under Linux I note, amongst the 5, there are two different firmware versions, 0264 and 8134, this is the bcdDevice parameter reported by the USB system.

My test is a simple receive data only scenario consisting of a sequence of 10 standard frame CAN messages sent as a burst once per second. The message sequence is one 8 byte message followed by nine 7 byte messages.

The messages are sent from a single CAN source at 1M Baud. I haven’t checked but would expect that the burst sequence of 10 messages will be back to back on the CAN bus.

I am operating the USB interface virtual COM port at 2M baud.

Running my own test software program the 0264 devices will intermittently experience a data loss fault approximately once every minute, the 8134 devices work perfectly for hours.

To get an independent reference I performed the same tests connected to a Windows PC running the program provided on the SeeedDocument USB-CAN-Analyzer github

USB-CAN(V8.00).exe. It shows the same problem ie randomly but approximately after a minute the sequence received will be missing a message ie 9 not 10 messages.

In my own software I’ve taken the opportunity to further investigate and found that the CAN message “lost” as a result of the fault is actually reported with one byte missing, hence the counts and framing get broken.

I wondering in the first instance does anyone know if there is an option to upgrade the firmware on the devices eg version 2.64 to 81.34

Any help or thoughts are much appreciated