How do you set up sensored six-step control? (in a kit, that supports it, but doesn't have an example file for it)
- March 9, 2022
- 3 replies
- 4689 views
I'm building a project around the B-G431B-ESC1 board, that claims to support hall sensored 6-step control, but in motor bench there are no example files for this (only sensorless electric speed control files). I know you are supposed to generate files in motor bench and then set six step control method in CubeMX. But when I do that, I get bunch of errors in CubeIDE that I'm missing many necessary library files. When I link them in project options for compiler files from different project (that is FOC and does have them), I get the same errors. When I go back to Motor Control and update the same project (which theoretically should add those needed libraries) it rewrites the code and sets the control method to FOC (like it would ignore anything you'd set inside CubeMX).
So my question is how to set up six step control?
I've spent enormous amount of time trying to resolve this, but to no avail.
