Hi, I have an STM32H750VBT6 and a DRV8302 driver board. My understanding is that stm32 and the board should both support low side current sensing. I have wired the board mostly following this example, but swapped some pins to use my stm board instead: drv8302_example
The code is based on the stm32_current_control_low_side example in arduino, my code is here:
Untitled - Pastebin.com - some pins are changed because my dev board only exposes a single row of pins.
I am able to run the motor in open loop mode with the web GUI, but as soon as I try to enable current control I get this message: ERR: Low-side cs not supported!
From reading the forums I understand that this line comes from here when using the generic mcu driver Arduino-FOC/src/current_sense/hardware_specific/generic_mcu.cpp at fb0be07488ed26db7cbc16dff0ef43c30bda818c · simplefoc/Arduino-FOC · GitHub
I see that in the hardware specific folder there is no folder for the stm32h7. Does this mean its not supported at all? How would one go about adding support?