Skip to content

ufnalski/absolute_encoder_amt222cv_spi_g431kb

Repository files navigation

Absolute multi-turn encoder with SPI interface (STM32G431KB)

An STM32 HAL example of communicating with an absolute encoder over the SPI interface. A multi-turn 12-bit encoder from Same Sky (formerly CUI Devices) is taken as an example. The relevant evaluation kit is AMT222C-V.

Multi-turn absolute encoder in action

Missing files?

Don't worry 🙂 Just hit Alt-K to generate /Drivers/CMCIS/ and /Drivers/STM32G4xx_HAL_Driver/ based on the .ioc file. After a couple of seconds your project will be ready for building.

Libraries

Hardware

Serial peripheral interface (SPI)

SPI mode 0

Call for action

Create your own home laboratory/workshop/garage! Get inspired by ControllersTech, DroneBot Workshop, Andreas Spiess, GreatScott!, ElectroBOOM, Phil's Lab, atomic14, That Project, Paul McWhorter, and many other professional hobbyists sharing their awesome projects and tutorials! Shout-out/kudos to all of them!

Warning

Control in power electronics and drives - do try this at home ❗

190+ challenges to start from: Control Engineering for Hobbyists at the Warsaw University of Technology.

Stay tuned!

About

Absolute multi-turn encoder with SPI interface using STM32/HAL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published