How to Start CAN Module Development on KDS v3.2.0 + Processor Expert

Document created by Alice_Yang Employee on Apr 25, 2016Last modified by ebiz_ws_prod on Dec 13, 2017
Version 4Show Document
  • View in full screen mode

- This document introduces how to develop a simple CAN module application on KDS, it is suitable for the beginners to start using the KDS and Processor Expert, and it mainly focus on how to developing a CAN Loopback application, how to use the “Typical Usage” of “help on component”.

- About the Sending or Receiving data demo(with interrupt or polling) we can find on  the "Typical Usage" of "help on component" .

- Pay attention that , in the Typical Usage code , the Transfer Message ID is 0x123u, while in the CAN_LDD default configuration , the Receive Message ID is 0x7FF, they are should be same . So we should change one of them (In standard frame format, the admissible range is from 0x00 to 0x7FF; in extended format, the range is from 0x00 to 0x1FFFFFFF ), on my project , I change the TX ID from 0x123u to 0x7FFu on the code, about the detail information,

please look at the document and application project.

 

This application hardware is TWR-K21F120M board, software is KDS v3.2.0 .

Original Attachment has been moved to: CAN_KDS+PE_TWR-K21F120M.zip

Outcomes