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.
65 questions
0
votes
2
answers
61
views
How to instantiate a 2nd serial port on STM32 Nucleo-C092RC
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 ...
0
votes
1
answer
49
views
Problems reading WNK811 i2c sensor on arduino using wire library without device library
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 ...
-1
votes
1
answer
206
views
How many FPS I can theoretically get for streaming frame from OV7670 with this setup?
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 ...
1
vote
0
answers
175
views
FTDI with STM32 [closed]
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 ...
0
votes
2
answers
407
views
ArduinoModbus / RS485 conflict between Serial and Serial1
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 ...
0
votes
1
answer
469
views
Adding a custom platform to PlatformIO
How can I add the STM32duino core as a custom platform to PlatformIO?
1
vote
0
answers
476
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 ...
0
votes
4
answers
312
views
Can arduino be used in industrial projects?
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 ...
1
vote
0
answers
381
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 -...
4
votes
2
answers
4k
views
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.
...
1
vote
0
answers
37
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-...
-1
votes
1
answer
429
views
variable 'LiquidCrystal_I2C lcd' has initializer but incomplete type
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:
...
1
vote
0
answers
93
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 ...
1
vote
1
answer
713
views
Serial Monitor in Arduino works, but other Serial Terminal work only one way
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# ...
1
vote
0
answers
186
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 ...
1
vote
0
answers
75
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:
...
0
votes
1
answer
7k
views
STM32f4 Warning: The core is locked up
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 : ...
1
vote
0
answers
189
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 ...
1
vote
1
answer
745
views
Stm32 Blue Pill Internal reference voltage Arduino IDE
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.
1
vote
0
answers
95
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, ...
2
votes
2
answers
2k
views
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 ...
2
votes
1
answer
364
views
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 ...
2
votes
1
answer
342
views
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/...
3
votes
1
answer
2k
views
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 ...
1
vote
0
answers
294
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 ...