Firefly Open Source Community
Title: AIO-3568j CAN Bus RX Errors [Print This Page]
Author: CAN_user10 Time: 1/27/2023 16:12
Title: AIO-3568j CAN Bus RX Errors
Last edited by CAN_user10 In 1/27/2023 16:17 Editor
Hi, we are testing out integrating an AIO-3568j board into our product. Our product has a CAN with a 500,000bps bus, but when we attempt to connect this board to our bus we are receiving packets but almost all of them are being received as errors (we only need to receive messages). We are also testing a Debix SOM A + IO board, when we connect this Debix board it is working correctly with no errors, we are connecting both boards to our bus in the same way with the same cables.
We noted that both boards seem to have a 120 olm resistor, so this shouldnt be the problem.
We are running the official ubuntu: AIO-3568J_Ubuntu18.04-MLU220-r21199_v1.3.0a_220817
To setup the CAN bus in Ubuntu we run these commands
'ip link set can0 type can bitrate 500000'
'ip link set can0 up'
we also tried setting the qdisc to default as we noticed the Debix board uses the default, while this firefly defaults to fq_codel.
'tc qdisc replace dev can0 root pfifo_fast'
We tested both can0 and can1 with the same settings and received the same results.
I will attach a screen shot showing the ifconfig read out. It shows both can bus interfaces with lots of errors but note they weren¡¯t connected at the same time, the interfaces were tested separately.
We also tested building our own ubuntu image to change the CAN clock rate, we tested 300M and 400M clock rates but achieved the same result.
Do you have any ideas on what the issue could be?
Thanks!
-
errors.png
(95.78 KB, Down times: 646)
Author: dengkx Time: 2/10/2023 11:27
Update the sdk to the latest version and then make the following changes,
Change the can module when using it in the device tree:
-compatible = "rockchip,can-1.0";
+compatible = "rockchip,rk3568-can-2.0";
Author: jimscot685 Time: 1/12/2026 06:24
Your article was so insightful, I¡¯ll carry it with me. Sharing the GR7 latest test sample test papers for free. Best of luck!
Author: markgra904 Time: 1/22/2026 08:33
I¡¯m deeply moved by your article, thank you for sharing it. I owe my success to the Vce PSE-Cortex-Pro-24 test simulator exam, and now I¡¯m giving you the chance to access it for free!
Author: robertb625 Time: 1/25/2026 05:12
The article gave me so many new ideas. The Braindumps C_P2W12_2311 downloads test questions are now available for free¡ªyour career success is just a step away!
| Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) |
Powered by Discuz! X3.1 |