Small announcement:
The dev branch of SimpleFOC now supports Raspberry Pico 2 and, more generally its RP2350 MCU.
Angle: 119.76.Iter/s: 51338
Angle: 124.76.Iter/s: 51278
Angle: 129.78.Iter/s: 51387
Angle: 134.78.Iter/s: 51390
Angle: 139.78.Iter/s: 51397
51390 iterations per second in FOC-voltage mode with SPI encoder. That’s pretty good
To use it, please use the earlephilhower core for Raspberry Pico, for example in PlatformIO via Max Gerhard’s integration:
Example platformio.ini:
[env:pico2]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipico2
framework = arduino
board_build.core = earlephilhower
lib_archive = false
For now you will need the dev branch of SimpleFOC if you want to try it out, but it will be part of the next release.