Firefly Open Source Community

Title: Core-3308Y CAN [Print This Page]

Author: ivan.p    Time: 9/1/2023 07:46
Title: Core-3308Y CAN
Hi everyone!

I am working with Core-3308Y board. I have not found any ways to activate CAN module using a Device Tree.
DTS entry which I use:

&can {
    assigned-clocks = <&cru PCLK_CAN>;
    assigned-clock-rates = <200000000>;
    pinctrl-names = "default";
    pinctrl-0 = <&canm2_pins>;
    status = "okay";
};

rk3308b.dtsi contains only CAN pin declarations, therefore compilation fails with "Label or path can not found" error.

Could you propose a correct CAN declaration for RK3308B?


Author: 时间的蝴蝶    Time: 9/2/2023 17:35
In fact, the soc RK3308 does not yet have support for the CAN pin.
We are using the spi to can solution. https://en.t-firefly.com/product ... index.html?theme=pc
Author: ivan.p    Time: 9/5/2023 02:17
时间的蝴蝶 Posted at 9/2/2023 17:35
In fact, the soc RK3308 does not yet have support for the CAN pin.
We are using the spi to can solu ...

Thank you for the answer!

Could you provide any more details on the question? Maybe there are some plans for adding CAN support? Or the chip itself does not contain the module?

Adding the extra chip is the way to go, but the space constraints does not always allow to use it
Author: 时间的蝴蝶    Time: 9/5/2023 11:27
ivan.p Posted at 9/5/2023 02:17
Thank you for the answer!

Could you provide any more details on the question? Maybe there are s ...

As I know, there are no plans for it. Currently, only RK356X and RK3588 support CAN pin.
https://wiki.t-firefly.com/en/Core-3568J/driver_can.html
Author: ivan.p    Time: 9/6/2023 05:39
Okay, thank you!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1