Can't Receive CAN messages on F28379d

Luis Pedro Carvalho
Luis Pedro Carvalho Altair Community Member
edited June 27 in Community Q&A

Hello everyone,

I'm currently working with an F28379D and utilizing CAN bus for a project that requires code generation. Sending a CAN message works fine, but I'm trying to validate the receiving end. I created a simple simulation that changes the state of the board's LEDs when I send specific data on a CAN message with ID 0x015. However, when I try to validate it by sending the data using a USB to CAN device, the LED state doesn't change, so I assume it's not working.

I've attached my simulation for reference. Has anyone experienced a similar issue or have any suggestions on what might be happening?

Tagged:

Answers

  • Albert_Dunford
    Albert_Dunford
    Altair Employee
    edited June 21

    are you using PSIM 2022.3? I think there have been some resolved bugs with the CAN not sure which versions were affected. have you tried with the latest release 2024?

  • Luis Pedro Carvalho
    Luis Pedro Carvalho Altair Community Member
    edited June 24

    Hello! I just tried to use the program in the 2024.0 version of PSIM , but the error persists. 

     

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited June 26

    There is a patch for PSIM2024.0 to fix this CANbus bug. 

    Please send a request to the technical support with your Altair account:

    Contact Support

     

    Sincerely,

    Rhonda

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited June 27

    Sorry, Luis.
    My statement was incorrect. There is no patch for PSIM2024.0 to fix this CANbus bug. The bug was in F2803x/06x/33x, but not in F2837x.

    Please check your hardware "USB to CAN device".

    Would you use CCS to debug and check whether the CAN message is received?

     

    Sincerely,

    Rhonda