Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FD-CAN or not... #20

Open
ArkadiuszRaj opened this issue Jan 30, 2021 · 4 comments
Open

FD-CAN or not... #20

ArkadiuszRaj opened this issue Jan 30, 2021 · 4 comments

Comments

@ArkadiuszRaj
Copy link
Contributor

ArkadiuszRaj commented Jan 30, 2021

First of all thx!!!! After dowloading gcc-arm-none-eabi-10-2020-q4-major-aarch64 onto my little ARM machine, compilation of RRF works smoothly.

Now The Part To Discusss.

Duet3 uses CAN. Hardware-wise it is prepared for another standard: FD-CAN.
With current PrntrBoardV2 update there is simple CAN interface, not the flexible data-rate alternatve.
I mean both STM32 and the TJA chip supports CAN up to 1 or 2 Mbps.

Personally I do not believe that FD-CAN is really needed to adress hotend board and sychronize extruder steps with other kinematics. But I have started to think. For whole planned Duet CAN' ecosystem maybe it is worth to use FD CAN. But it is not so easy to get such a chip from STM32 family.

What can I do? While awaiting for the prototype of my variant, I will most probably buy Duet 3 Toolboard 1LC and give it a try. I mean will try to connect it via old school CAN.

If this will work, that will be superb.
If not - then I guess switch to STM32H7 would be necessary.

With this issue I wanted to make you aware of my doubts on this topic.

@ghent360
Copy link
Owner

ghent360 commented Jan 31, 2021 via email

@ArkadiuszRaj
Copy link
Contributor Author

CAN frames are not interchangable, what I ment was using FD-CAN in CAN 2.0 compatibility mode. New message format in CAN 2 network will be seen as error.

Well, the first and the most important step is to port CAN communication to STM32 which as I understand is not yet done.

As for Today, RRF support clasical CAN and FD-CAN that comes either from CoreN2G (we do not use) or as driver from hardware "abstraction" for SAME7 mcpu. My idea was to go into drirection to create other driver.

@ghent360
Copy link
Owner

ghent360 commented Jan 31, 2021 via email

@ArkadiuszRaj
Copy link
Contributor Author

Andys CoreSTM32F4 is not compiling for F7 variant. Already check that.
But you are right, that is why I am focusing on building bulid scripts to utilize Arduino_Core libarry rather the Andy one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants