Hi,
We are currently using the NXP 1500V BMS evaluation board (RD-BESS1500BUN) in combination with NXP’s Model-Based Design Tools (MBDT) in MATLAB/Simulink to develop our BMS software. The MBDT example we received from NXP is configured by default with a CAN controller BaudRate of 1000 Kbps.
For our project, we require a BaudRate of 250 Kbps. In S32 Design Studio, under the MCAL-Can_43_FLEXCAN section, there appears to be only one setting available to configure the BaudRate, as shown in the image below.
We updated this setting from 1000 to 250 Kbps and, after refreshing and updating the configuration, programmed the microcontroller. However, when we tested CAN communication using a CAN reader device (Peak CAN), the BaudRate still appears to be 1000 Kbps.
We have followed the instructions in the following NXP guide, but it does not address this issue explicitly:
https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Communicating-over-the-CAN-Bus/ta-p/175845...
We would greatly appreciate any guidance or support on how to properly apply the BaudRate change.
Thank you in advance for your help!
Hi Rasoul,
To properly change the CAN baud rate on the NXP board, it's not enough to just update the baud rate value from 1000 to 250. You'll also need to recalculate or get appropriate values for the CAN timing parameters listed below the baud rate in S32CT—specifically: Propagation Segment, Phase Segment 1, Phase Segment 2, and the Resynch Jump Width (RJW).
Best regards
Reza