Difference between revisions of "HANcoder/STM32/Blocks/CAN Config"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
Line 14: Line 14:
 
|maskImage=
 
|maskImage=
 
CANConfigMask.png
 
CANConfigMask.png
 +
}}
  
 +
== Examples ==
 +
[[HANcoder/Examples/CAN_Communication| CAN Communication Example ]]{{!}}[[HANcoder/Examples/OBD_Reader| OBD reader example ]]
 +
 +
{{HANcoder/BlockFooter|
 +
|SeeAlso = [[HANcoder/CAN_Receive| CAN receive ]] {{!}} [[HANcoder/CAN_Send| CAN send ]] {{!}} [[HANcoder/XCP_On_CAN_Config| XCP on CAN config ]]
 
}}
 
}}

Revision as of 13:06, 14 April 2017

Supported Targets: Olimexino, E407, P405

General information about CAN Config

The 'CAN Config' block instructs the code generator to include CAN support. The block also configures the CAN controller communication speed and the reception acceptance filter.

Remarks

When not using the CAN config block, support for the given CAN channel is not included in the embedded target. Thereby every CAN message addressed to the controller is lost. The default configuration of the reception acceptance filter received all 11-bit CAN message identifiers.

Block

CANConfig.png

Mask

CANConfigMask.png

Examples

CAN Communication Example | OBD reader example

See Also

CAN receive | CAN send | XCP on CAN config