Not applicable
Jul 30, 2018
12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 30, 2018
12:13 AM
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
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
- Tags:
- IFX
1 Reply
Aug 07, 2018
05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 07, 2018
05:33 AM
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.