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.

Filter by
Sorted by
Tagged with
0 votes
2 answers
69 views

I am trying to use two serial ports on the STM32 Nucleo-C092RC, but the 2nd serial port (i.e. USART1) is completely silent (USART2 is the default serial port used by STLink/VCP/USB on the C092RC). No ...
B M's user avatar
  • 13
0 votes
1 answer
80 views

I am trying to debug using Arduino IDE through STM32Duino for my STM32 Nucleo-144 F767ZI. The code is uploaded successfully, but upon pressing debug, I get this error. Waiting for gdb server to start....
Tejas A's user avatar
0 votes
1 answer
52 views

I am trying to read a WNK811 pressure sensor connected by i2c to an STM32 Nucleo F401RE, programmed as arduino. The WNK811 is a Chinese device, the device datasheet is highly minimal (inadequate in my ...
B M's user avatar
  • 13
0 votes
1 answer
214 views

I'm using an STM32F407ZET6 with the Arduino core support in PlatformIO. CPU has an external 8MHz crystal running at 168MHz. I have a project where I'm already using UART1, I2C1, SPI2 and SDIO (1Hz ...
Joe's user avatar
  • 61
-1 votes
1 answer
208 views

Setup: OV7670 -> STM32F103... --USART--> ESP01 --UDP--> Gateway --> Internet --> Server I want to achieve a real-time streaming experience. Here is my analysis: According to the ...
Muhammad Ikhwan Perwira's user avatar
0 votes
1 answer
150 views

I'm using a Nucleo-H755ZI-Q. I used it together with Platformio and Arduino framework. In order to get Arduino to work I'm using this setup: [env:nucleo_h743zi] platform = ststm32 board = ...
acroscene's user avatar
1 vote
0 answers
177 views

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 ...
user avatar
0 votes
0 answers
140 views

I am using STM32 and 3.5 inch TFT display (Waveshare ILI9486) and I want to display an image and I have connected the SD card. How to do using the Arduino IDE? For now I am trying to fetch a word from ...
Sharan k's user avatar
0 votes
2 answers
412 views

I am attempting implement ArduinoModbus on my STM32 Poternta H7 using the breakout board. Its well documented that in ArduinoRS485 that the RS485 object is hardwired. If you are using the PH7/Breakout ...
Dave by 2's user avatar
1 vote
0 answers
61 views

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
0 votes
1 answer
473 views

How can I add the STM32duino core as a custom platform to PlatformIO?
Ali.kavari76's user avatar
-1 votes
1 answer
262 views

I do not know that this is a good place for asking question but I have a 3 axis magnetometer IIS2MDC. I used this with Arduino. I downloaded the library IIS2MDC.h in Arduino IDE. I used example code ...
EDExpert's user avatar
1 vote
0 answers
480 views

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
1 answer
149 views

I am working with STM32G491RE.I am giving pulse to GPIO pin from function generator. That pulse will be 2 msec on time and 8msec off time.I need to make flag high if the signal from function generator ...
Sireesha's user avatar
0 votes
4 answers
313 views

I'm developing an industrial project and my programming knowledge is limited to arduino. I'm planning to use either Atmega328 or STM32F103C8T6 chip in my pcb and to program it using arduino IDE. My ...
vignesh vignesh's user avatar
2 votes
0 answers
330 views

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
1 vote
0 answers
385 views

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
3 votes
1 answer
1k views

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
4 votes
2 answers
4k views

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. ...
NeilenMarais's user avatar
1 vote
1 answer
1k views

Has anyone successfully use SPI1 of those pins? SCLK -> PB3 SDIO -> PB5 SDO -> PB4 MISO CS -> PA15 I've tried to use another side of SPI1 pins on the other sides of the board (PA4, 5, ...
Settasak's user avatar
1 vote
0 answers
37 views

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
2 answers
3k views

I have been watching tutorials on STM32 bare metal programming. I couldn't understand the purpose of the below code #define RCC_AHB1EN_R (*(volatile unsigned int *)(RCC_BASE + AHB1EN_R_OFFSET)) and ...
Just doin Gods work's user avatar
-1 votes
1 answer
432 views

I have a problem with lcd, I have NUCLEO64 L746RG , I have Lcd Display and I2C connected to it. When I verify code it gives me and long error and I can not find the solution or cause of this error: ...
kristian311's user avatar
0 votes
2 answers
1k views

I just got myself a STM32F103C8 Blue pill board. I am having funny behaviour with the analog readings. It behaves as if the unit was 10bits and not 12 bits. I uploaded the very trivial Arduino code ...
Noel's user avatar
  • 163
1 vote
0 answers
93 views

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
241 views

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
1 answer
718 views

I have a Arduino code working on a Adafruit Feather STM32F405 Express, and as long as I test it with Arduino serial Monitor, everything works perfect. As I want to use a serial terminal (a C# ...
2diabolos.com's user avatar
2 votes
0 answers
234 views

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
1 vote
0 answers
186 views

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
36 views

I am trying to use the Arduino IDE 1.8.15 to program my Arduino. When I download the following code along with the libraries from the same link: https://github.com/SolidGeek/VescUart and using the ...
Dave's user avatar
  • 69
1 vote
0 answers
76 views

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
0 votes
1 answer
2k views

I have some problem with Arduino uno and asked here, so I have tried to work by my STM32F103C8 as alternative board, and solved my problem by this question: Arduino Port Not detected and can not run ...
Soheil Paper's user avatar
0 votes
1 answer
7k views

I built a custom board that uses a STM32F411CEU6. My problem is that tried to upload a simple blink sketch (I'm using Arduino IDE with STM32 libraries) and I get the error: ST-LINK SN : ...
Miguel's user avatar
  • 209
0 votes
1 answer
751 views

I am asking how to enter from the data mode to the AT command mode without restarting and disconnecting any power supply. In other words, I am trying to make a driver to handle HC-05 module and now I ...
falcon_977's user avatar
1 vote
0 answers
189 views

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
560 views

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
1 answer
748 views

I want to use the internal reference voltage (1.2V) of stm32f103 blue pill using Arduino IDE. I searched the whole internet but couldn't find anything. I need help with this. Thanks.
Farhan's user avatar
  • 11
1 vote
0 answers
203 views

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
95 views

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
1 answer
453 views

I have installed the library of TimerInterrupt_Generic for ArduinoSTM32 module via Arduino IDE, so i have tried to test the example of library as you can see below: and i have gotten this error: ...
Soheil Paper's user avatar
2 votes
2 answers
2k views

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

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
2 votes
1 answer
366 views

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 ...
Valentino Zaffrani's user avatar
2 votes
3 answers
2k views

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 ...
Beacon of Wierd's user avatar
2 votes
1 answer
343 views

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/...
Beacon of Wierd's user avatar
2 votes
0 answers
463 views

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
3 votes
1 answer
2k views

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 ...
Dulara Malindu's user avatar
1 vote
0 answers
344 views

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
295 views

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
1 answer
11k views

I am running the blinking LED program with stm32duino, and an STM32. By trial and error, and a bit of debugging, I have worked out the following: pin C13 blinks as well as the built in LED (except ...
Alex028502's user avatar