📢 SimpleFOClibrary v2.2.3 is out

Hey guys,

SimpleFOClibrary v2.2.3 is out!
The aren’t any huge changes, it’s mostly a more stable (a lot of bugfixes :smiley: ) and improved version of v2.2.2.

Main features:

  • stm32 low-side current sensing
    • g4 supported
    • thoroughly tested f1/f4/g4 - #187
    • bg431b: added support for VBAT and TEMPERATURE readings #222
  • bugfixing
    • leonardo
    • mega2560 #190
    • inline current sense without driver #188
    • bg431b support current sense fix #210
    • StepperDriver4PWM wrong init #182
    • open loop back-emf voltage issue #219
    • SAMD51 compile issue #217
    • ESP32-S3 compile issue #198
    • ESP32 compile issue #208, #207
    • magnetic sensor direction finding more robust #173, #164
    • StepDirListener improved timing #169, #209
    • HallSensor velocity calculation fix #192
  • API changes
    • setPhaseVoltage is now public function
    • getVelocity can now be called as many times as necessary - see in docs
      • it recalculates the velocity if the time between calls is longer then min_elapsed_time - default 0.1ms
    • HallSensor velocity calculation outlier removal using max expected velocity velocity_max - see in docs
    • BG431 board can be used only with LowsideCurrentSense class! - see in docs
    • initFOC fails if current sense not initialised - see in docs
      • driver and current sense have to be well initialised for initFOC to start - see in docs
      • cs.init() and driver.init() return 1 if well initialised and 0 if failed

I just wanted to thank all of you guys once again for your support with all the bug fixing and signaling!

13 Likes