# \#stm32

**URL:** https://community.simplefoc.com/tag/stm32/14.md

[Latest](https://community.simplefoc.com/latest.md) · [Categories](https://community.simplefoc.com/categories.md) · [Tags](https://community.simplefoc.com/tags.md)

---

## [SimpleFOC stepstick](https://community.simplefoc.com/t/simplefoc-stepstick/4975)

<div class="topic-metadata">

**Author:** [@dekutree64](https://community.simplefoc.com/u/dekutree64)\
**Replies:** 79\
**Last updated:** [October 20, 2026, 11:20pm UTC](https://community.simplefoc.com/t/simplefoc-stepstick/4975 "2026-10-20T23:20:35Z")

</div>

Branching this topic before it takes over the SimpleFOC-StepMini thread. Yeah, I’d like to keep the cost as low as possible. That is helpful if we only need an encoder connector, but I may try for both anyway, or at l…

---

## [FOC BLDC Motor driver - 32V (fake!)](https://community.simplefoc.com/t/foc-bldc-motor-driver-32v-fake/8341)

<div class="topic-metadata">

**Author:** [@samuk](https://community.simplefoc.com/u/samuk)\
**Replies:** 2\
**Last updated:** [September 29, 2026, 6:49am UTC](https://community.simplefoc.com/t/foc-bldc-motor-driver-32v-fake/8341 "2026-09-29T06:49:41Z")

</div>

Looks like quite a nice one, already running SimpleFOC and a reasonable level of documentation

---

## [X-NUCLEO-IHM16M1/how does it work](https://community.simplefoc.com/t/x-nucleo-ihm16m1-how-does-it-work/7852)

<div class="topic-metadata">

**Author:** [@Jeffy](https://community.simplefoc.com/u/Jeffy)\
**Replies:** 1\
**Last updated:** [September 2, 2026, 8:11am UTC](https://community.simplefoc.com/t/x-nucleo-ihm16m1-how-does-it-work/7852 "2026-09-02T08:11:38Z")

</div>

Can I get true 6-PWM (TIM1 CHx + CHxN) working on the X-NUCLEO-IHM16M1 (STSPIN830)? I’m using the X-NUCLEO-IHM16M1 BLDC driver board, which is based on the STSPIN830, together with a NUCLEO-F446RE. In the STSPIN830 data…

---

## [B-G431-ESC1 Closed Loop Trouble](https://community.simplefoc.com/t/b-g431-esc1-closed-loop-trouble/8307)

<div class="topic-metadata">

**Author:** [@Itsme](https://community.simplefoc.com/u/Itsme)\
**Replies:** 3\
**Last updated:** [August 31, 2026, 4:28pm UTC](https://community.simplefoc.com/t/b-g431-esc1-closed-loop-trouble/8307 "2026-08-31T16:28:48Z")

</div>

Hi all, I have four each of B-G431-ESC1’s, Tarot TL2955 motors and an AS5047P magnetic encoder connected in ABI mode. I managed to get open loop working, closed loop after a bit of trouble (the issue was the pole pair c…

---

## [B-G431B-ESC1 with FPV 2205 14/7 pole motor and AS5600](https://community.simplefoc.com/t/b-g431b-esc1-with-fpv-2205-14-7-pole-motor-and-as5600/8301)

<div class="topic-metadata">

**Author:** [@deets](https://community.simplefoc.com/u/deets)\
**Replies:** 21\
**Last updated:** [August 31, 2026, 6:21am UTC](https://community.simplefoc.com/t/b-g431b-esc1-with-fpv-2205-14-7-pole-motor-and-as5600/8301 "2026-08-31T06:21:07Z")

</div>

Hey folks, I’ve setup the B-G431B-ESC1 with an old EMAX RS2205 I’ve got lying around that should have plenty of power for my application. I feed it with 15V. The motor has 14 magnets, and my understanding is this means…

---

## [St link soldering on B-G431B-ESC1](https://community.simplefoc.com/t/st-link-soldering-on-b-g431b-esc1/8065)

<div class="topic-metadata">

**Author:** [@ploopy246](https://community.simplefoc.com/u/ploopy246)\
**Replies:** 4\
**Last updated:** [August 11, 2026, 6:04am UTC](https://community.simplefoc.com/t/st-link-soldering-on-b-g431b-esc1/8065 "2026-08-11T06:04:41Z")

</div>

Hi everyone, I am working on a 3-DOF attitude control system for a satellite simulator using three B-G431B-ESC1 ESC boards driving Sunnysky V4008 380KV BLDC reaction wheels. I have removed the daughterboard (in hindsigh…

---

## [Help me take the first steps in a DIY HoloTile proyect](https://community.simplefoc.com/t/help-me-take-the-first-steps-in-a-diy-holotile-proyect/8276)

<div class="topic-metadata">

**Author:** [@Iker\_Martinez](https://community.simplefoc.com/u/Iker_Martinez)\
**Replies:** 11\
**Last updated:** [July 27, 2026, 12:19pm UTC](https://community.simplefoc.com/t/help-me-take-the-first-steps-in-a-diy-holotile-proyect/8276 "2026-07-27T12:19:13Z")

</div>

Ever since I saw Disney’s HoloTile, I knew I needed to experience it at least once. I think it has a lot of potential for VR and for me, it seems like the nicest solution to the problem of movement in VR that I’m aware o…

---

## [Made a large quadruped robot using custom SimpleFOC based drivers and BLDC motors](https://community.simplefoc.com/t/made-a-large-quadruped-robot-using-custom-simplefoc-based-drivers-and-bldc-motors/8249)

<div class="topic-metadata">

**Author:** [@Papouc](https://community.simplefoc.com/u/Papouc)\
**Replies:** 4\
**Last updated:** [July 24, 2026, 12:50pm UTC](https://community.simplefoc.com/t/made-a-large-quadruped-robot-using-custom-simplefoc-based-drivers-and-bldc-motors/8249 "2026-07-24T12:50:49Z")

</div>

Hi everyone, for the past two years, I have been building a large (comparable to spot) robotic dog. For financial and educational reasons, I decided to design and build almost all of the parts myself, which naturally le…

---

## [G431 ESC1 "ERR-MOT:Init not possible, driver not init"](https://community.simplefoc.com/t/g431-esc1-err-mot-init-not-possible-driver-not-init/8273)

<div class="topic-metadata">

**Author:** [@Leon\_Jiang](https://community.simplefoc.com/u/Leon_Jiang)\
**Replies:** 1\
**Last updated:** [July 23, 2026, 9:54am UTC](https://community.simplefoc.com/t/g431-esc1-err-mot-init-not-possible-driver-not-init/8273 "2026-07-23T09:54:27Z")

</div>

STM32G431 ESC1 driver.init() fails Hi, I have a G431 ESC1 motor driver. I’ve connected an AS5600 sensor to its I2C pads, connected the motor output pads to a 2804 gimbal motor, and it’s being powered by a 3s lipo. The i…

---

## [STM32F103RCT6 + MP6540H (simple example)](https://community.simplefoc.com/t/stm32f103rct6-mp6540h-simple-example/4711)

<div class="topic-metadata">

**Author:** [@POE](https://community.simplefoc.com/u/POE)\
**Replies:** 16\
**Last updated:** [July 20, 2026, 8:45am UTC](https://community.simplefoc.com/t/stm32f103rct6-mp6540h-simple-example/4711 "2026-07-20T08:45:19Z")

</div>

Hi all! I use a combination of STM32F103RCT6 + MP6540H, but even the simplest example (spinning at a given speed) does not work. My code for Arduino #include \<SimpleFOC.h\> /\* Переменные \*/ #define UART\_TX PA9 #…

---

## [Velocity motion control with magnetic sensor example not working](https://community.simplefoc.com/t/velocity-motion-control-with-magnetic-sensor-example-not-working/8267)

<div class="topic-metadata">

**Author:** [@Akshat\_Gupta](https://community.simplefoc.com/u/Akshat_Gupta)\
**Replies:** 6\
**Last updated:** [July 20, 2026, 7:36am UTC](https://community.simplefoc.com/t/velocity-motion-control-with-magnetic-sensor-example-not-working/8267 "2026-07-20T07:36:41Z")

</div>

Hi people, I am trying to run the velocity\_motion\_control magnetic\_sensor example. The problem I am facing is that the motor is not moving continuously as it should. The motor is trying to hold an angle randomly. I want…

---

## [Weak Torque in Voltage based position Control using B-G431B-ESC1](https://community.simplefoc.com/t/weak-torque-in-voltage-based-position-control-using-b-g431b-esc1/8248)

<div class="topic-metadata">

**Author:** [@SachinK](https://community.simplefoc.com/u/SachinK)\
**Replies:** 4\
**Last updated:** [July 7, 2026, 11:02pm UTC](https://community.simplefoc.com/t/weak-torque-in-voltage-based-position-control-using-b-g431b-esc1/8248 "2026-07-07T23:02:32Z")

</div>

I have SimpleFOC setup of 5010 BLDC Motor (7 Pole Pair, 360KV) B-G431B-ESC1 Driver AS5600 Sensor I am trying to do Position control with Voltage Control mode. The issue I am facing is that the motor is going to targe…

---

## [SimpleFOC sensorless fan for dealing with this summer's heat waves](https://community.simplefoc.com/t/simplefoc-sensorless-fan-for-dealing-with-this-summers-heat-waves/8240)

<div class="topic-metadata">

**Author:** [@Antun\_Skuric](https://community.simplefoc.com/u/Antun_Skuric)\
**Replies:** 6\
**Last updated:** [June 30, 2026, 9:15pm UTC](https://community.simplefoc.com/t/simplefoc-sensorless-fan-for-dealing-with-this-summers-heat-waves/8240 "2026-06-30T21:15:55Z")

</div>

Hi guys, We the recent heatwaves one can be stuck at home with no air conditioning and no fan. For those having a BLDC motor and a drone prop, SimpleFOC can provide a solution :smiley: #include \<Arduino.h\> #include \<S…

---

## [Phase Current Spikes on STM32G4 sensorless FOC Setup](https://community.simplefoc.com/t/phase-current-spikes-on-stm32g4-sensorless-foc-setup/8221)

<div class="topic-metadata">

**Author:** [@ElGuerrero91](https://community.simplefoc.com/u/ElGuerrero91)\
**Replies:** 0\
**Last updated:** [June 13, 2026, 2:49pm UTC](https://community.simplefoc.com/t/phase-current-spikes-on-stm32g4-sensorless-foc-setup/8221 "2026-06-13T14:49:06Z")

</div>

I’m working on a custom board with an STM32G4 and a 7‑cell Li‑ion setup to drive a motor using sensorless FOC. My phase‑current waveform is not clean — instead of a smooth sinusoidal shape, I’m seeing spikes in the phas…

---

## [B-G431B-ESC1 Rev C (MB1419C) confirmation needed on shunt resistance & current sense gain for foc\_current mode](https://community.simplefoc.com/t/b-g431b-esc1-rev-c-mb1419c-confirmation-needed-on-shunt-resistance-current-sense-gain-for-foc-current-mode/8179)

<div class="topic-metadata">

**Author:** [@ploopy246](https://community.simplefoc.com/u/ploopy246)\
**Replies:** 7\
**Last updated:** [June 13, 2026, 10:55am UTC](https://community.simplefoc.com/t/b-g431b-esc1-rev-c-mb1419c-confirmation-needed-on-shunt-resistance-current-sense-gain-for-foc-current-mode/8179 "2026-06-13T10:55:42Z")

</div>

Hi all, Update on my reaction wheel ACS project (3-DOF CubeSat attitude control, V4008 380KV outrunners, AS5600 sensors on shared I2C). Last time I was here I was sourcing diametric magnets (the modules I’d bought shipp…

---

## [B-G431B-ESC1 reaction wheel ACS, the fastest sensorless backup if AS5600 magnet doesn't arrive in time?](https://community.simplefoc.com/t/b-g431b-esc1-reaction-wheel-acs-the-fastest-sensorless-backup-if-as5600-magnet-doesnt-arrive-in-time/8175)

<div class="topic-metadata">

**Author:** [@ploopy246](https://community.simplefoc.com/u/ploopy246)\
**Replies:** 2\
**Last updated:** [June 5, 2026, 7:41pm UTC](https://community.simplefoc.com/t/b-g431b-esc1-reaction-wheel-acs-the-fastest-sensorless-backup-if-as5600-magnet-doesnt-arrive-in-time/8175 "2026-06-05T19:41:18Z")

</div>

Hi alll~ I’m building a 3-DOF attitude control system for a 1U CubeSat simulator as my final year project. The architecture is one B-G431B-ESC1, one Sunnysky V4008 380KV, and one AS5600 per axis, controlled by an ESP32 …

---

## [STM32G431CB not detected over SWD, solder bridge or something else?](https://community.simplefoc.com/t/stm32g431cb-not-detected-over-swd-solder-bridge-or-something-else/8083)

<div class="topic-metadata">

**Author:** [@ploopy246](https://community.simplefoc.com/u/ploopy246)\
**Replies:** 4\
**Last updated:** [June 4, 2026, 3:25pm UTC](https://community.simplefoc.com/t/stm32g431cb-not-detected-over-swd-solder-bridge-or-something-else/8083 "2026-06-04T15:25:16Z")

</div>

I’m trying to flash an STM32G431CB on a B-G431B-ESC1 ESC board for a reaction wheel-based attitude control system. So there’s three ESCs each. For every one, I soldered 4 wires to the J4 SWD pads (SWDIO, SWCLK, 3V3, GND)…

---

## [B-G431-ESC1 for high power Motors 70 000 rpm, 1.5 kW](https://community.simplefoc.com/t/b-g431-esc1-for-high-power-motors-70-000-rpm-1-5-kw/8166)

<div class="topic-metadata">

**Author:** [@Leo\_n](https://community.simplefoc.com/u/Leo_n)\
**Replies:** 0\
**Last updated:** [May 30, 2026, 11:09am UTC](https://community.simplefoc.com/t/b-g431-esc1-for-high-power-motors-70-000-rpm-1-5-kw/8166 "2026-05-30T11:09:20Z")

</div>

Dear SimpleFOC Community, While researching BLDC motor control methods, I came across the SimpleFOC community. Recently, I have been experimenting with sensorless FOC control of a small BLDC motor using the B-G431B-ESC1…

---

## [SimpleFOC Drive v1.3 for BLDC Control](https://community.simplefoc.com/t/simplefoc-drive-v1-3-for-bldc-control/8114)

<div class="topic-metadata">

**Author:** [@VikSauce](https://community.simplefoc.com/u/VikSauce)\
**Replies:** 10\
**Last updated:** [May 24, 2026, 3:46am UTC](https://community.simplefoc.com/t/simplefoc-drive-v1-3-for-bldc-control/8114 "2026-05-24T03:46:31Z")

</div>

Hello! As a disclaimer, I’m a complete beginner when it comes to this. I am trying to achieve closed loop velocity control of a 3 phase BLDC motor with a 3 channel hall sensor, and to that end I am using a nucleo 64 boar…

---

## [Help needed for closed loop BLDC velocity control with SimpleFOC](https://community.simplefoc.com/t/help-needed-for-closed-loop-bldc-velocity-control-with-simplefoc/8116)

<div class="topic-metadata">

**Author:** [@VikSauce](https://community.simplefoc.com/u/VikSauce)\
**Replies:** 7\
**Last updated:** [May 17, 2026, 1:47pm UTC](https://community.simplefoc.com/t/help-needed-for-closed-loop-bldc-velocity-control-with-simplefoc/8116 "2026-05-17T13:47:14Z")

</div>

Hello! I am currently struggling to achieved closed loop velocity control of a BLDC motor, and I due to my lack of experience I have not been able to figure out how to resolve my problem. Here is the problem: upon atte…

---

## [Help on Development guide for](https://community.simplefoc.com/t/help-on-development-guide-for/8097)

<div class="topic-metadata">

**Author:** [@markV9](https://community.simplefoc.com/u/markV9)\
**Replies:** 3\
**Last updated:** [April 27, 2026, 8:08pm UTC](https://community.simplefoc.com/t/help-on-development-guide-for/8097 "2026-04-27T20:08:46Z")

</div>

Hello everyone, I am quiete new to this forum, although I made a prototype project with SimpleFOC and the G431 ESC Kit. My plan is as follows: I am building a 4 wheeled robot with another fifth motor for other purpose …

---

## [The High Pitch Noise from the Motor while running the closed loop](https://community.simplefoc.com/t/the-high-pitch-noise-from-the-motor-while-running-the-closed-loop/8094)

<div class="topic-metadata">

**Author:** [@Sethuraj\_V](https://community.simplefoc.com/u/Sethuraj_V)\
**Replies:** 4\
**Last updated:** [April 27, 2026, 7:01am UTC](https://community.simplefoc.com/t/the-high-pitch-noise-from-the-motor-while-running-the-closed-loop/8094 "2026-04-27T07:01:22Z")

</div>

High-Pitched Noise in Closed-Loop FOC (Working System, No Current Sensing) Hi everyone, I’m working on implementing closed-loop Field-Oriented Control (FOC) using the SimpleFOC library on an STM32-based system. The cont…

---

## [TMC6200 SPI With Simple FOC](https://community.simplefoc.com/t/tmc6200-spi-with-simple-foc/4157)

<div class="topic-metadata">

**Author:** [@whitepawn](https://community.simplefoc.com/u/whitepawn)\
**Replies:** 11\
**Last updated:** [April 26, 2026, 8:27pm UTC](https://community.simplefoc.com/t/tmc6200-spi-with-simple-foc/4157 "2026-04-26T20:27:37Z")

</div>

Hi, I am planning to use XESC with Simple FOC firmware. I tested hardware with XESC test firmware and it works ok.MCU can communicate with TMC6200 and i also tested it with VESC firmware for it. The issue i am having …

---

## [STM32F446RE DRV8316CR Kicad Project](https://community.simplefoc.com/t/stm32f446re-drv8316cr-kicad-project/8082)

<div class="topic-metadata">

**Author:** [@AKA](https://community.simplefoc.com/u/AKA)\
**Replies:** 1\
**Last updated:** [April 22, 2026, 6:42am UTC](https://community.simplefoc.com/t/stm32f446re-drv8316cr-kicad-project/8082 "2026-04-22T06:42:39Z")

</div>

Hi everyone, I’m designing a custom BLDC driver board based on the DRV8316R (SPI version) and STM32F446RE. I’m planning to use it with the SimpleFOC library. Could you please check if there are any major flaws, especia…

---

## [Motor gets no power during Index search in motor.initFOC();](https://community.simplefoc.com/t/motor-gets-no-power-during-index-search-in-motor-initfoc/8087)

<div class="topic-metadata">

**Author:** [@TomE](https://community.simplefoc.com/u/TomE)\
**Replies:** 5\
**Last updated:** [April 20, 2026, 2:54pm UTC](https://community.simplefoc.com/t/motor-gets-no-power-during-index-search-in-motor-initfoc/8087 "2026-04-20T14:54:57Z")

</div>

Hi! TLDR; motor.initFOC() does not activate PWM. The motor does not spin and the Index search fails. Why? Did I miss something? Used hard and software Board: ST Discovery B-G431B-ESC1 Motor: Maxon EC 45 250 W Arduino …

---

## [Design Review Request -- STM32 Quadruped Dual-ESC](https://community.simplefoc.com/t/design-review-request-stm32-quadruped-dual-esc/8075)

<div class="topic-metadata">

**Author:** [@Nate](https://community.simplefoc.com/u/Nate)\
**Replies:** 2\
**Last updated:** [April 14, 2026, 10:45pm UTC](https://community.simplefoc.com/t/design-review-request-stm32-quadruped-dual-esc/8075 "2026-04-14T22:45:28Z")

</div>

Hello Everyone, I first want to say that this is my first post, and that I am a high school senior. So, I want to apologize in advance for any misconceptions, as my understanding of power electronics is mostly self-taug…

---

## [DRV8323RS with an STM32 or an Odrive S1](https://community.simplefoc.com/t/drv8323rs-with-an-stm32-or-an-odrive-s1/8062)

<div class="topic-metadata">

**Author:** [@IB\_Mr.0\_o](https://community.simplefoc.com/u/IB_Mr.0_o)\
**Replies:** 3\
**Last updated:** [April 13, 2026, 10:29pm UTC](https://community.simplefoc.com/t/drv8323rs-with-an-stm32-or-an-odrive-s1/8062 "2026-04-13T22:29:51Z")

</div>

Hi, I have a motor that is drawing more current than what the little MKS DualFOC can handle, at least that is the conclusion I came to after burning our several of them. I was using a 30V bench power supply that was set…

---

## [Algorithm setup, uneven movement in vilocity mode - FOCcurrent](https://community.simplefoc.com/t/algorithm-setup-uneven-movement-in-vilocity-mode-foccurrent/8063)

<div class="topic-metadata">

**Author:** [@avtopolet](https://community.simplefoc.com/u/avtopolet)\
**Replies:** 1\
**Last updated:** [April 9, 2026, 3:57pm UTC](https://community.simplefoc.com/t/algorithm-setup-uneven-movement-in-vilocity-mode-foccurrent/8063 "2026-04-09T15:57:08Z")

</div>

My hardware is STM32F407G-Discovery, L6234D, AS5048 SPI, motor - BGM2606-90T, inline current sense ACS70331. Open-loop velocity works well. I tested the sensor separately. The third digit changes, two decimal places are …

---

## [New Open hardware closed loop driver for Nema17 STM32G431CB](https://community.simplefoc.com/t/new-open-hardware-closed-loop-driver-for-nema17-stm32g431cb/3878)

<div class="topic-metadata">

**Author:** [@samuk](https://community.simplefoc.com/u/samuk)\
**Replies:** 35\
**Last updated:** [April 1, 2026, 5:05pm UTC](https://community.simplefoc.com/t/new-open-hardware-closed-loop-driver-for-nema17-stm32g431cb/3878 "2026-04-01T17:05:28Z")

</div>

This looks nice? https://creapunk.com/

---

## [Different current consumption](https://community.simplefoc.com/t/different-current-consumption/8048)

<div class="topic-metadata">

**Author:** [@Jose\_Aldahir\_Espinos](https://community.simplefoc.com/u/Jose_Aldahir_Espinos)\
**Replies:** 3\
**Last updated:** [March 31, 2026, 8:38pm UTC](https://community.simplefoc.com/t/different-current-consumption/8048 "2026-03-31T20:38:41Z")

</div>

Hello, I’m currently controlling a BLDC motor, specifically the MN4006-380KV, and I have a custom PCB. The problem I’m having is that the motor runs fine in both CW and CCW, but in CW it draws more current. If I rever…

[Next page](https://community.simplefoc.com/tag/stm32/14.md?match_all_tags=true&page=1&tags%5B%5D=stm32)
