comradef191 / NyoomiesKME

A pico or STM32 powered expansion board for Klipper, with support for four motors running in SPI or UART, and ability to run higher currents & voltages than most mainboards.
https://ko-fi.com/peraf191
CERN Open Hardware Licence Version 2 - Strongly Reciprocal
17 stars 3 forks source link

Create a klipper supported MCU as BlackPill alternative #3

Open PhilippMolitor opened 3 weeks ago

PhilippMolitor commented 3 weeks ago

Hi! I really love this open source project as an alternative to the Supernova board.

I was thinking, maybe it could be a nice idea to design an MCU that is pin-compatible with the Pico, but features a genuine STM32 MCU with decent performance? I have not found anything like that on AliExpress, and given that klipper probably won't support AT32 soon it would be great to have a natively supported MCU that allows 128 or even 256 microsteps. Adding a STM32 H7 is expensive, but would enable 256 microsteps for sure. Also, this could be a nice addition for existing users of the Supernova board.

comradef191 commented 3 weeks ago

I'm confused what you mean here These boards are designed to be able to take any Pico OR BlackPill compatible devboards.

This includes both the STM32F401, and the as of yet unsupported by Klipper STM32F411 & AT32F403 blackpill variants.

DangerKlipper is currently working on updating and merging the AT32F403 support used by the Supernova into it, which will let these boards easily use them (Though the existing Supernova BP firmware does work on klipper v12, one of my friends is running an AT32 with a Nyoomies v5r1)

As for designing an STM32H7xx variant of BlackPill, it is simply far too large to fit within the footprint of it. It would necessitate an extremely large adapter shim, and frankly be utter overkill for just four drivers.

PhilippMolitor commented 3 weeks ago

I was thinking "a blackpill alternative" but in a pico formfactor, so the board is still useful for many other purposes. I definitely know that the performance is overkill, but this would guarantee 256 microsteps on such a platform, especially when taking upcoming dangerklipper features like precision step compression into account :)

I have some drone flight controller hardware with STM32H743 on it that has a really small BGA footprint. I think it might be similar to this one: https://www.digikey.de/en/products/detail/stmicroelectronics/stm32h743agi6/11591237

PhilippMolitor commented 1 week ago

I found something that has the pico form factor, but is not pin compatible. Also, it uses the H750 which is supported by klipper: https://electro-smith.com/products/daisy-seed?variant=45175761076516