Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Core-3308Y CAN

72

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
72

【Linux】 Core-3308Y CAN

Posted at 9/1/2023 07:46:06      View:637 | Replies:4        Print      Only Author   [Copy Link] 1#
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?

Reply

Use props Report

486

Credits

20

Prestige

15

Contribution

intermediate

Rank: 3Rank: 3

Credits
486
Posted at 9/2/2023 17:35:31        Only Author  2#
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
Reply

Use props Report

72

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
72
Posted at 9/5/2023 02:17:49        Only Author  3#
时间的蝴蝶 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
Reply

Use props Report

486

Credits

20

Prestige

15

Contribution

intermediate

Rank: 3Rank: 3

Credits
486
Posted at 9/5/2023 11:27:41        Only Author  4#
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
Reply

Use props Report

72

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
72
Posted at 9/6/2023 05:39:43        Only Author  5#
Okay, thank you!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list