infineon4engi@twitter infineon@linkedin infineon4engineers infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: CAN Bus communication with xmc4300

  1. #1
    New Member New Member hike96 is on a distinguished road
    Join Date
    Apr 2019

    CAN Bus communication with xmc4300

    Dear all,

    I am very new to microcontroller programming. What I want to do is to enable CAN Bus communication on the xmc 4300:

    I have a flow measurement device which has a digital output . With a Serial cable with a Standard female D-Sub conncetor, I connected the device to the CAN Transceiver of the xmc4300.

    Now my question is: How can I actually receive the Messages of the flow measurement device?

    According to the guide of the measurement device, the data Transmission runs without any request from the host System and the Interface has to be initialized to the following Parameters:

    - Baud rate 38400 Baud
    - Bits 8 data bits
    - Start bit 1
    - Stop bit 1
    - Parity no
    - No Hardware (CTS/RTS) or Software (Xon/Xoff) handshake

    Also, according to the guide, the digital Interface transmits every 100ms the following ASCII data string:

    ee_ss_aaa_p.pp_fffffff_mmmmmmm_ssssssss_tttttt_<CR ><LF>,

    where the different Bytes have meanings like error Messages, Status Information and flow Information (which is what I am particulary intersted in).

    How can I implement this using DAVE (and probably the CAN app?)? Where can I find the message sent by the measuring device?
    In the examples offered by Infineon, I could only find implementations where they used two CAN apps communicating with each other. However, in my case, I should only need one CAN bus app, because my second node should be my flow measuring device?

    I am sorry if the questions are very stupid, I guess I simply have not properly understood how the CAN bus works yet..

    Any help will be really appreciated. Thank you !

  2. #2
    Beginner Beginner TimFlynn is on a distinguished road
    Join Date
    Jun 2016
    What your sensor reports looks like UART data not CAN data.
    I don't think CAN app is helpful here.

+ Reply to Thread

Tags for this Thread


All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.

Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.