- Hardware & Machines
- Computers and Hardware
- Remora - Rpi Software Stepping Using External Microcontroller via SPI
Remora - Rpi Software Stepping Using External Microcontroller via SPI
19 Mar 2022 21:00 #237738
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Thanks for the feedback. Looks like the ability to load the firmware over SPI / Ethernet would be a beneficial feature. I'll look into how a TFTP type handshake protocol could be used over SPI to send the config to the board. The Flash storage and retrieval is already working great.
The following user(s) said Thank You: tommylight, gtt38
Please Log in or Create an account to join the conversation.
23 Mar 2022 12:30 #238095
by gtt38
Replied by gtt38 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
Hi Scott i'm back. i finished fews project and i'm ready now to test new platform for Remora.
I saw your code for NVEM and i was very happy to see you using STMcubeide, it's the best ide for STM32.
i tested the binary for F103RC on a F103RE and it works very good.
I was trying to compile the code, for STM32F4 no errors or warnings as usual, but i have errors when trying to compile STM32F1 :
i'm trying to compile the Remora-feature-ethernet branch
I saw your code for NVEM and i was very happy to see you using STMcubeide, it's the best ide for STM32.
i tested the binary for F103RC on a F103RE and it works very good.
I was trying to compile the code, for STM32F4 no errors or warnings as usual, but i have errors when trying to compile STM32F1 :
[Error] mbed_rtx.h@137,2: "INITIAL_SP is not defined for this target in the mbed_rtx.h file" [ERROR] In file included from .\mbed-os\platform\source\mbed_error.c:30: ./mbed-os/targets/TARGET_STM\mbed_rtx.h:137:2: error: "INITIAL_SP is not defined for this target in the mbed_rtx.h file" #error "INITIAL_SP is not defined for this target in the mbed_rtx.h file" ^ 1 error generated.
i'm trying to compile the Remora-feature-ethernet branch
Please Log in or Create an account to join the conversation.
24 Mar 2022 00:20 #238179
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
yeah I couldnt get it to compile when I tried either,
speaking of remora ethernet feature, we just hook up the w5500 to the 4 spi lines correct?
speaking of remora ethernet feature, we just hook up the w5500 to the 4 spi lines correct?
Please Log in or Create an account to join the conversation.
24 Mar 2022 12:11 - 24 Mar 2022 12:12 #238216
by gtt38
Replied by gtt38 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
i'm not testing the ethernet feature, only the branch for spi. The STMF1 don't compile on both devellop branch and ethernet branch.
I want to create new boards targets to support F103VET and F103ZET but without compilation that's gonna be difficult
I want to create new boards targets to support F103VET and F103ZET but without compilation that's gonna be difficult
Last edit: 24 Mar 2022 12:12 by gtt38.
Please Log in or Create an account to join the conversation.
24 Mar 2022 23:22 #238293
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
ok, I think I get it now, we have to move TARGET_STM32F103xC/ into mbed-dev/targets/TARGET_STM/TARGET_STM32F1
but I cant figure out where to put it in mbed_rtx
heres one for your thing you can try, this one is
os.mbed.com/users/hudakz/notebook/home-m...f103vet6-microcontr/
but I cant figure out where to put it in mbed_rtx
heres one for your thing you can try, this one is
os.mbed.com/users/hudakz/notebook/home-m...f103vet6-microcontr/
Please Log in or Create an account to join the conversation.
25 Mar 2022 21:03 #238373
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
The Ethernet feature branch is being developed on an STM32F4 (SKR2) board. It also uses the W5500 interrupt pin to trigger the SPI communication. I still need to get the DMA SPI working to reduce the LinuxCNC Servo period.yeah I couldnt get it to compile when I tried either,
speaking of remora ethernet feature, we just hook up the w5500 to the 4 spi lines correct?
Please Log in or Create an account to join the conversation.
25 Mar 2022 21:04 #238374
by scotta
Replied by scotta on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
It's been a while since I worked on the STM32F1 boards. Let me have a look as to why the error is appearing. Great to hear you're looking to extend to new targets. Thanks!i'm not testing the ethernet feature, only the branch for spi. The STMF1 don't compile on both devellop branch and ethernet branch.
I want to create new boards targets to support F103VET and F103ZET but without compilation that's gonna be difficult
Please Log in or Create an account to join the conversation.
26 Mar 2022 13:13 - 26 Mar 2022 14:22 #238396
by gtt38
Replied by gtt38 on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
I made some progress on F4
it works perfectly on Nucleo F401, F411 and F446
I'm starting to love Mbed, there is some interesting libraries with nucleo board :
X_NUCLEO_IHM03A1 The API allows to easily:
it works perfectly on Nucleo F401, F411 and F446
I'm starting to love Mbed, there is some interesting libraries with nucleo board :
X_NUCLEO_IHM03A1 The API allows to easily:
- perform various positioning, moves and stops
- get/set or monitor the motor positions
- set home position and mark another position
- get/set minimum and maximum speed
- get current speed
- get/set acceleration and deceleration
- get/set the step mode (up to 1/128)
- get/set the control method
- get/set parameters for voltage mode driving
- get/set parameters for current mode driving
- get/set parameters for gate driving
- configure various protections such as overcurrent detection
- enable/disable alarms
- handle step-clock
- get system status
Last edit: 26 Mar 2022 14:22 by gtt38.
Please Log in or Create an account to join the conversation.
26 Mar 2022 16:00 #238406
by cakeslob
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
hey gt, i have the same setup with 446. are you doing remora or IMHO3A1 on the nucleo?, so you are doing spi2 it looks like , what about sd card? that was the only thing I couldnt make work was the sd card
Please Log in or Create an account to join the conversation.
15 Apr 2022 20:48 #240342
by eng
Replied by eng on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
can you direct to the link to use this card that could allow me a remora? I'm grateful for your help.
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.155 seconds