2022-01-19 07:03 AM
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
2022-01-20 01:12 AM
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
2022-01-20 01:25 AM
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
2022-01-24 04:43 AM
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