|
【技术讨论】
RK3568 CANFD1.0出现错误帧
发表于 2023-6-9 15:39:56
浏览:3516
|
回复:0
打印
只看该作者
[复制链接]
楼主
-
固件类型:
自行编译的固件
-
SDK包名称:
rk356x_linux_release_20230330_v1.3.2b_split_dir
-
SDK更新到哪个COMMIT:
0000-00-00 00:00:00
-
SDK修改内容:
修改了:kernel/arch/arm64/boot/dts/rockchip/rk3568-firefly-port.dtsi
&can1 {
status = "okay";
compatible = "rockchip,canfd-1.0";
assigned-clocks = <&cru CLK_CAN1>;
assigned-clock-rates = <200000000>;
pinctrl-names = "default";
pinctrl-0 = <&can1m1_pins>;
};
&can2 {
status = "okay";
compatible = "rockchip,canfd-1.0";
assigned-clocks = <&cru CLK_CAN2>;
assigned-clock-rates = <200000000>;
pinctrl-names = "default";
pinctrl-0 = <&can2m0_pins>;
};
-
Log日志:
errFrame.log
问题描述及复现步骤:
本帖最后由 zdpx 于 2023-6-9 15:44 编辑
1.开发板为RK3568,下载 rk356x_linux_release_20230330_v1.3.2b_split_dir SDK包
2. 开发板连接周立功UBSCAN-II+; 通信波特率为250k
2 修改kernel/arch/arm64/boot/dts/rockchip/rk3568-firefly-port.dtsi 中的CAN配置,compatible = "rockchip,canfd-1.0";编译固件
3 开发板和周立功CAN盒以5ms间隔循环对发扩展帧,周立功CAN盒报0x00000008的错误帧。
增大发送间隔同样会出现错误帧,只是出现频率降低。
|
|