Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
11 Nov 2023 16:10 - 11 Nov 2023 18:01 #285110 by virencq
Hi, Cakeslob,
I have managed to run W5500 with 446ZE board. Above all with with your static branch as base. I have attached my little efforts.
github.com/Virencq/Remora-eth-static.
 
Last edit: 11 Nov 2023 18:01 by virencq. Reason: Correction

Please Log in or Create an account to join the conversation.

More
12 Nov 2023 22:28 - 12 Nov 2023 22:30 #285210 by cakeslob
Hey Viren, looking good.
Is this a static version of this firmware?
github.com/cakeslob/Remora/tree/eth-NUC/...areSource/Remora-OS5



If you are looking for more performance, this is the DMA SPI version that we need to work on adapting to other boards

github.com/cakeslob/Remora-STM32F4xx-W5500
Last edit: 12 Nov 2023 22:30 by cakeslob.

Please Log in or Create an account to join the conversation.

More
13 Nov 2023 05:02 - 13 Nov 2023 05:03 #285233 by virencq
I have added W5500 to your branch.
github.com/cakeslob/Remora/tree/nucleo_staticZE.


"If you are looking for more performance, this is the DMA SPI version that we need to work on adapting to other boards,"
It doesn't have encoder and qei modules. They are must for my Lathe setup.
Last edit: 13 Nov 2023 05:03 by virencq.

Please Log in or Create an account to join the conversation.

More
14 Nov 2023 05:09 #285345 by cakeslob
Ahhh thats a good point Viren. I havent been able to make the firmware work with the nucleo yet anyways. I dont know how easy the QEI will be to add, but perhaps I can try to add software encoder.


Please report back on the performance, I am interested in the results.

Please Log in or Create an account to join the conversation.

More
14 Nov 2023 14:46 #285384 by virencq
Tested with 1 stepper motor x axis.
RPI 3B+, pru_base-freq-80,000.

In PC C2D.
Base ferq 120,000. No joint 0,1 problem,

I have used your modified repo.
I am not succeed in Expartia repo with wiznet.
EMC doesn't comes out of eatop.

Nucleo-ethernet with PC mode video.
youtube.com/shorts/Vi58pu9rDRU?si=FnmFrpeDLPaQQyIl
The following user(s) said Thank You: cakeslob

Please Log in or Create an account to join the conversation.

More
30 Nov 2023 05:18 #286842 by cakeslob
yessss got the octopus 446 working with flexihal w5500 ethernet firmware.

github.com/cakeslob/Remora-STM32F4xx-W5500/tree/nucleo_2
The following user(s) said Thank You: scotta

Please Log in or Create an account to join the conversation.

More
01 Dec 2023 04:47 #286930 by virencq
Yes, I also compiled and tested with Nucleo 446ZE. Ping is working, and can successfully upload config.txt. So it's working for me.
But stepper not moving joint 0,1 error.
Also Ping .400+.
github.com/Virencq/Remora-eth-static
in this PING .100+

Please Log in or Create an account to join the conversation.

More
02 Dec 2023 01:09 #287004 by cakeslob
Sorry Viren, Im must have not understood what you were saying earlier. The video you showed me looked like it was moving very fast.

The mbed version is not exactly production ready, more of a proof of concept, Im trying to get the the nucleo going with the other firmware but Im having issues getting it working.

Looking at the difference, you added the stepgen changes but I never tested with that. If you are using the component in the nucleo ethernet repo, you probably need to change this line
github.com/cakeslob/Remora/blob/nucleo_e...eth.c#L541C2-L541C34

github.com/cakeslob/Remora/blob/nucleo_s...Remora/remora.c#L691

Thats what stands out right now.

Please Log in or Create an account to join the conversation.

More
03 Jan 2024 00:43 #289627 by cncmiljc
I'm trying to play with stm32h743 with a lan8720 module but without success in exchanging packets and communicating with linux cnc, would you have any tips on how to configure using CubeIDE?

Please Log in or Create an account to join the conversation.

More
05 Jan 2024 01:18 #289820 by cakeslob
What repo are you working out of? The nvem and ec500 repos are examples of cube using ethernet PHY. I also struggle with the H7 series, I cant get debugging to work with pyocd. Perhaps share your project, it might be more helpful. I have an H723 with phy I can play with, as this is relevant to my interests.

Please Log in or Create an account to join the conversation.

Time to create page: 0.132 seconds
Powered by Kunena Forum