Need Help with FOC Using STM32F407 and TMC4671/TMC6200 Boards

Hi everyone,

I’m working with an STM32F407 microcontroller and I have TMC4671 eval and TMC6200 bob boards. My goal is to implement Field Oriented Control (FOC) using these boards. However, I’m having trouble because I don’t have much knowledge about these specific boards and how to integrate them together.

Could anyone help me understand how to set up FOC with these boards, or share any resources, examples, or advice?

Thanks in advance!

I don’t have any knowledge about these boards either, but I just spent 15 minutes looking at the data sheets for all three, and from the 2nd page of the TMC6200 it looks like the uP communicates with both TMC boards via SPI, and it also shows the high level connection between TMC boards. There is a nice intro to FOC in the TMC4671 data sheet (that I’d like to reread more carefully) and that should help you understand the meaning of its registers. And from the STM data sheet it looks like it has plenty of SPI ports. You could probably learn a lot by studying the example circuits as well.