Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
can [2018/12/28 22:27]
paul
can [2019/03/31 14:49] (current)
Line 1: Line 1:
- ====== Controller Area Network ======+====== Controller Area Network ======
  
 ===== Overview ===== ===== Overview =====
Line 29: Line 29:
   * **Error Frame** - any node may signal an error condition at any time during a data or remote frame transmission   * **Error Frame** - any node may signal an error condition at any time during a data or remote frame transmission
  
-{{ :can-bus-frame_in_base_format_without_stuffbits.svg |}}+{{ ::can-bus-frame_in_base_format_without_stuffbits.png?direct&600 |}}
  
 The distance between frames is a minimum of 3 bit times. The distance between frames is a minimum of 3 bit times.
Line 52: Line 52:
  
 CAN implements a robust and elegant error checking system that allows for: CAN implements a robust and elegant error checking system that allows for:
-  * Retransmission of frames that did not pass [[CRC]] check by a receiving node+  * Retransmission of frames that did not pass a 15 bit [[CRC]] check by a receiving node
   * Detection of bus fault by a transmitting node by monitoring the bus after every bit cycle and ensuring the bus level is equal to intended transmission bit   * Detection of bus fault by a transmitting node by monitoring the bus after every bit cycle and ensuring the bus level is equal to intended transmission bit
   * Allows a node to determine whether or not it was the first error reporting node, which allows the determination and removal of a defective node.   * Allows a node to determine whether or not it was the first error reporting node, which allows the determination and removal of a defective node.
Line 67: Line 67:
  
  
 +==== Wire Length ====
 +
 +The wire lengths are as follows: 
 +
 +{{ ::rtaimage.jpg?direct&400 |}}
 +
 +==== Implementation ====
 +
 +Here is a chip implementation:(([[https://www.analog.com/media/en/technical-documentation/application-notes/AN-1123.pdf |Analog Devices Controller Area Network (CAN) Implementation Guide]])) 
 +
 +{{ :can_stuff.png?direct&400 |}}
 +
 +==== Notes ====
 +
 +ECAN is the "Enhanced Controller Area Network" module from Microchip. It's what they call they module that is compatible with everything up to CAN2.0B (which is the latest CAN standard up that includes the 29 bit extended identifier). (([[http://ww1.microchip.com/downloads/en/devicedoc/70226c.pdf|Microchip's ECAN module]]))
  
  
  
  • can.1546036042.txt.gz
  • Last modified: 2018/12/28 22:27
  • by paul