hello everyone, hope you all have a great day today!
i’m trying to use simple FOC library with my STM32F103C6T6 not the " C8 bluepill" one. im using arduino IDE (as my skill set is not good enough for messing with platform IO). i use this mcu because it’s dirt cheap like 2$ and readily available in my country.
i have storm32 bgc and have a sucess controling 3 motors in open loop 3 PWM mode, when i try to use the C6 it won’t compile as it says ‘FLASH’ overflowed, then i try using C8 one with 72KB flash it won’t compile either… i’m using open_loop_velocity_example using 3 pwm driver using PA8, PA9, PA10 pin.
i’d try to flashing to different bootloader, first i use HID bootloader by Serasidis. after it won’t compile i change to the rogerclarkmelbourne one it’s say ‘FLASH’ overflowed again haha getting a little frustated in here
ah yeah i use Arduino IDE 2.03 version (latest), the board manager is STM32 MCU based boards by STMicroelectronics version 2.30 (latest) and Simple FOC library version 2.2.3 (latest)
does changing the Arduino IDE version or the board manager can fix this?
i want to build a servo driver for 3d printer X and Y axis, i need around 150rad/s with 12s18p motor. im thinking to use AS5048A encoder, a step/dir listener, current sense and 6pwm driver is a bonus
i’m trying to keep the cost down as low as possible, the size of the board doesn’t really matter. any suggestion?