Error in XMC4400 CAN Auto Baud Rate Detection

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
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
0 Likes
1 Reply
SunYajun
Employee
Employee
10 replies posted 5 replies posted Welcome!
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.
0 Likes