This is my first time doing something like this outsider of arduino and I’m not exactly sure where to look up programming documentation. I was expecting to find something similar to the arduino reference but after skimming the STM32F4 product page, all I could find was really low level stuff. I’ve looked a little and saw people doing stuff in CubeMX but I am not really sure where to go from here.
I’ve been looking at Tobin Hall’s branch but I’m a little confused without knowing the spi functions and how to use them.
When you said that I wouldn’t want to feed 4 quadrature signals into the odrive it sounds like it is possible to overload a microcontroller with interrupts. Is there a good way to estimate the maximum frequency of interrupts a microcontroller can handle? I am looking at using an ESP32 or an atmega 328p to count encoder pulses and communicate over SPI. In the long run, I should probably switch over to what you said in your previous post but at the moment this is what I have to prototype with.
EDIT: Im guessing I have to read through the C files in the drivers folder for figuring out the functions I can call?