+ Reply to Thread
Results 1 to 3 of 3

Thread: XMC4800 RELAX how to configure more than one CAN Nodes

  1. #1
    New Member New Member rhendricks is on a distinguished road
    Join Date
    Feb 2020
    Posts
    2
    Points
    35

    XMC4800 RELAX how to configure more than one CAN Nodes

    Hello
    The trouble is that on the board KIT_XMC48_RELAX_ECAT_V1 it is impossible to activate any CAN nodes, except Node 1, for which a transceiver is provided on the board.

    I use DAVE IDE and MULTICAN_CONFIG application to configure CAN Nodes. Its no issues with Node 1,
    it works properly, but i cant see any tx data on the oscilloscope from any other node (0,2,3,4,5) with
    identity settings (exept gpio, of course).
    In loopback mode, information is received from all nodes, however, in normal operation, data
    transmitted only from node 1 while the configuration of the remaining nodes is absolutely identical.
    All gpiol pins, assigned to other nodes, are not occupied by any other resources.
    The correct configuration of the pins is verified with datasheet values ​​of the RXSEL, and its fully consistent with the
    MULTICAN_CONFIG configuration-based generated code.
    I dont see any reasons to block data stream from nodes 0,2,3,4,5 in XMC4800 datasheet.

    So, is it possible to work with more then one CAN node (and that node is Node 1) on KIT_XMC48_RELAX_ECAT_V1? Pay attention on
    that i trying to make CAN rx and CAN tx gpio work, of course i will attach it to the external tranciever after success.

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    689
    Hi,

    The CAN node sending a message is also receiving it, so that it can check the transmission and the ACK from the receiving node.
    If you do not have a transceiver connected to the MCU pins, you will need to short the CAN_TXD/RXD.

    See attached for node 0 on XMC4800 Relax Kit. Since no ACK is received, the CAN node sends the message indefinitely.
    Click image for larger version

Name:	CAN_TX_NODE0.png
Views:	6
Size:	281.4 KB
ID:	4444

    Regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    New Member New Member rhendricks is on a distinguished road
    Join Date
    Feb 2020
    Posts
    2
    Points
    35
    Thank you for your useful answer, now i can test all nodes without any consumers on the CAN bus properly!

+ Reply to Thread
Disclaimer

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.