πŸ“’ SimpleFOClibrary v2.3.3 release

Hey guys,

We have been working hard for the last couple of months to finally we have the new library release, SimpleFOClibrary v2.3.3. :loudspeaker: : :tada:

Some of the most important features:

  • STM32 MCUs
    • support for center aligned pwm (even across multiple timers and motors/drivers) #374, #388
    • support for DMA based low-side current sensing: #383,#378
    • support for F7 architecture #388,#394
  • Teensy4 MCUs
    • support for low-side current sensing #392
    • support for center aligned 6pwm and 3pwm (optional) #392
  • KV rating calculation fix #347
    -Park/Clarke calculation refactoring for current sensing #340
  • And much more - see the complete list of bugfixes and new features of v2.3.3 fixes and PRs
  • Docs update

Changelog

  • Stm32 adc no interrupt by @Candas1 in #341
  • Foc refactoring by @Candas1 in #340
  • Kv rating fix by @nmscode in #347
  • Make timeout configurable in MagneticSensorPWM #348 by @runger1101001 in #354
  • Fix some constants, update library files for next release by @runger1101001 in #358
  • Prevent double constants by @Candas1 in #359
  • Add library.json to set libArchive #357 by @runger1101001 in #360
  • Add currentsense.enable/disable by @runger1101001 in #365
  • expose result of PP check by @runger1101001 in #368
  • RP2040: respect pin nrs on boards which remap them by @runger1101001 in #369
  • Fix bug in ATMega sine computation by @runger1101001 in #373
  • initFOC: remove unnecessary delay by @Schnilz in #370
  • [BUGFIX] Injected channel by @askuric in #371
  • Feat stm32 synctimers by @askuric in #374
  • Update stm32_mcu.cpp by @Candas1 in #378
  • Use interrupt if no repetition counter by @Candas1 in #383
  • Analogread by @Candas1 in #385
  • Add missing implementation for MagneticSensorI2C::AS5600 by @ystradmann in #389
  • Set STM32 timer prescaler based on timer clock frequency by @Copper280z in #388
  • Feat teensy4 lowside by @askuric in #392
  • Move Ualpha and Ubeta to FOCMotor by @Candas1 in #326
  • Add lowside current sensing for STM32F7 microcontrollers by @Copper280z in #394
  • new CI by @askuric in #396

New Contributors

  • @nmscode made their first contribution in #347
  • @Schnilz made their first contribution in #370
  • @ystradmann made their first contribution in #389

Full Changelog: see here

Thanks to all the contributors and to all the community members which participated in identifying bugs and proposing new features!

8 Likes

Thank you!

@Antun_Skuric

On #340, the log says no performance change, why is this more performant?

Cheers!
Valentine

Yeah this change is not improving the performance.
It reduces the duplication of the code.

You’re right!
I didn’t read the comments, I’ve just gone through the code and I was expecting it to improve performance. :smiley:
Sorry about the misinformation :smiling_face:

1 Like