MSPNP MSPNP specific Megasquirt related discussion.

CAN Bus Termination: AEM to MS3

Thread Tools
 
Search this Thread
 
Old 11-01-2021, 10:25 PM
  #21  
Elite Member
iTrader: (3)
 
deezums's Avatar
 
Join Date: May 2014
Location: Kansas
Posts: 3,146
Total Cats: 201
Default

You mean the docs posted above? The ones that say it's not terminated and supposed to be connected to a properly terminated bus? After I roughly explained that it probably doesn't matter in some circumstances?

Yeah, it probably has a resistor built in...

deezums is offline  
Old 11-02-2021, 01:22 PM
  #22  
Junior Member
 
Jesse99James's Avatar
 
Join Date: Jun 2010
Location: Minneapolis, MN
Posts: 247
Total Cats: 37
Default

Direct from the X-series manual...

The X-Series controller does not have any internal termination and is intended to be connected to a pre-existing, properly terminated network.

After I posted I looked further into that terminated resistor and it says minimum of 4W, between 110-130 Ohm. I'll dig through my spare parts and maybe stop at the local Axe Man surplus store with my multimeter if I don't find what I need in my small box. Thanks Deezum for clarifying that it doesn't matter if the controller sits outside the resistor, that was my main question.
Jesse99James is offline  
Old 11-02-2021, 02:00 PM
  #23  
Junior Member
Thread Starter
iTrader: (4)
 
irodd's Avatar
 
Join Date: Apr 2014
Location: Toronto, Canada
Posts: 173
Total Cats: 16
Default

Originally Posted by Jesse99James
After I posted I looked further into that terminated resistor and it says minimum of 4W, between 110-130 Ohm.
4W is overkill
1/4W

irodd is offline  
Old 11-02-2021, 04:07 PM
  #24  
Junior Member
iTrader: (1)
 
MetalMuffins's Avatar
 
Join Date: Feb 2016
Location: Halifax, NS
Posts: 251
Total Cats: 34
Default

0That's interesting Deezums, I recall seeing there was no resistor in the gauge, which makes sense if you were setting up a CAN network and not just a single CAN gauge, however I would lean towards the MS3 having one built in, though that's pure conjecture on my part. One last data point I'll add is I didn't trim down the harness at all on my gauge, so the RAN run in my car is a pair of ~6-8' wires. From what you're saying, I would expect there to be issues if there weren't a resistor on the CAN at some point, which leads me to my assumption that there is one in the ECU.
MetalMuffins is offline  
Old 11-02-2021, 04:16 PM
  #25  
Elite Member
iTrader: (3)
 
deezums's Avatar
 
Join Date: May 2014
Location: Kansas
Posts: 3,146
Total Cats: 201
Default

Curious, did you either not read all of what I posted or did you just not comprehend? Because literally everything you ask or infer has already been stated.

MS3 has it built in, it's R8 on a MS3x board. That's not enough, as I showed in pictures a few posts above. Does it matter? I also covered that above.
deezums is offline  
Old 11-03-2021, 10:51 AM
  #26  
Junior Member
iTrader: (1)
 
MetalMuffins's Avatar
 
Join Date: Feb 2016
Location: Halifax, NS
Posts: 251
Total Cats: 34
Default

Just didn't comprehend. I'll shut up now and lurk some more. As you said, it works for me, so I'll leave it alone. Keeping all the above in mind though if ever I encounter issues.
MetalMuffins is offline  
Old 11-04-2021, 11:25 PM
  #27  
Newb
 
jetskibruce's Avatar
 
Join Date: May 2011
Location: TampaBay FL
Posts: 38
Total Cats: 2
Default

Yep, you’re correct @deezums , no resistor in the AEM gauge, it took me a while to find the terminator plug they sell. Then they have cables etc. It is easier and I imagine just as effective to add a second 120 ohm resistor to meet the spec for high speed can. Interesting enough is that there is a lower speed can spec using only one resistor. Can bus units can be multi dropped and then compete for the bus, which probably increases the importance for the second resistor to pull the signal back to zero quickly. We are getting away with using only the ms3 resistor probably because of using slave mode and only point to point, not multi drop. I’m going to see about adding a resistor the next time I plan to pull the ecu out and certainly if another can sensor is added. I think I just gave it a shot originally and was happy with the unit reporting no can errors.
jetskibruce is offline  
Old 11-05-2021, 01:30 PM
  #28  
afm
Senior Member
iTrader: (3)
 
afm's Avatar
 
Join Date: Nov 2015
Location: Berkeley, CA
Posts: 981
Total Cats: 508
Default

Originally Posted by jetskibruce
Yep, you’re correct @deezums , no resistor in the AEM gauge, it took me a while to find the terminator plug they sell. Then they have cables etc. It is easier and I imagine just as effective to add a second 120 ohm resistor to meet the spec for high speed can. Interesting enough is that there is a lower speed can spec using only one resistor. Can bus units can be multi dropped and then compete for the bus, which probably increases the importance for the second resistor to pull the signal back to zero quickly. We are getting away with using only the ms3 resistor probably because of using slave mode and only point to point, not multi drop. I’m going to see about adding a resistor the next time I plan to pull the ecu out and certainly if another can sensor is added. I think I just gave it a shot originally and was happy with the unit reporting no can errors.
Low-speed CAN actually involves even MORE termination resistors: it requires each device to be internally terminated with two resistors, and that's very much irrelevant to everything here since the AEM gauge runs at 500kb/s.

It's true that the CAN resistors also help the open-collector transceiver outputs return to zero, and it's also true that going from 0->1 resistor is a much bigger improvement than going from 1->2 for draining the bus capacitance. However, whether or not the transceivers are competing (rather than one sending and the others listening silently) for the bus is basically irrelevant to how well a single resistor works to drain the bus.

For the other purpose of absorbing reflected signals discussed ad nauseam in this thread: all else being equal, it's better to have the parallel terminating resistor closer to the receiver.

As @deezums has posted approximately 400,000 times in this thread: nobody can tell you whether your CAN bus will work with one resistor. If it does work, it's because the cables are short (500kb/s allows a max length of 100 meters vs. however long your cable is), meaning capacitance is lower and reflections are closer in time and finish before the signal is sampled. It's kind of like "getting away with not using fuses."
afm is offline  
Old 11-05-2021, 04:12 PM
  #29  
Newb
 
jetskibruce's Avatar
 
Join Date: May 2011
Location: TampaBay FL
Posts: 38
Total Cats: 2
Default

@afm Thank you for adding to the conversation. I've not had a need until now to dig into CAN and this is quite informative. I've just pulled up a great bit of information in a TI blog and I think it agrees with all you've posted along with some additional info on split termination which might be even better. the-importance-of-termination-networks-in-can-transceivers The other factor he mentions that the resistors need to be able to handle a potential power fault on the bus, such as supply voltage shorting to CANH. That might require a higher wattage resistor. The cable supplied with my AEM gauge is about a meter long and from what I am reading, the best place to put the second terminator would be to cut into the cable and place it close to the connector which plugs into the gauge. Otherwise I will end up with terminator in the MS3, one about 12 inches outside of it, and a run of 1 meter up to the second transceiver. Since I will more that likely keep the AEM gauge in possible future configurations cutting it's cable up would still be ok, I would keep it as the other 'end' of the BUS. @irodd what did you end up doing?
jetskibruce is offline  
Old 11-05-2021, 04:54 PM
  #30  
Junior Member
Thread Starter
iTrader: (4)
 
irodd's Avatar
 
Join Date: Apr 2014
Location: Toronto, Canada
Posts: 173
Total Cats: 16
Default

Originally Posted by jetskibruce
@irodd what did you end up doing?
I have the termination resistor installed on AEM controller side since 2018.
It took 5 cents and 5 minutes.

irodd is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Morello
MEGAsquirt
2
12-28-2020 04:24 AM
Savington
Miata parts for sale/trade
2
11-02-2016 01:28 AM
JD8
DIY Turbo Discussion
5
06-08-2016 10:49 PM
Halcyon
MEGAsquirt
16
04-22-2012 03:36 PM
ThePass
MEGAsquirt
10
05-16-2008 07:05 PM



Quick Reply: CAN Bus Termination: AEM to MS3



All times are GMT -4. The time now is 10:01 AM.