infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: Error in XMC4400 CAN Auto Baud Rate Detection

  1. #1
    New Member New Member khageshc is on a distinguished road
    Join Date
    Jul 2018
    Posts
    1
    Points
    30

    Error in XMC4400 CAN Auto Baud Rate Detection

    Hello,

    I am using CAN auto baud rate detection example provided by Infineon. Below are the modification details which are done in example to port in our code.

    Software changes:
    1. CAN frequency configured to 60MHz instead of 12MHz
    2. Polling based mechanism is implemented instead of interrupt based mechanism to read the CFC in Bit timing analysis mode.

    We are not getting correct Baud rate prescaler (BRP) value by using the example, but we are getting proper Tseq1 and Tseq2 value from table which are given in example code.

    Is there any way to get correct BRP value?

    Regards
    Khageshc

  2. #2
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    SunYajun is on a distinguished road
    Join Date
    Nov 2014
    Posts
    6
    Points
    156.25
    the CAN BSL mode works on the external clock. the max. input clock f_osc in the XMC4400 is specified between 4..40MHz (in direct input mode) or 4..25MHz (in crystal mode). An input clock of 60MHz is too large here.

+ 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.