MotoHawk:CAN Overview

From MotoHawk
Revision as of 13:45, 17 September 2012 by Wendy.Bolakowski (talk | contribs) (Created page with "=CAN Overview= CAN= '''C'''ontroller '''A'''rea '''N'''etwork. MotoHawk doesn't define a protocol, but provides a set of blocks to access the CAN hardware of the module to i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

CAN Overview

CAN= Controller Area Network.

MotoHawk doesn't define a protocol, but provides a set of blocks to access the CAN hardware of the module to implement a protocol.

MotoHawk CAN blocks support CAN 2.0B messages, with both standard (11 bit) and extended (29 bit) IDs.

Block Overview

First the Bus must be Initialized for Use. The CAN DEFINITION BLOCK is used to initialize the CAN hardware, set the baud rate, and configure the transmit queue size. Key parameters that can be set on the block include:

  • Bus name
  • Resource (Hardware Channel)
  • Bit Timing - User can select a preset baud rate, or 'Custom' to set Prescalar, Propagation Segment, and RJW
  • Transmit Queue Size
  • Install MotoTune Protocol Checkbox - User selects whether to initialize MotoTune protocol on this CAN bus. If 'None' is selected for all Buses, the module cannot oommunicate with MotoTune, or be Reflashed via MotoTune. A bootkey would be needed to recover the module
  • City ID - this is the "address" used by MotoServer port to communicate with the module