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
1
answer
74
views
When I try to debug using Arduino IDE for stm32 using stm32duino nucleo F767ZI throws error
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....
0
votes
2
answers
63
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
208
views
STM32 PWM on standard GPIO pins
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 ...
-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 ...
0
votes
0
answers
139
views
How can I display an image on a Waveshare ILI9486?
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 ...
1
vote
0
answers
477
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
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
1
answer
147
views
Rising and falling edge on GPIO_STM32G4
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 ...
1
vote
1
answer
1k
views
Arduino Bluepill STM32 spi doesn't work
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, ...
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
382
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 -...
1
vote
2
answers
3k
views
Difference between (*(volatile unsigned int *) and (volatile unsigned int)?
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 ...
0
votes
2
answers
1k
views
Blue pill acting as if it had 10bit ADC
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 ...
1
vote
1
answer
746
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
240
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 - ...
2
votes
0
answers
234
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 ...
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
76
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
749
views
How to switch HC-05 from DATA mode to AT mode?
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 ...
0
votes
2
answers
1k
views
STM32 and SDFat - Can't create file in directory in SD
I'm using the SdFat.h library on a STM32 and I can successfully create a file in the root directory using SD.open("test.txt", FILE_WRITE); but my code fails to create SD.open("DATA/data_test.txt", ...
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?
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
365
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/...