Replies: 1 comment
-
I assume you want to use the Arduino framework for some of the complex functionality like USB... Most of the current H7 driver is "bare metal" and might be easy to port over depending on the Arduino framework - are they using the ST CMSIS definitions for the peripherals? If not you may still start with with the H7 driver and comment out code that fails to compile. My first step when adding a driver is to get a serial port up and running so I can communicate with the driver. Then add basic I/O - step generation, control and limit inputs and coolant control. Then PWM spindle(s) followed by USB comms etc. But then why not contribute to the existing H7 driver instead? The firmware can be generated with the Web Builder and it might be possible to flash it via the Arduino programmer whatever that is. Do the boards come with a proprietary bootloader or do they use one of the ROM based alternatives? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm not a software engineer, but I want to create a grblHAL driver for:
Both boards use the STM32H7 chip with HRTIM timers that seem perfect for step pulse generation.
Where I need guidance:
Best starting point?
Should I:
Pin mapping
For Arduino Giga, maybe we can reuse the Arduino Due's pin assignments? it quite complete, there's ramps and whatnot there.
For the portenta however, maybe using the hat carrier, i have the hat carrier. it has ethernet as well
Step-by-step workflow
What's the simplest path to a basic working driver?
based on my current understanding, the checklist are:
CMIIW
I'd appreciate any advice, especially concrete examples or simple explanations since I'm new to driver development!
Beta Was this translation helpful? Give feedback.
All reactions