RIOT icon indicating copy to clipboard operation
RIOT copied to clipboard

WIP: add driver for the ST l6470 motor driver

Open samkno1 opened this issue 2 years ago • 5 comments

Contribution description

The driver, l6470, provides support for the l6470 device, a micro-stepping motor driver with motion engine and SPI. The driver developed is designed to support standard SPI and daisy chain SPI communication.

Testing procedure

Attach an ST NUCLEO X-IHM02A1 expansion board to an STM32-NUCLEO 64 board.

Connect 2 stepper motors to the NUCLEO X-IHM02A1 board. Connect the STM32-NUCLEO board to a host computer via USB. Compile and flash the test application.

Note: The SPI pins need to be modified depending on the NUCLEO 64 board used. The NUCLEO 64 F072RB board was used to perform the test with the SCK pin modified to PB3.

On success, the stepper motors will undergo a series of motion commands before finally coming to a stop.

Issues/PRs references

Resolves #17799

samkno1 avatar Jan 07 '23 03:01 samkno1

There appears to be something wrong with this PR, it's removing a lot of unrelated files.

benpicco avatar Mar 16 '23 15:03 benpicco

There appears to be something wrong with this PR, it's removing a lot of unrelated files.

Thanks for the heads up! I'll see what I can do to fix it.

samkno1 avatar Mar 16 '23 23:03 samkno1

I think a git rebase -i master would help. You can squash your commits while you're at it.

benpicco avatar Mar 16 '23 23:03 benpicco

I think a git rebase -i master would help. You can squash your commits while you're at it.

I'll try that now

samkno1 avatar Mar 16 '23 23:03 samkno1

I think a git rebase -i master would help. You can squash your commits while you're at it.

Fixed

samkno1 avatar Mar 17 '23 01:03 samkno1