Home Forums Software Freemaster over CAN in FCE-G

Viewing 6 reply threads
  • Author
    Posts
    • garrettbaileygarrettbailey
      Participant
      Post count: 5

      Hi Audesse Team,

      Is there a plan to support FreeMaster over CAN on FCE-G(s32k344)?

    • ConnorConnor
      Keymaster
      Post count: 20

      Hello,

      This feature is in the works. Can you please let me know some for details of the application for using Freemaster over CAN?

    • RishabhRishabh
      Participant
      Post count: 4

      Hello Audesse Team,

      I am testing freemaster over Peak CAN and I am facing some issues. I have done the configuration for CAN1 & CAN2. On default Software settings from nxp MBDT for CAN0 & CAN4, I am able to use freemaster over peak CAN over CAN0 but not for CAN1, CAN2 or CAN4. I have done the following:-

      1. Added the flexcan0, flexcan2 & Flexcan1 in default CAN0 config which enables the freemaster use over peak CAN, but configuring CAN0, CAN1 or CAN2 manually does not work for freemaster.
      2. Hardware objects are configured for both transmission and reception.
      3. Also the Pins and ports have been added for the respective pins according to the datasheet.

      Is there some any further cofigurations which i need to do for this to work.

      Thanks,
      Rishabh

      Attachments:
      You must be logged in to view attached files.
    • RishabhRishabh
      Participant
      Post count: 4

      Hello Audesse Team,

      I am testing freemaster over Peak CAN and I am facing some issues. I have done the configuration for CAN1 & CAN2. On default Software settings from nxp MBDT for CAN0 & CAN4, I am able to use freemaster over peak CAN over CAN0 but not for CAN1, CAN2 or CAN4. I have done the following:-

      1. Added the flexcan0, flexcan2 & Flexcan1 in default CAN0 config which enables the freemaster use over peak CAN, but configuring CAN0, CAN1 or CAN2 manually does not work for freemaster.
      2. Hardware objects are configured for both transmission and reception.
      3. Also the Pins and ports have been added for the respective pins according to the datasheet.

      Is there some any further configurations which i need to do for this to work.

      Thanks,
      Rishabh

      Attachments:
      You must be logged in to view attached files.
    • AmirFAmirF
      Moderator
      Post count: 25

      Hello Rishabh,

      We will work on this feature and let you know as soon as we have an update.

    • ConnorConnor
      Keymaster
      Post count: 20

      I will also reference the duplicate thread in the NXP forums:
      https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/FreeMaster-not-connecting-over-CAN-MBDT-1-5-S32K344/m-p/1886702.

      I have attached an example of FreeMaster over CAN working on FCE/FCG CAN0 in case you don’t have it already. We are not officially supporting MBDT 1.5 yet since we need to re-validate our sample software, but I am guessing there is a small bug somewhere in your mex file that is preventing other busses from working. For example, from the NXP forum screenshot, the name of the CAN controller for CAN2 has the same name as CAN0, which could be causing problems. Please review the differences between your mex file and the one I posted here, and I can review potential problems.

      Attachments:
      You must be logged in to view attached files.
      • RishabhRishabh
        Participant
        Post count: 4

        Hello Connor,

        I have a attached a mex file which is for Freemaster over CAN, working on FCE/FCG CAN0 & CAN4 and I have tested it already. We need freemaster over CAN working on CAN1, CAN2, CAN3 & CAN5 as it is working on CAN0 & CAN4. I have tried out many ways for this to work maybe you can review this and let us know the potential problems. As I was checking the configuration I came across these pins CAN_EN, CAN_STB & CAN_ERRN and need to know how this pins work and why are they configured in the configuration for CAN0 & CAN4 on which freemaster over CAN works. Are there any similar pins for CAN1, CAN2, CAN3 & CAN5.

        Attachments:
        You must be logged in to view attached files.
      • RishabhRishabh
        Participant
        Post count: 4

        PFA

        Attachments:
        You must be logged in to view attached files.
    • saieshsinghhansbhadaysaieshsinghhansbhaday
      Participant
      Post count: 6

      I am using MBDT 1.5 for the S32k3x4. I have build a simple model with a couple of transmit and receive messages over CAN 0 module and have configured freemaster over the same. After flashing the SW on the target HW initially i am able see the messages over the bus(delay and drop in message periodicity observed), but the moment i establish a connection over FreeMaster over CAN 0, the message transmission and reception over the bus is halted and is restored only after resetting the VCU. Also not able to establish connection over FreeMaster using any other CAN channel except for CAN0 and CAN4.

      Attachments:
      You must be logged in to view attached files.
Viewing 6 reply threads
  • You must be logged in to reply to this topic.