Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
5 years 1 month ago #219648 by scotta
For those interested, I've updated the repo with a working SPI DMA Slave example. There is no SPI error checking yet, but you will see the slave select rising edge interrupt which will trigger the checking routine eventually. Not that I've seen an error on the SPI as yet and it's run for days. Much more reliable than with the LPC1768.

There is also a new version of the LinuxCNC Remora component which uses a different SPI transfer function and that for the LPC176x.

I've been battling with the DMA interrupt routines jumping to wrong code. Root cause was needing to use NVIC_SetVector to point things in the correct place. Something which is not needed with using STM32 HAL which I ported the code from.
The following user(s) said Thank You: Bari, tommylight

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

More
5 years 1 month ago #219952 by Cncninja
Het Scotta update for the Linux side or the sd card in the skr1.4t board? also, is the tmc driver support for SPI or uart drives?

Thank you

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

More
5 years 1 month ago #220007 by scotta
Hi, the SKRv1.4 is supported by the master branch. TMC2209 under UART are supported. I've started on an SPI based version for the other TMC drivers but I've been so happy with the 2209's that I've focused on the STM32 port of Remora. LPC1768 boards are nearly impossible to get now.

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

More
5 years 1 month ago #220009 by Aaroncnc
i am interested in the stm32 port.
do you think it will be better than the LPC based on speeds and chip features?

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

More
5 years 1 month ago #220054 by Cncninja
Hi Scotta, sorry I meant you comment

"There is also a new version of the LinuxCNC Remora component which uses a different SPI transfer function and that for the LPC176x."

is this for the Pi side or sd card side,

thank you

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

More
5 years 1 month ago #220174 by scotta

i am interested in the stm32 port.
do you think it will be better than the LPC based on speeds and chip features?
The STM32 port will be based on the same code base, just like Rommel has done. So the higher clock speed of the STM32F407 will be the only advantage. We'll be able to play with some higher step speeds.
The following user(s) said Thank You: Bari

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

Time to create page: 0.599 seconds
Powered by Kunena Forum