FWIW I have this working code for DMA SPI on the STM32G431 ESC dev board. If anyone wants to use this as is, go ahead, no support though. If anyone wants to clean this up and fully arduino-fy it go ahead. Test on non arduino, 750khz signal yields about a 4000khz sample rate. The pins are pre defined at this point, using the encoder a,b, and z inputs. Also, due to limited pins, the as5048 MOSI needs to be tied to VDD. Also note that SPI over wires is horrid, also that this lib doesn’t error check anything.