AM32 ESC firmware info and tuning
All mcu's have been combined to one project. Please use the new repository here.
Firmware for ARM based speed controllers
The AM32 firmware is designed for STM32 ARM processors to control a brushless motor (BLDC). The firmware is intended to be safe and fast with smooth fast startups and linear throttle. It is meant for use with multiple vehicle types and a flight controller. The firmware can also be built with support for crawlers. For crawler usage please read this wiki page Crawler Hardware
AM32 has the following features:
- Firmware upgradable via betaflight passthrough, single wire serial or arduino
- Servo PWM, Dshot(300, 600) motor protocol support
- Bi-directional Dshot
- KISS standard ESC telemetry
- Variable PWM frequency
- Sinusoidal startup mode, which is designed to get larger motors up to speed
-"make" - builds all targets -"make AM32_XXX_F051 builds" a speciic target -Github actions -Fork project and run the build action within github itself.
The latest release of the firmware can be found here.
To configure AM32 and upload firmware you can use the Multi_ESC config tool using Betaflight passthrough. They can be downloaded from here:
Alternately you can use the Online-ESC Configurator to flash or change settings with any web browser that supports web serial.
AM32 currently has support for STSPIN32F0, STM32F051, STM32G071, GD32E230, AT32F415 and AT32F421. The CKS32F051 is not recommended due to too many random issues. Target compatibility List can be found here (APR 2021)
To use AM32 firmware on a blank ESC, a bootloader must first be installed using an ST-LINK, GD-LINK , CMIS-DAP or AT-LINK. THe bootloader will be dependant on the MCU used ont he esc . Choose the bootloader that matches the MCU type and signal input pin of the ESC. The compatibility chart has the bootloader pinouts listed. Current bootloaders can be found here.
After the bootloader has been installed the main firmware from can be installed either with the configuration tools and a Betaflight flight controller or a direct connection with a usb serial adapter modified for one wire.
To update an existing AM32 bootloader an update tool can be found here.
There are two ways you can get support or participate in improving am32. We have a discord server here:
There's a dedicated Slack chat channel here:
https://am32-invite.herokuapp.com/
Etiquette: Please wait around long enough for a reply - sometimes people are out flying, asleep or at work and can't answer immediately.
If you wish to support the project please join the Patreon.
ESC Tune
ALL These Tunes are Done on a Test Turck and may not ork exactly for you build! further fine tuning may be required
Micro Komodo
This tune is great for the micro Komodo and was provided by one of our awesome drivers! Thanks Evan.
Set prot_stall to 3200
Furitek cedar
This is tune for the furitek cedar and it’s buttery smooth! Provided by Mitch!
Injora Fat Viper
This is the Injora Fatviper tune and it’s buttery smooth!
mofo nano beast
this tune will get you close to perfect. Make sure you set prot_stall to 3200
mofo nano Bam V2
Make sure to set prot_stall to 2500
also set volt_prot 28 for 2s and 35 for 3s
mofo pancake motor 2400 set Prot_stall to 3000
Furitek cedar V2 for V4 ESCs …. Make sure to set prot_stall to 3000
Mofo Valkyrie
BKTT icing Motor V1 3450 and new V1 3500
This Tune is for our Icing motor, it’s a perfect tune for our drop in kit.
BKTT Icing 2800KV V2
BKTT Icing V2 2800KV motor tuner this is a base tune and may not be perfect depending on the build.