SPI control firmware

I have been trying to build TobinHall’s firmware so that I can use an AS5048 spi controlled encoder but can’t get it to work. Is there anyone that has this built for a version 3.6 24v ODrive?

You can try the RazorsEdge fork https://github.com/Wetmelon/ODrive/tree/RazorsEdge but there’s no guarantee it works

I have tested an AS5047P on RazorsEdge, and it seems to work very well. Beware that the resolution (cpr) is much higher (16384) in SPI mode so you will need to change the control gains to make it stable.

1 Like

I am searching for SPI software build for the AS5047 encoder, which can be flashed (*.elf ) - where to find it ? thanks