5,704 questions
0
votes
0
answers
13
views
Unable to transmit data with USART2 in STM32 NUCLEO-F072RB board
I have been trying to transfer data via the USART2 module through the RX/TX (PA2/PA3) pins.
Even though the configs are the same (9600, 8N1), and also the function returns HAL_OK, I still could not ...
0
votes
0
answers
26
views
ADC DMA does not work after wake up STM32
I am facing the issue that ADC DMA cannot work even I try re-init in many ways.
Information:
STM32L476
Stop mode and wake up via RTC
Can re-init USB so the terminal still works
Clock configuration
...
0
votes
1
answer
39
views
STM32 - I2S: Read signal from INMP441
I'm using STM32F103C8T6 to receive the signal from INMP441 with I2S. Using Standard Periph Library with keilC. I configured GPIO, I2S, Usart, I want to get data from INMP441 then send it to esp32 ...
2
votes
0
answers
39
views
I can't figure out why my stm32 spi peripheral is not working
So i am learning the stm32f103c8t6 board, and after having used the hal, i am trying to create my own peripheral driver, but i can't seem to get the spi working, I am trying to communicate with an spi ...
2
votes
0
answers
64
views
DS3234 incorrect value on STM32
I am trying to use a DS3234 with a STM32. (on STM32CubeIDE)
Is answer me with some value but for some reason,
Every value is divided by 2 except for the month.
Second are updated every two (real)...
0
votes
0
answers
35
views
"arm-none-eabi-gcc: fatal error: no input files" PlatformIo x STM32
I am trying to use platformIo with vsCode on Windows. I managed to compile it twice, but now I get the same error, even after cleaning everything or deleting the .pio file. I also tried the command ...
-1
votes
0
answers
48
views
M5 Stack GNSS Module [closed]
How can I use the GNSS Module from M5 Stack with Arduino or STM32? There is little to none documentation on how to configure the I2C to be able to communicate with microcontrollers.
I have tried to ...
0
votes
1
answer
73
views
Systemview Continuous Recording over UART
Im trying to implement Continuous Recording for systemview over UART on an STM32F103. my application is using FreeRTOS v11. I am able to successfully get data in snapshot mode and view it in ...
0
votes
0
answers
48
views
On STM32MP257F-DK, when loading a zephyr image to an M33 remoteprocessor, I cannot get /dev/ttyRPMSG0 to appear on linux A class host with openAmp
I'm pretty new to embedded development.
I'm trying to set up a really basic 'Hello world' image for my M33 core on STM32MP257F-DK. My Linux A image has remoteproc set up, and rpmesg.
Why is /dev/...
2
votes
1
answer
75
views
What would cause peripheral register writes to be ignored on STM32?
I have an STM32G491RE Nucleo board and I'm trying to make the LED blink without any libraries, following tutorials like this and this.
Here's the datasheet for STM32G4.
And here's my basic LED blink ...
2
votes
0
answers
57
views
Sample project with STM32CubeMX (CMake) code generation for STM32F407G-DISC1 [closed]
I am generating code from STM32CubeMX (CMake projecct) and keeping it is separate folder. What CMake code so I now need in my App so that I can use generated code from the STM32CubeMX, and write my ...
1
vote
0
answers
61
views
OpenOCD - STLink V2 vs V3 - Clock rates
I'm attempting to erase & program a STM32H7x using a STLink V3Mods and OpenOCD (a recent official release).
It fails with a "read version fails".
When i try using a STLink V2 (host, ...
0
votes
1
answer
38
views
How to decode the bidirectional DShot eRPM telemetry waveform from an ESC?
I’m working on decoding the bidirectional DShot (bidir DShot) telemetry signal from an ESC.
I’ve read the article DSHOT - the missing Handbook, which explains that the ESC sends back a 21-bit ...
-2
votes
1
answer
160
views
Local variable in .c file overwrites memory address previously aquired in ARM GNU assembly file [duplicate]
I have implemented a basic FIFO data structure with its related functions/subroutines in a FIFO.s file and want to use them in the main function inside a main.c file;
// FIFO.s
.syntax unified
.cpu ...
0
votes
1
answer
50
views
Error Installing specific library in PlatformIO extension for VSCode
Currently running PlatformIO inside of VsCode on my Arch Linux machine for an embedded project. I'm coming from Arduino/ESP32 dev and my hope is to use my Nucleo-l476rg dev board within the arduino ...