Hi! I just came across the set-up code for using SimpleFoc with the DRV8302 driver board, and i noticed these lines:
// configure driver
driver.voltage_power_supply = 12;
driver.init();
motor.linkDriver(&driver);
How does internally the code limits or sets the voltage for the motors?
Let’s say my power supply is set to 33V, but I want to set the max to 30V? Is it possible? How does it work in the driver internally? It limits the max PWM? Does it measure the real voltage?
Thanks!