CANFD Bit time setting problem of MCUXpresso IDE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CANFD Bit time setting problem of MCUXpresso IDE

684 Views
liyun
Contributor II
 

CANFD bit time calculation showed as blew which comes from KW36 manual:

liyun_1-1770946429082.png

The below picture shows my configuration which already passed test on CANoe, but the bit time calculated by MCUXPresso IDE use nominal phase equation rather FD phase equation. I found it happened in MCUXPresso version 24, and after updating it to version 25.12, it still have this problem.

liyun_1-1770946248558.png

 

 

0 Kudos
Reply
4 Replies

655 Views
sofiaurueta
NXP Employee
NXP Employee

Hello,
Hope you are doing well.

 

Could you please help me check this Community post? [KW36] FlexCAN Bit Timing Parameters Setup

 

Best regards,
Ana Sofia.

0 Kudos
Reply

651 Views
liyun
Contributor II

Hi,  sofiaurueta

Thanks for your reply.

In my project I set bit time correctly by refer to the manual and the post of [KW36] FlexCAN Bit Timing Parameters Setup, it runs well.

Because I config bit time via MCUXPresso tool at first, and I found the bit time calculation problem only happened at CANFD setting(it will cause stuff error at data section), then I refer to manual/post to calculate Tisg time by myself. I found tool use nominal calculation to calculate CANFD bit time. And the tool of MCUXPresso v25.6 still have this problem.

Thank you.

 

0 Kudos
Reply

584 Views
sofiaurueta
NXP Employee
NXP Employee

Hello,

Since you are using Config Tools within the MCUXpresso IDE, it is important to note that we do not recommend using Config Tools for this purpose, as it may overwrite previous configurations required for wireless devices.

As you mentioned, if you are able to manually perform the calculations using the Timing parameters and formulas, then I would recommend relying on those calculations and manually modifying the example accordingly.

 

Best regards,
Ana Sofia.

0 Kudos
Reply

536 Views
liyun
Contributor II

Hi, sofiaurueta

Thank you.

I got it, the configuration tool could be used just as reference.

0 Kudos
Reply