Home Forums Software Confirmation on Mixed CAN FD and Classical CAN Transmission Using FlexCAN0

Tagged: ,

Viewing 1 reply thread
  • Author
    Posts
    • Tom StallardTom Stallard
      Participant
      Post count: 8

      Hi Audesse Team,

      I would like to confirm whether the same FlexCAN0 controller on the NXP S32K344, configured with a nominal bitrate of 500 kbps, can be used to transmit both Classical CAN frames (8-byte payload) and CAN FD frames (up to 64-byte payload) without requiring any reconfiguration of the controller between transmissions.

      My understanding is that, with CAN FD enabled, different message buffers can be configured independently for Classical CAN and CAN FD operation, allowing both frame types to be transmitted through the same FlexCAN instance. However, I would appreciate your confirmation on whether this is supported and if there are any specific limitations or considerations that I should be aware of.

      Could you please confirm if this understanding is correct?

      Thanks!

    • benmaccallum1benmaccallum1
      Moderator
      Post count: 1

      Hi Tom,

      Yes, the same controller can transmit both frame types without reconfiguration between transmissions, as long as all devices on the network are configured to receive CAN FD. Once CAN FD is enabled for CAN0, each individual message buffer can be set according to whether it is a CAN FD or classic CAN message. As a rule of thumb, use separate CAN Tx interrupt objects for each of your messages, especially between CAN FD and classic messages. By default, we set the baud rate of CAN0 to 500 kBaud, and the CAN FD rate to 2000 kBaud, but you can adjust those according to your requirements.

      Ben

Viewing 1 reply thread
  • You must be logged in to reply to this topic.