cancel
Showing results for 
Search instead for 
Did you mean: 

SPC584B - Issues with CAN RX

SKara.7
Associate II

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

3 REPLIES 3
Erwan YVIN
ST Employee

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
Associate II

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
Associate II

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