- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
02 Oct 2023 14:36 #282067
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hey iforce2d, I saw your machine on hackaday this weekend. Lookin good
Please Log in or Create an account to join the conversation.
11 Oct 2023 08:45 #282733
by virencq
Replied by virencq on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hello Cakeslob,
Will DMAstepgen work with your static branch, are you planning to implement it.
Will definitely boost performance I guess.
Will DMAstepgen work with your static branch, are you planning to implement it.
Will definitely boost performance I guess.
Please Log in or Create an account to join the conversation.
12 Oct 2023 18:24 #282825
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hey Viren,
yes, it would be nice, but Im under the impression that we are not able to do it.
www.forum.linuxcnc.org/18-computer/44828...rd?start=1210#282397
yes, it would be nice, but Im under the impression that we are not able to do it.
www.forum.linuxcnc.org/18-computer/44828...rd?start=1210#282397
Unfortunately no, I had the original concept "working" on the STMF407 but it was just not fast enough to get the calculations done for all 6 axes within the servo thread period. The RT1052 is heaps faster.
The following user(s) said Thank You: virencq
Please Log in or Create an account to join the conversation.
24 Oct 2023 18:02 #283737
by virencq
Replied by virencq on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hello Dev,
In my running RPI Linuxcnc setup, I have Phase A and index only. I am not using full quadrature encoder mode.
So when I set in Remora config "setp encoder.0.counter-mode 1".(QEI encoder)
LinuxCNC throughs error pin setp encoder.0.counter-mode 1 not found.
How easy would it be to omit Phase B from the static branch 446
In my running RPI Linuxcnc setup, I have Phase A and index only. I am not using full quadrature encoder mode.
So when I set in Remora config "setp encoder.0.counter-mode 1".(QEI encoder)
LinuxCNC throughs error pin setp encoder.0.counter-mode 1 not found.
How easy would it be to omit Phase B from the static branch 446
Please Log in or Create an account to join the conversation.
25 Oct 2023 02:42 #283763
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hi,
This is not something that can be configured with the QEI driver. You would need to compile your own version.
In qeiDriver.cpp you would need to change the encoder mode configuration.
Line 55: Change to TIM_ENCODERMODE_TI1 or TIM_ENCODERMODE_TI2 to count only on one input.
See section 17.3.16 in the SMT32F4 manual.
This is not something that can be configured with the QEI driver. You would need to compile your own version.
In qeiDriver.cpp you would need to change the encoder mode configuration.
Line 55: Change to TIM_ENCODERMODE_TI1 or TIM_ENCODERMODE_TI2 to count only on one input.
See section 17.3.16 in the SMT32F4 manual.
The following user(s) said Thank You: virencq
Please Log in or Create an account to join the conversation.
- Trihwangyudi1990
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
27 Oct 2023 04:19 #283888
by Trihwangyudi1990
Replied by Trihwangyudi1990 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Maybe this dumb question, can we operate this with usb in bluepill?
I want to move from old bob with this... I still have an old pc with out db25 port..
I want to move from old bob with this... I still have an old pc with out db25 port..
Please Log in or Create an account to join the conversation.
27 Oct 2023 04:42 #283889
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Yes to bluepill, no to usb. You need to use a raspberry pi SPI
Please Log in or Create an account to join the conversation.
- Trihwangyudi1990
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
27 Oct 2023 05:05 - 27 Oct 2023 05:05 #283890
by Trihwangyudi1990
Replied by Trihwangyudi1990 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
How about use w5500 to conect with spi??
Last edit: 27 Oct 2023 05:05 by Trihwangyudi1990.
Please Log in or Create an account to join the conversation.
27 Oct 2023 14:28 #283908
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
In the future it is possible, but I have not been able to get it working yet with other boards
The following user(s) said Thank You: Trihwangyudi1990
Please Log in or Create an account to join the conversation.
- Trihwangyudi1990
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
28 Oct 2023 10:33 #283950
by Trihwangyudi1990
Replied by Trihwangyudi1990 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Great project @cakeslob
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Time to create page: 0.138 seconds