Skip to main content

Questions tagged [stm32]

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.

29 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
1 answer
790 views

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 ...
NeilenMarais's user avatar
2 votes
0 answers
185 views

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 ...
Ohbhatt's user avatar
  • 176
2 votes
0 answers
193 views

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 ...
Mark's user avatar
  • 393
2 votes
0 answers
390 views

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 ...
Петар Варга's user avatar
1 vote
0 answers
21 views

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 ...
infinite_yeet's user avatar
1 vote
0 answers
200 views

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 ...
246tnt's user avatar
  • 21
1 vote
0 answers
202 views

Blackpill stm32F411 doesn't enter boot mode anymore

I cannot enter boot mode with my BlackPill F411 board anymore. It's currently running one my sketch successfully uploaded few weeks ago but now, I don't know what's happen. I've read this post which ...
fralbo's user avatar
  • 111
1 vote
0 answers
238 views

fatal error: avr/io.h: No such file or directory (on Windows 11)

So I'm using arduino 1.8.18 installed on zip file. I am using the HardWire library. The project is the STM32 quadcopter by joop brokking. http://www.brokking.net/ymfc-32_downloads.html complete error -...
IshA's user avatar
  • 11
1 vote
0 answers
25 views

Any libraries exist for easy configuration via USB?

I have a device that would really benefit from a USB configuration tool. I'm envisioning "plug it into a PC, and it appears as a storage device with a YAML config file". Are there any ready-...
K4KFH's user avatar
  • 181
1 vote
0 answers
70 views

Flight controller board Reprogram

Recently in my scrap yard visits, more and more I find cheap quad-copters and remote controllers of all kind. I have built up quite a collection of boards and spare parts to create my own army of ...
GiuBu's user avatar
  • 11
1 vote
0 answers
181 views

Could not find AHT? Check wiring! How do i connect an AM2315C - Encased I2C Temperature/Humidity Sensor to a STM32F103C8T6?

am a little new at this so i sincirely need your help. So I have a temperature & humidity sensor i got from http://www.aosong.com/en/products-70.html which is probably based on the AM2315C - ...
Agent 96's user avatar
1 vote
0 answers
136 views

STM32 "blue pill" st-flash error

I am trying to flash STM32 "blue pill" using arduino IDE as mentioned in the link https://www.onetransistor.eu/2017/11/stm32-bluepill-arduino-ide.html#no-bootloader Basically using MX linux ...
Deepak Kumar's user avatar
1 vote
0 answers
64 views

Prevent timeout while exchange data between two stm32

I am trying to exchange data (str data) between two STM32 throughout Lora connectivity. Both STM32 has a lora module and the connection between them is working fine. Based on two functions: ...
falcon_977's user avatar
1 vote
0 answers
147 views

AT+IPSCAN HC-05 Command

I have a HC-05 module, directly connected to an STM32 via UART interface and connected simultaneously to a mobile application in order to exchange real time data. I am trying to reduce the power ...
falcon_977's user avatar
1 vote
0 answers
385 views

Receiving DMX512 on STM32F103C8

tl;dr: trying to receive DMX512 (via a RS485 module) on a STM32 and not going well. I am trying to modify the firmware of a commercial lighting fixture with a STM32F103C8 clone as it's MCU. It ...
TheAutomator's user avatar
1 vote
0 answers
161 views

NRF24L01+PA+LNA communication problem

I'm trying to communicate between two NRF24L01+PA+LNA modules. I know that NRF24L01+PA+LNA modules are consuming a lot of power and here is my 3.3V power circuit. The LM317 datasheet says it can ...
Alatriste's user avatar
  • 111
1 vote
0 answers
90 views

SIM phone DTMF Signal Frequency Problem

Is there a DTMF signal detection method in the smartphone [SIM] call?ex) keypad value or signal value [not frequency signal] If you press the keypad button while you're on the phone with two iPhones, ...
cris's user avatar
  • 11
1 vote
0 answers
35 views

RFMesh (NRF24) for STM32F1

I wanted to know the RFMesh library available for Arduino Uno can be used for STM32F1? Will it work? Or they have seperate set of library for STM32
Next-93's user avatar
  • 63
1 vote
0 answers
280 views

Problems connecting nodemcu esp8266 on my laptop

I have a new laptop and didn't run any development boards on it except some Arduino boards. But now, I have only nodemcu esp8266 and maple mini boards and trying to connect them but I get error ...
R1S8K's user avatar
  • 283
1 vote
0 answers
255 views

Problem with using SD and Adafruit_SSD1306 libraries at the same time

I am searched over the internet and found out a few similar questions, but non of them were helpfull, so I decided to open a new quetion. I tried both SD and Adafruit_SSD1306 libraries and they both ...
LucasN's user avatar
  • 71
1 vote
0 answers
291 views

Problem with Adafruit_SSD1306 library in .h fie

I have a project which includes OLED display, so I decided to use Adafruit_SSD1306 library. But I have problem with compiling code, which uses this library, in another .h file. When I use this library ...
LucasN's user avatar
  • 71
1 vote
0 answers
899 views

STM32F103 (Blue Pill) with stm32duino + BME280 + SSD1306 strange behavior

I'm going crazy trying to understand some strange reads from BME280 sensor. With this code: #include <SPI.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <...
GinoC's user avatar
  • 111
1 vote
0 answers
543 views

STM32duino Can bus library

I couldn't find any library for can bus for STM32duino (Maple Mini) on arduino or even on STMcubeIDE I found one library on github but it doesn't compile it has a lot of error (its a fork of the ...
Jwdsoft's user avatar
  • 111
1 vote
0 answers
434 views

Using Arduino Sensors with STM32 based NUCLEO boards

Right now I'm programming an Arduino Uno Rev3, I'm using a Sensor Shield v5 (image at the bottom) to be able to have several Ultrasonic sensors and Servos. Right now I'm thinking about getting a ...
Laszlo's user avatar
  • 11
1 vote
0 answers
98 views

STM32Ethernet UDP misses some packets

Using STM32Duino on Nucleo F429ZI: #include <LwIP.h> #include <STM32Ethernet.h> #define UDP_TX_PACKET_MAX_SIZE 512 #include <EthernetUdp.h> IPAddress remoteIP; unsigned int ...
Mark's user avatar
  • 393
0 votes
0 answers
1k views

Stm32 Blue Pill Internal ADC Voltage Reference Configuration

I am programming an STM32F103C8T6 Board in Arduino IDE. I want to change the value of the internal Voltage Reference for the ADC. How can I achieve this in Arduino ide?
Souradeep Das's user avatar
0 votes
0 answers
42 views

Why does this scope-based timer not work as intended?

I wrote the following scope-based timer to help me profile my code and improve its efficency, but in testing I found that it reports durations far shorter than it should: class CodeTimer { public: ...
ifconfig's user avatar
  • 103
0 votes
1 answer
331 views

delayMicroseconds not working on STM32F103C8T6

Due to the fake STM32F103C8T6 module in the market, the delayMicroseconds function is working qucker than expected, when I expect a delay of 1000 us , I get a delay of 500 us. Is there a better method,...
Sourabh Misal's user avatar
-1 votes
0 answers
19 views

RTC Crystal Severe Timing Inaccuracy

The issue is that my RTC 32.768KHz Crystal is oscillating at ~31.5kHz to 33kHz. This range includes using different load Capacitors while trying to troubleshoot. This was verified using the RTC_output ...
Kevin Lupercalia's user avatar