The STM32 is a family of Microcontrollers using ARM Cortex processors by STMicroelectronics. There are multiple familys with different features and power: High Performance, Mainstream, Ultra-low-power and Wireless.
Questions tagged [stm32]
65 questions
4
votes
2 answers
STM32 "black pill" won't enter DFU mode reliably
I'm following the standard process to put an STM32 "black pill" (STM32F401CC) into DFU mode so that I can upload from the Arduino IDE over USB:
Hold down boot0.
Press and release rst.
Release boot0.
When the board is not in a circuit this works…
NeilenMarais
- 219
- 3
- 8
3
votes
1 answer
Program SMT32 black-pill without pushing buttons or propriatary devices
Are there any options for programming an STM32 black-pill from the Arduino IDE without first having to manually push buttons to go into DFU mode or having to buy an ST-Link device?
A solution that leverages a second micro-controller board (I have…
NeilenMarais
- 219
- 3
- 8
3
votes
1 answer
How to extract the binary from STM32 MCU
I have an already programmed STM32MCU. But I don't have the source code. I understand it is difficult to get the source code from the IC. I have heard some people can get the binary file from the IC which I can flash to another Arduino. Any guide or…
Dulara Malindu
- 131
- 3
3
votes
1 answer
Uploading arduino code to race drone flight controller
I am working on VTOL aircraft and currently I am looking for some good board as flight controller (FC). I could made it by myself, but it requests lot of time. I was thinking about one of fpv drone FC (I have avaiable this one:…
LucasN
- 71
- 4
3
votes
1 answer
programming STM32 with arduino IDE issues
I'm currently trying to program an STM32 with arduino, but along the way, i encountered some issues with pin modes. To be more specific, programming certain pins to certain modes. Some pins have consistent digital outputs like PC13, while others…
3MP The Rook
- 141
- 1
- 2
2
votes
0 answers
Ability to connect 2 or more w5500 Modules and deal with them as objects
I wish to create a rudimentary ethernet in/out - switch/hub where I can (sort of) daisy chain my boards. (I don't wish to use a ethernet switch/router/hub)
One port would be acting as server
The other would be acting as a client
(and forward any…
Ohbhatt
- 176
- 8
2
votes
0 answers
UDP packet loss and very high ping time
Scenario
I'm writing a code for Nucleo-144 F429ZI. It receives UDP packets (actually OSC bundles) and send back an answer when the command is completed.
Issues
It work fine most of the time. But there are two issues that sometime happen:
a message…
Mark
- 393
- 2
- 14
2
votes
2 answers
Am I at the limit of UART transmission time?
I'm currently using an STM32F103C8 (With an arduino core) to read 4 sensors at 1kHz, then send that data via UART (at 115200 baud) to another device. Each sensor returns a float, I also include an unsigned long representing milliseconds since boot…
nuggetbram
- 151
- 1
- 4
2
votes
1 answer
Connect SDRAM to STM32
Well, first of all hello to everything and thanks for reading my question. I am designing a board with STM32F730R8T6 MCU, and I want to connect MT48LC16M16A2P-6A to it which is 4MB SDRAM chip. The connections are pretty basic from what I saw, the…
Valentino Zaffrani
- 141
- 3
2
votes
3 answers
How to use ADC interrupt on STM32 blue pill
I'm currently using the STM32F1xx boards from http://dan.drown.org/stm32duino/package_STM32duino_index.json
To program my blue pill but I can’t find how to write the interrupt for the ADC. I’ve set the registers to output an interrupt when it…
Beacon of Wierd
- 123
- 7
2
votes
1 answer
problems with Blue Pill (stm32f103c8t6) direct register manipulation
I'm trying to access registers but I keep getting the "was not declared in this scope" error message.
I'm currently using the STM32F1xx boards from http://dan.drown.org/stm32duino/package_STM32duino_index.json
The board package does not seam to…
Beacon of Wierd
- 123
- 7
2
votes
0 answers
SG 90 servos randomly spinning
I started one project where i need 4 servos to control 4 grabbers jaws. i use STM32F103C8T6 with arduino IDE for programming it. The motor TZT Micro Servo 9g SG 90. First, I was playing with stepper motors to make them rotate how I want, then I…
Петар Варга
- 21
- 2
1
vote
0 answers
FTDI with STM32
I'm using the Arduino IDE to program my STM32 using an ST-Link. Everything works fine, but I can't receive any data from the STM32 in the Serial Monitor. So, I decided to use an FTDI232 for serial communication, but I'm not sure how to set it…
Aya
1
vote
0 answers
Sampling rate for Adafruit LSM6DSOX and Arduino MKR WIFI 1010
Please let me know if this post has the wrong tags, I will make sure to change it.
My goal is to get the highest sampling rate possible from the Adafruit LSM6DSOX (6667Hz) using the Arduino MKR WIFI 1010 and I2C communication.
This is the library I…
infinite_yeet
- 11
- 2
1
vote
0 answers
Sharing data between M4 and M7 on a Giga R1 at high speeds
I'm working on a project to implement an attitude controller for a quadcopter. Loop times are extremely important as you can imagine.
I already have tested code for a cascading controller (inner loop does angular rate, outer does attitude) for a…
246tnt
- 21
- 1