CAN Bus freezes when PC cable connected

Information on getting your PC to talk to your MoTeC product via RS232, CAN, USB or Ethernet.

CAN Bus freezes when PC cable connected

Postby cmcraeslo on Tue Jan 27, 2015 6:10 pm

Hello,

this is my first post to this forum. I'm not really sure if this is correct category, so I will post it here and would kindly ask the moderator to move this message in appropriate category if this one is not ok.

I have a custom made ECU that reads the data from MoTeC M800 via CAN BUS. Everything works ok, until I connect the laptop to the M800. Then, suddenly, CAN "freezes" and can no longer read the channels. As soon as disconnect the cable, everything works as it should. PC to M800 connection works ok.

Is there any way around this? Hopefully there's some setting available in the M800 that I can check .. ;)

Thank you,

Marko
cmcraeslo
 
Posts: 2
Joined: Sun Jan 25, 2015 8:51 am

Re: CAN Bus freezes when PC cable connected

Postby mstech on Wed Jan 28, 2015 8:14 am

This sounds like a CANBus baud rate issue, check that they are all running at the same speeds, including ECU Manager. There may also be a CAN addressing issue, but I believe that it is most likely to be a baud rate issue.
mstech
 
Posts: 52
Joined: Mon Nov 05, 2012 11:47 am

Re: CAN Bus freezes when PC cable connected

Postby cmcraeslo on Wed Jan 28, 2015 8:47 am

hello. thanks for replying.

Im not sure i understand correctly.. how can this be a rate issue if i'm reading can at 1 mhz all the time. does the m800 switch to 500k when connected to the pc? also.. i tried reading with can sniffer and communication stops suddenly. im not 100% sure but i think i tried many different rates with the sniffer and i believe there was only some "pinging" once per second on 500k, something like connection attempts.. without any ecu channels.

m
cmcraeslo
 
Posts: 2
Joined: Sun Jan 25, 2015 8:51 am

Re: CAN Bus freezes when PC cable connected

Postby Mazi on Thu Jun 09, 2016 1:56 am

CAN_H and CAN_L swapped?
User avatar
Mazi
 
Posts: 145
Joined: Thu Jul 24, 2008 7:45 pm

Re: CAN Bus freezes when PC cable connected

Postby AlanB on Thu Jun 09, 2016 7:16 pm

Hello Marko

This is likely to be related to the CAN bus wiring. You can find details on how to wire the bus correctly via the help in ECU Manager.

Go to the 'Help' menu
Expand 'Wiring'
Click on 'CAN Wiring - Multiple Device'

The key points are presence of terminating resistors, wire twisting and spur length. Also, check that the CAN Hi and CAN Lo wires are the correct way around in the UTC connector (as previously mentioned).
Alan Bell
MoTeC Europe Ltd
User avatar
AlanB
 
Posts: 95
Joined: Tue May 20, 2008 10:25 pm

Re: CAN Bus freezes when PC cable connected

Postby David Ferguson on Fri Jun 10, 2016 12:05 am

You would hope they figured this out sometime in the last 18 months. This thread is from Jan 2015
David Ferguson
Veracity Racing Data
Check out Shift RPM - https://shiftrpm.veracitydata.com
David Ferguson
Pro User
 
Posts: 880
Joined: Fri Nov 07, 2008 1:45 am
Location: Paso Robles, California


Return to MoTeC PC Comms

Who is online

Users browsing this forum: No registered users and 1 guest