You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,12 +27,14 @@ What is here? See the sections below. Each driver or function should come with i
30
27
31
28
-[TMC6200 driver](src/drivers/tmc6200/) - SPI driver for Trinamics TMC6200 motor driver IC.
32
29
-[DRV8316 driver](src/drivers/drv8316/) - SPI driver for TI's DRV8316 motor driver IC.
30
+
-[STSPIN32G4 driver](src/drivers/stspin32g4/) - I2C and BLDCDriver for the STSPIN32G4 integrated gate driver MCU.
33
31
34
32
### Encoders
35
33
36
34
-[AS5048A SPI driver](src/encoders/as5048a/) - SPI driver for the AMS AS5048A absolute position magnetic rotary encoder IC.
37
35
-[AS5047 SPI driver](src/encoders/as5047/) - SPI driver for the AMS AS5047P and AS5047D absolute position magnetic rotary encoder ICs.
38
36
-[AS5047U SPI driver](src/encoders/as5047u/) - SPI driver for the AMS AS5047U absolute position magnetic rotary encoder ICs.
37
+
-[AS5600 I2C driver](src/encoders/as5600/) - I2C driver for the AMS AS5600 and AS5600L absolute position magnetic rotary encoder ICs.
39
38
-[MA730 SPI driver](src/encoders/ma730/) - SPI driver for the MPS MagAlpha MA730 absolute position magnetic rotary encoder IC.
40
39
-[MA730 SSI driver](src/encoders/ma730/) - SSI driver for the MPS MagAlpha MA730 absolute position magnetic rotary encoder IC.
41
40
-[AS5145 SSI driver](src/encoders/as5145/) - SSI driver for the AMS AS5145 and AS5045 absolute position magnetic rotary encoder ICs.
@@ -63,11 +62,19 @@ Load and store SimpleFOC motor settings, based on register abstraction.
63
62
64
63
-[SAMD NVM storage driver](src/settings/samd/) - Store settings to the NVM flash memory in your SAMD MCU
65
64
-[CAT24 I2C EEPROM storage driver](src/settings/i2c/) - Store settings to CAT24 I2C EEPROMs
65
+
-[STM32 flash storage driver](src/settings/stm32/) - Store settings directly to STM32 on-board flash, currently supporting STM32G4 MCUs.
66
+
67
+
### Motor classes
68
+
69
+
Drive different kinds of motors, or use alternate algorithms to SimpleFOC's default BLDCMotor and StepperMotor classes.
70
+
71
+
-[HybridStepperMotor](motors/HybridStepperMotor/) - Drive stepper motors with 3 phases.
72
+
66
73
67
74
### Utilities
68
75
69
76
-[STM32 PWM Input driver](src/utilities/stm32pwm/) - PWM Input driver for STM32 MCUs. Accurately measure PWM inputs with zero MCU overhead.
70
-
77
+
-[STM32 CORDIC trig driver](src/utilities/stm32math/) - CORDIC driver to accellerate sine and cosine calculations in SimpleFOC, on STM32 MCUs which have a CORDIC unit.
71
78
72
79
## How to use
73
80
@@ -95,6 +102,16 @@ Find out more information about the Arduino SimpleFOC project on the [docs websi
95
102
96
103
## Release History
97
104
105
+
What's changed since 1.0.4?
106
+
- Added smoothing sensor by [@dekutree64](https://github.com/dekutree64)
107
+
- Added TMD6200 SPI driver by [@YaseenTwati](https://github.com/YaseenTwati)
108
+
- Added HybridStepperMotor by [@VIPQualityPost](https://github.com/VIPQualityPost)
109
+
- New Settings abstraction to load and save SimpleFOC settings and calibration
110
+
- New Settings driver: SAMDNVMSettingsStorage
111
+
- SimpleFOCRegisters abstraction, mapping SimpleFOC parameters to virtual "Registers"
112
+
- Updated I2CCommander to use the new registers abstraction
This driver initializes the PWM stage of the STSPIN32G4, and provides access to its configuration via I2C.
5
+
6
+
:warning: in development!
7
+
8
+
## Setup
9
+
10
+
Since there are currently no standard boards for Arduino based on the STSPIN32G4 you will need a custom board definition, associated linker script and project setup to compile for your board. These topics are out of scope for this driver, but you can find a working example for the [FunQi STSPIN32G4 board](TODO link) [here](TODO link);
11
+
12
+
Once you can compile for your board, and flash it with a "blinky" test sketch, then you're ready to try SimpleFOC and more complex code.
13
+
14
+
## Usage
15
+
16
+
Basic usage, as you can see it is very simple. Since the pins are all pre-defined due to internal connections, setup
17
+
is easier than with the standard drivers. Here is an example for open loop mode:
0 commit comments