Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
4 years 7 months ago #238293 by cakeslob
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/

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

More
4 years 7 months ago #238373 by scotta

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?
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.

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

More
4 years 7 months ago #238374 by scotta

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



 
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!

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

More
4 years 7 months ago - 4 years 7 months ago #238396 by gtt38
I made some progress on F4
it works perfectly on Nucleo F401, F411 and F446 

[img


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: 4 years 7 months ago by gtt38.

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

More
4 years 7 months ago #238406 by cakeslob
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.

More
4 years 6 months ago #240342 by eng
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.

Time to create page: 0.458 seconds
Powered by Kunena Forum