-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.0.x] Add support for 'Black' STM32F407VET6 board with RAMP-like shield #13524
[2.0.x] Add support for 'Black' STM32F407VET6 board with RAMP-like shield #13524
Conversation
3cbba11
to
8222ea7
Compare
Good job again JMZ52
|
@youprint Also keep in mind the fix from #13550 if you are going to use MKS Mini 12864 |
success with your U8Glib library Thanks |
Nice. How does one get a RAMP-like shield? Any plans for additional stepper drivers or a stepper driver expansion board? Will you be adding the RAMP-like shield to the black RepRap WIKI? |
@Bob-the-Kuhn 407VE base boards does not have many pins left, so no plans for additional drivers on it. There will be some improvement to get GPIO pins connected to LEDs and buttons availabe for reuse, but not much beyond than. 407ZE board have enough pins for 6 stepper drivers and FSMC interface, but it will be more expensive as there is not way to fit all elements on 100x100mm PCB. Also I need to check several concepts before designing a shield be 407ZE. |
8$ for 5 boards that's really cheap. I think the clue to use less pins is to use spi motors drivers like L6470 or Powerstep01 from ST But unfortunatly nobody designed a board based on spi drivers, maybe i should start the project. So the progress since last year is huge, we have a working HAL on F1, F4 and F7 ! Now we only need a H7 HAL to have all the STM32 family... |
The TMC SPI drivers can also be daisy chained. Unfortunately the drivers have not been written yet. I'm not a fan of the L6470/powerSTEP01 family. I just got my hands on a TMC5160. Definitely a better solution. |
@youprint
|
@ Bob-the-Kuhn
I think that's because nobody already wrote a correct library for L6470, Powerstep01 is very promising for Marlin CNC mode with big motors (Nema 23 or 34 up to 10A@50v) @jmz52 |
I've been working with the L6470 and the powerSTEP01 shields since early this year. The code is waiting on Scott having enough time to coordinate the library and Marlin changes. See PR #13498. Thermally the powerSTEP01 is a much better choice. I was having a terrible time cooling the L6470s when driving my 24V 1.5A/phase NEMA23 steppers. The powerSTEP01 doesn't need any additional cooling. I've not actually done any printing using these devices. I was trying to tune the system to get better performance than the A4988 when I ran across the TMC5160. The L6470 and the powerSTEP01 are not a good fit with Marlin. They are meant to be given a "go to here" command sequence and then the main CPU just sits back and waits for the chips to finish. To fit Marlins STEP/DIR interface I had to use the chip's STEP_CLOCK mode which meant I lost some things - most notably the auto current reduction when not stepping. That results in much more current drain than when stepping. The architecture concern I have has to do with the lack of double buffering. I expect that 3D printing will stutter because there's so much SPI traffic needed to setup a "go to here" move that a three stepper system probably can't be updated before the next move should begin. If the chips were double buffered then the next move could be setup while the current one is executing. |
Look at this discussion on a port of GRBL for STM32F411 : |
He's into industrial CNC & motion control. There's a mention of 360V & 2KW as limits on the stepper/servo controller. Almost a different universe. |
No that's STMBL project (a servo driver for old analog servo) |
Description
Add support for custom STM32 boards' 'variants'
Add support for 'Black' STM32F407VET6 board with RAMP-like shield
Fix compilation HAL_STM32 compilation problem caused by empty
#define HAS_TIMER(IO)
Depends on MarlinFirmware/U8glib-HAL#6 for 128x64 displays support
Benefits
HAL_STM32 can be compiled again
Marlin can be compiled for custom STM32 boards' 'variants'
STM32F4 boards with HAL_STM32 can use EEPROM_EMULATED_WITH_SRAM feature
Additional information
Custom build script is used to update PlatformIO environment with 'variant' code from Marlin repository
Tested on STM32F407VET6 and HAL_STM32
https://3dtoday.ru/upload/resize_cache/main/e4e/940_1080_1/e4e655d7ffd8efe6b120aea703a06093.jpg