Skip to main content
SKara.7
Associate III
January 19, 2022
Question

SPC584B - Issues with CAN RX

  • January 19, 2022
  • 3 replies
  • 1456 views

Hi,

When I use the low level drivers that comes with SPC5 Studio, I am facing issues with CAN reception.

The Rx buffer only updates with the highest priority message. All the messages below that are ignored.

I tried with FIFO and Dedicated Buffer settings, but both have the same problem.

Please can you advise on how to fix it?

Best regards,

Sreejith

    This topic has been closed for replies.

    3 replies

    Erwan YVIN
    ST Employee
    January 20, 2022

    Hello ,

    could you send us your configuration.xml and your pin settings ?

    I recommend to check the status of your register with your debugger.

    (Chap 46 : CAN Subsystem of your RM)

    Best Regards

    Erwan

    SKara.7
    SKara.7Author
    Associate III
    January 20, 2022

    Hi Erwan,

    Please find attached the configuration.xml file.

    I hope you will be able to see the pin settings as well from configuration.xml

    What I see is, the other Rx messages are in 'wait' state. Rx buffer always captures only the highest priority message. The rest of the messages are in 'wait' state when I debug the return value of can_lld_receive() function.

    Best regards,

    Sreejith

    SKara.7
    SKara.7Author
    Associate III
    January 24, 2022

    Hi Erwan,

    May I know if you found any issues with my config?

    Kindly let me know if there is a solution to my problem.

    Regards,

    Sreejith