NorthGuy
Well-Known Member
Don't be fooled (like I was) by mikroElectronica CAN products, which only provide two CAN line connections. Common ground really is needed to prevent transceiver burn-out.
Or use isolators - ISO1050 works beatifully.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Don't be fooled (like I was) by mikroElectronica CAN products, which only provide two CAN line connections. Common ground really is needed to prevent transceiver burn-out.
I also recommend to buy a microchip CAN bus analyzer tool for sniffing CAN packets.
That would be good, and maybe some stuff on the compiler process etc. How to make Libs and what headers are and how to use them, there is alot of C tutorials but most focus on the actual language rather than the other bits.I could write more "tutorials" in the Code Repository. Is there something that would interest you.. maybe how to divide C projects in multiple files, or something else (for beginners)?
RightO!.... I'll try and do a few as wellThat would be good, and maybe some stuff on the compiler process etc. How to make Libs and what headers are and how to use them, there is alot of C tutorials but most focus on the actual language rather than the other bits.
LG said:Another good example is the one you did on large variables and altering the linker script
Thank you very much for the tip! actually I ran it with only the differential line, no ground.Burnt about 3 controllers and thought that there was some issue with the differential cables and cursed the digikey for providing with those cables. I hate mikro-electronica thingies for they are like arduino s, makes people lazy.I had the same problem. tom_usenet from the Microchip forum found the answer...
https://www.microchip.com/forums/tm.aspx?m=640252&high=
A common (possibly ground) connection between all transceivers is vital. Connect 0 Volts between all CAN transceivers as well as the two CAN bus lines. i.e. you need a minimum of three wires.
You might get away with only two CAN wires if you can guarantee that all transceivers share a common ground at all times (and are never unplugged from ground), but it is simpler and more reliable to use a third wire.
Don't be fooled (like I was) by mikroElectronica CAN products, which only provide two CAN line connections. Common ground really is needed to prevent transceiver burn-out.
Have had no further transceiver burn-out since learning this valuable lesson.