Page 1 of 1

Data receiving is getting stopped

Posted: Thu 12. May 2022, 11:04
by Abhishek
Hi,
I'm using PCAN-USB between PC and microcontroller for continuously collecting data from microcontroller to PC. Data transfer is happening successfully but when 20 minutes are elapsed the PCAN stops receiving the data (the data from the microcontroller is still being sent on the bus).

what could be the possible reason of abrupt malfunctioning at 20 minutes?

Re: Data receiving is getting stopped

Posted: Thu 12. May 2022, 12:00
by M.Maidhof
Hi,

please provide details about used OS, driver version and software which displays the data.

regards

Michael

Re: Data receiving is getting stopped

Posted: Mon 16. May 2022, 12:17
by Abhishek
Hi

here are the required details.
1. OS is windows.
2. driver version is PCAN-Basic V4.6.0.600.
3. Software which display data is PCAN-View.

Re: Data receiving is getting stopped

Posted: Mon 16. May 2022, 17:37
by M.Maidhof
Hi,

please check your CAN wiring for correct termination on both ends. Please enable the "log error frames" in the trace option, and log the data in a ring buffer, to see what is happening after 20 minutes. Please also provide details about driver version, PCANBasic is only the API, not the driver.

regards

Michael

Re: Data receiving is getting stopped

Posted: Tue 17. May 2022, 06:02
by Abhishek
Hi,

the driver used is PCAN_USB 4.3.0.16563.


Capture.PNG
Capture.PNG (186.32 KiB) Viewed 3660 times

Re: Data receiving is getting stopped

Posted: Tue 17. May 2022, 12:03
by PEAK-Support
Driver is up to date - but please answer the other questions.

- Check Termination (MUST be ~60 Ohm between CAN-H and CAN-L when System is powered off)
- Run the Tracer with all Error Flags settings set as Michael told you