Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
58 views

I have two possible interpretations of how the USB BTABLE and PMA layout work on the STM32F103. I will provide two diagrams (Figure A and Figure B) to illustrate the scenario. STM32F1 USB PMA Scenario:...
rd-dev's user avatar
  • 1
0 votes
0 answers
64 views

I'm reading RM0492 Rev 3 about I2C's controller transmitter. The original words on the page of 1185 are When RELOAD = 0 and the number of data bytes defined in NBYTES[7:0] is transferred: • In ...
fbbf's user avatar
  • 21
1 vote
0 answers
93 views

I am getting the following error (debugger output) when i try to do "ST_LINK: attach to application" in vscode. I have no idea what is going on. Any help is greatly appreciated. I use WSL ...
federico1234991's user avatar
Advice
1 vote
0 replies
44 views

The STM32H573 Ethernet HAL (header implementation) defines a callback, HAL_ETH_RxLinkCallback(), that it appears to call after it discovers that the hardware has populated a data buffer with received ...
personal_cloud's user avatar
0 votes
0 answers
65 views

I'm using the board NUCLEO-H563ZI paired with an RVA35HI screen. When I first created the project and generated the code, I could download the TouchGFX project using the TouchGFX application with the &...
Davide Vuaran's user avatar
0 votes
0 answers
37 views

we made a code in STM32CUBEIDE to control the ADC/I2C of our datalogger test but we have a problem because when we run the code, in line 156, the string ‘voltage_ch0’ gives us a value of 0 and nothing ...
Brii's user avatar
  • 1
Advice
0 votes
0 replies
39 views

I applied the ST FWU reference solution on our own platform based on the STM32MP157F. I have a few questions to clarify the default behavior: What is the default behavior in the early boot stage? Do ...
user3518295's user avatar
0 votes
0 answers
58 views

I'm using an STM32F103 with the Arduino STM32 core. The built-in EEPROM emulation works, but the default EEPROM size is limited to 2048 bytes. I want to increase the available EEPROM size for STM32F1, ...
Nejc Okorn's user avatar
1 vote
0 answers
152 views

TX works and prints info in console (I use Putty) but when I send on STM and echo I don't receive anything (and when I write symbols in console they don't appear). Baud rate and other config settings ...
Крафти's user avatar
0 votes
0 answers
49 views

In FreeRTOS, I want to create several tasks inside the task AppTaskCreate. If the priority of AppTaskCreate is lower than that of the tasks it creates, will the created tasks start executing and cause ...
pray's user avatar
  • 1
3 votes
1 answer
150 views

I am homebuilding a USB driver on STM32. I have managed to get the device to enumerate which is awesome, but only when I disable all the strings (set all ID's to 0). Right now, when I set ...
Eman's user avatar
  • 303
0 votes
0 answers
41 views

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 ...
Tarık Esen's user avatar
0 votes
0 answers
67 views

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 ...
Nguyễn Phùng Thái Cường's user avatar
0 votes
1 answer
82 views

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 ...
Do Quang Vinh's user avatar
1 vote
0 answers
72 views

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 ...
Ogieleguea Hillary's user avatar
2 votes
0 answers
80 views

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)...
Thomas BRUDER's user avatar
0 votes
0 answers
51 views

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 ...
Paulo971's user avatar
0 votes
1 answer
93 views

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 ...
Zain Noman's user avatar
2 votes
1 answer
87 views

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 ...
371273's user avatar
  • 5,468
2 votes
0 answers
88 views

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 ...
Rovo's user avatar
  • 95
0 votes
0 answers
51 views

I have a project for a custom board with an STM32H757xI and a QUADSPI additional memory. It was generated with TouchGFX Designer so all the configuration is for STM32CubeIDE, but I'm trying to port it ...
Yozora's user avatar
  • 27
0 votes
0 answers
92 views

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, ...
thecoder's user avatar
0 votes
1 answer
66 views

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 ...
Raul Alimbekov's user avatar
-2 votes
1 answer
172 views

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 ...
student signup's user avatar
0 votes
1 answer
90 views

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 ...
rrrandolphhh's user avatar
3 votes
0 answers
130 views

I’m currently working on an application using the STM32G031xx MCU and need to ensure IEC 60730 Class B compliance for safety-critical software. I found the X-CUBE-CLASSB-G0 (v4.0.0) library and have a ...
Aayush's user avatar
  • 49
1 vote
0 answers
70 views

During a STM32CubeIDE launch sequence, a proprietary version of GDB runs, which uses STM32CubeProgrammer to flash the MCU before proceeding with the debug. In the Launch Configuration window, I can ...
Hermit's user avatar
  • 121
1 vote
1 answer
234 views

Currently I'm working on a project which requires me to implement SNMPv3 on a STM32 microcontroller running FreeRTOS. (specifically STM32H563VIT6). I'm using lwIP stack to implement this protocol, ...
Tuxedoassassin's user avatar
1 vote
0 answers
51 views

I want to use the same label name in different parts of my Assembly code instead of using a new, never-before-used label name; Is such a thing possible? For example: . . . Factorial: // A subroutine ...
student signup's user avatar
2 votes
0 answers
54 views

I am working on an STM32G431 project using PlatformIO. My goal is to: Use TIM2 CH1 (PA0) to capture PWM input (from a servo tester, 50 Hz, pulse 1–2 ms). Use USART2 (PA2, PA3) as a serial debug ...
Syahrul Afif's user avatar
0 votes
1 answer
70 views

I am trying to use interrupts with the ADC module. I am using PA0 and PA1 as analog inputs for the ADC, and PC0 and PC1 as external LEDs. My goal is: when PA0 is triggered, PC0 should turn on. when ...
Umutcan Akyol's user avatar
3 votes
1 answer
173 views

im trying to implement syscalls for printf so i defined the functions : #include <stdint.h> #include <sys/stat.h> #include <sys/types.h> #include <errno.h> void usart_init(...
W4ZM's user avatar
  • 75
0 votes
1 answer
148 views

i was looking at this heap implementation, and i was wondering if it is necessary to implement heap for printf even if i'm calling setvbuf(stdout, NULL, _IONBF, 0) before calling printf. i looked at ...
W4ZM's user avatar
  • 75
0 votes
0 answers
79 views

I’m working on a project using an STM32F072C8T6 for a smart touch board with capacitive touch sensors. I wrote code for touch sensing, but I’ve run into some issues: The system sometimes takes some ...
Kavinraj's user avatar
1 vote
0 answers
32 views

I’m working on STM32H755 bootloader project where I need to verify the integrity of the application firmware using a CRC32 checksum. The build system uses srec_cat to append the CRC32 at the end of ...
Shiddesh's user avatar
4 votes
1 answer
104 views

I want to rename (more like add an alias to) one or more registers for a specific part of my Assembly code using the .req directive and later on undo the renaming of said register(s) so that those ...
student signup's user avatar
0 votes
1 answer
151 views

I am converting default usb middleware speaker example into microphone input. For now i am transmitting dummy data, not actual microphone data. I have replaced descriptor and it seems to be correctly ...
Abrikos Kokos's user avatar
1 vote
0 answers
129 views

I am trying to use AD9240, a 14-bit ADC, with STM32H753 to sample a signal at 1MHz. I found that using DCMI with DMA is a good choice for it. A 1MHz clock signal is generated on the MCU at TIM3_CH1. ...
y_s's user avatar
  • 69
1 vote
0 answers
126 views

I'm using STM32F072C8T6 Microcontroller with Konnekting Device Library . I want to trigger a BELL for less than half second . I wrote a logic for that BELL & it works well , but after a LONG RUN , ...
Kavinraj's user avatar
0 votes
1 answer
110 views

Created a new STM32 project and made settings below: HSE: Crystal/Ceramic Resonator SYS: Debug: Serial Wire Clock: 72 MHz Here's the debugger settings on STM32CubeIDE (version 1.19.1) with a simple ...
Franky's user avatar
  • 1,240
2 votes
0 answers
209 views

I'm working on a boot-loader for STM32G491. The device is supposed to jump from the boot-loader (BL, located at 0x08000000) to the application (APP, located at 0x08008000). When I flash the APP ...
y_s's user avatar
  • 69
2 votes
1 answer
123 views

Did the following steps to test if my temperature sensor HTU2X is working thoroughly. Selected my board (Nucleo-64 STM32F411RE) from STM32CubeIDE then enabled I2C1 for pins PB8 (as the SCL) and PB9 (...
Franky's user avatar
  • 1,240
1 vote
1 answer
55 views

I'm using ADC continue scan mode with DMA for 2 channels, config by register, not use HAL library, make sure pin mode is analog mode When ADC just turn on clock, every thing be ok, voltage of pin PA0 ...
Thạch Duy's user avatar
2 votes
1 answer
98 views

Did the following steps just to test if my temperature sensor HTU2X is working or not. Selected my board (Nucleo-64 STM32F411RE) from STM32CubeIDE then enabled I2C1 which in turn enabled pins PB6 (as ...
Franky's user avatar
  • 1,240
1 vote
0 answers
66 views

I'm trying to get OpenOCD to flash my STM32F103VG (1MB flash) MCU but only get half of it done. Everything works fine until address 0x08080000 but then content remains 0xFF. I'm using an ST-Link v2, ...
Antidot's user avatar
  • 23
0 votes
1 answer
43 views

STM32F303RE produces wrong PWM pulse in OPM after receiving trigger signal. I configured the advanced timer TIM1 to generate one PWM pulse after receiving falling edge trigger on the pin. When I ...
maciej.hadz's user avatar
1 vote
1 answer
88 views

So I want to use a capture compare to measure an input frequency 0.1 Hz to 100 kHz. The peripheral clock is set to 32 MHz to cover the full range and maximise the speed of calculations. At lower ...
Paul S's user avatar
  • 11
2 votes
1 answer
351 views

I have some issue with STM32CubeIDE and CubeMX code generation in the following setup: Environment: STM32CubeIDE 1.19.0 (Build 25607_20250703_0907, UTC) Windows 11 x86_64, Java: Eclipse Adoptium 21.0....
isso11's user avatar
  • 45
1 vote
0 answers
54 views

I’m using a PN532 with I²C communication and an adapted library (https://github.com/soonuse/pn532-lib) for STM32. My microcontroller is an STM32G031K8. I’m having the problem that I need my ...
user31230865's user avatar
0 votes
0 answers
77 views

I'm working with an STM32G431KBUx and trying to output a waveform via DAC1 using DMA and TIM6 as trigger (TRGO). However, the DMA callbacks HAL_DAC_ConvCpltCallbackCh1 and ...
Spectre's user avatar
  • 85

1
2 3 4 5
114