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

I'm really frustrated that this set up never works at all in any mode or any configuration as expected. Alread read the documentation 1000x times, looked for examples, but besides the crap ...
FELIPE_RIBAS's user avatar
1 vote
1 answer
253 views

I'm writing a custom bootloader from scratch for an STM32 project. Currently, the bootloader only initializes and jumps to the main application. I'm gradually adding peripherals one by one. Everything ...
Afshin Rad's user avatar
1 vote
1 answer
126 views

There is a HAL library of functions for working with flash memory. I want all the functions of this library to work from RAM. How can I do this correctly, without writing _attribute_((section("....
mml's user avatar
  • 31
3 votes
1 answer
208 views

I'm trying to use GCOV for code coverage on my stm32F439ZI. I just have a quick LED example set up, no OS, no filesystem. My goal, i think, is to edit the write function that gcov use to write the ...
Léo Fresnay's user avatar
0 votes
0 answers
122 views

I am learning how ARM Cortex-M4's pending interrupt works and how ISRs are pre-empted by higher priority interrupts (Basically how NVIC works). I have learned that an interrupt configured with higher ...
Deeptesh Chari's user avatar
0 votes
0 answers
94 views

I am using a stm32F769-Disco development kit with stm32cubeide and touchgfx. I have made an project from touchgfx and opened it from subeide. The project is loading normally and i have overwritten the ...
kyrpav's user avatar
  • 778
0 votes
1 answer
87 views

I am trying to develop a bootloader with STM32F469BIT mcu. First of all, I divided the 2048K flash area allocated to me into zones according to certain sector addresses. These areas; Bootloader -> ...
mmercan's user avatar
0 votes
0 answers
45 views

I am currently working on software bootloader implementation and using Python to handle sending data from my PC and receiving acknowledgement signals. Problem that I stumbled upon is that I am getting ...
dinajs's user avatar
  • 118
4 votes
1 answer
162 views

I am trying to make software bootloader for my STM32F407 project and I ran into some issue. The whole idea is that I send data using UART protocol from my PC to STM32F407. Data that I am sending is ...
dinajs's user avatar
  • 118
1 vote
1 answer
43 views

I'm working on a project on an STM32F407-DISC and I want to output the attached signal via PWM, I would like to offload as much of this from the processor as possible while keeping the timing of these ...
Jack M.'s user avatar
  • 11
1 vote
0 answers
95 views

Hi StackOverflow Community, I am encountering an issue while implementing USB CCID functionality on an STM32F4 MCU. I recently integrated the CCID driver from the following repository into my project: ...
Ayoub Oubrahim's user avatar
0 votes
0 answers
62 views

I am trying to use my STM32F429IGT6 CAN to receive some data from the host computer. The data is basically 4 16-bit unsigned integers (8 bytes in total), the message ID is 0x16 and uses the 11-bit ...
Chen Aki's user avatar
0 votes
1 answer
114 views

I want to create a basic LED blinking application with Keil MicroVision on the Nucleo STM32F401. However, as shown in the image, the Keil program gives errors at two different points. It shows issues ...
Haydar5988's user avatar
1 vote
1 answer
191 views

I am trying register level programming for STM32F446RE Nucleo-64 board. I want to receive data through UART in circular mode using DMA. I am getting DMA Transfer error interrupt every time I try to ...
Rupesh kadam's user avatar
0 votes
1 answer
167 views

I am interfacing the can_fd controller MCP2517FD with the STM32F4 (Cortex-M) using the SPI HAL library. using the controller driver :https://github.com/SDibla/Cortex-M4-MCP2517FD_Driver In blocking ...
ImBr's user avatar
  • 1
0 votes
1 answer
116 views

I am trying to create a metronome by using the led on my microcontroller board to blink at a specific number of beats per minute in order to figure out how to do hardware interrupts at specific ...
Leonidous's user avatar
0 votes
0 answers
59 views

I am trying to implement a digital waveform capture using an external interrupt on a GPIO. Here is the test code logic : Enable a GPIO as output (PA5) and toggle it at 20Hz Enable another GPIO as ...
Sajil's user avatar
  • 87
2 votes
0 answers
320 views

I am trying my best to read data from an SD card using SPI. It works using HAL, but it's very slow, so I am trying to code my own SPI driver. I am stuck on trasnmitting data. The GPIO implementation ...
zlovro's user avatar
  • 21
2 votes
0 answers
402 views

I am posting my question just as I have posted on the forum of STMicroelectronics. I had been programming my STM32F407 MCU for almost 6 years using OpenOCD's GPIO Bit bang driver over Raspberry-pi for ...
Sheikh Muhammad Junaid Aslam's user avatar
1 vote
0 answers
28 views

I am working on a program where pressing switch 2 while music is playing increases the counter value, and if the counter exceeds a certain value, it counts as success. However, if switch 2 is pressed ...
Clear_love_man's user avatar
1 vote
0 answers
55 views

#include "Main.h" #define MAX_Intensity 1600 static volatile uint16_t Intensity = 10; void Timer4_Configuration(void) { TIM_TimeBaseInitTypeDef TIM_BaseStructure; ...
이석희's user avatar
0 votes
0 answers
96 views

I'm currently working on getting my barcode scanner to work using soft-uart library by liyanboy74 on STM32 NUCLEOF446RE. First of all when falling edge on my GPIO pin is detected, GPIO_EXTI_Callback() ...
Marek's user avatar
  • 1
-4 votes
2 answers
129 views

I have a 8 bit variable received_control. This variable should store some 8 bit data. In my use case, I need be able to read all the bits, even those that are 0. Problem is that if my most significant ...
T1P0Z's user avatar
  • 13
0 votes
1 answer
135 views

I am trying to achieve high clock speeds on my STM32F411CEU6 board (96 MHZ) by tweaking the PLL clock without HAL. I have set the PLL clock source to HSE (25 MHz). My code halts whenever my debugger ...
zlovro's user avatar
  • 21
0 votes
0 answers
115 views

I am working on an STM32 project where I need to manage two RTC alarms: Alarm A for periodic wake-ups and Alarm B for switching modes after a specific timeout. The system enters standby mode and wakes ...
ward wawi's user avatar
-1 votes
1 answer
692 views

I am using STM32F4 to perform sensing on my circuit. Before doing so, I would like to calibrate it first. I am doing this because I read that calibration is 'important,' but I don't understand why ...
Meria Rajagukguk's user avatar
1 vote
0 answers
38 views

I have a non-comercial download of STM32Cube IDE. I want to use the ITM Data Trace on a STM32F407 G disc1. In the main() call to initialise_monitor_handles(); the fun body in the system file is empty....
William Hays's user avatar
3 votes
1 answer
114 views

I've been working with an STM32F4, wanting to generate notes, passing values to a DAC like so: float playNote(float noteFrequency, float t) { float w = 2 * PI * noteFrequency; return sinf(w * ...
user9599100's user avatar
0 votes
1 answer
457 views

I am new to embedded systems. I started with arduino and learnt programming online and have done some projects with it as well. Now I bought STM32 nucleo board to learn more in embedded systems. I ...
Sreerag Babu's user avatar
-1 votes
1 answer
405 views

Want to read available RAM from the IAR Project using .map file? We have assigned 8Mb of RAM and extracting the .data and .bss segment from the .map file and calculating the used RAM. Is that correct ...
ram's user avatar
  • 1
0 votes
0 answers
92 views

I use the above packaged motor control library to control the stepper motor, but after I set the driver to 6400, the set speed and acceleration have no obvious effect, and the speed is always very ...
IT HandSome Boy's user avatar
0 votes
1 answer
294 views

I am working with two distinct Platformio projects for an stm32f4 target: a bootloader and an application. Eventually, the bootloader should be able to update the application code over the network but ...
arkap's user avatar
  • 37
0 votes
0 answers
95 views

I'm generating a sine wave using an H-bridge with an STM32 microcontroller, utilizing center-aligned mode 2 PWM generation. In center-aligned mode 2, the DMA triggers twice per PWM cycle: once during ...
girikks's user avatar
  • 15
0 votes
1 answer
374 views

I am doing some development on a Weact STM32F411 black pill. Most of it has gone fine. However I am trying to read the voltage on the VBAT pin (backup 3V button cell) using the internal ADC, but I ...
nmw01223's user avatar
  • 1,745
3 votes
3 answers
563 views

The following code is for blinking of the on-board LED on an STM32F401RE board. I am trying to do it without using HAL. When I flash it on to the board, it blinks once and then stays on. How can I fix ...
bigmacBucky's user avatar
0 votes
0 answers
60 views

I ask for a review of the code for basic clocking of the stm32f401ccu core, for simple blinking of the LED. void ClockInit(void){ //RCC->CR = 0x0000XX81; RCC->CR |= (1 << ...
KosorukiyShiva's user avatar
0 votes
1 answer
410 views

I'm writing my own RTOS and I'm implementing the context switch function, where I have to use PSP. The function is written in inline assembly I was working on another project on STM32 F4 writing ...
Tsz Kit Koon's user avatar
0 votes
0 answers
74 views

I'm wondering what the possible causes of an MCU halting on a polymorphic function call might be. I have the following code. I can call the member function directly on the non-pointer variable. ...
eclewlow's user avatar
  • 950
0 votes
1 answer
629 views

I'm writing a Neopixel driver for STM32 based on the example provided here. In summary, the pixels aren't lighting correctly. My latest attempt had the first row of 8 pixels light up green before it ...
Anonymaton's user avatar
0 votes
1 answer
168 views

I have an issue with jumping from the bootloader to the application. If I make the jump before entering the infinite loop, everything works, but if I do it from inside the loop, it doesn't work. I ...
Stefano's user avatar
  • 33
0 votes
1 answer
926 views

I have a STM32F429ZI (Discovery Board) and this really simple code, calculating the CRC8: uint32_t data[5] = { 0x28, 0x4f, 0x4c, 0x43, 0x29 }; uint8_t crc = HAL_CRC_Calculate(&hcrc, data, 5); The ...
peter's user avatar
  • 59
1 vote
2 answers
157 views

I am using SPI1 DMA for sending data from STM32F446RET6 to Nokia5110 LCD. But it doesn't work. When I try without DMA, it works. Is my program wrong? Full program can be downloaded via the following ...
May Myat Thuzar's user avatar
1 vote
0 answers
133 views

I am working on a project where I have to drive a SD Card. So far I have successfully implemented the initialization and reading data with DMA part. I am not using HAL libraries. The code to write to ...
user19402326's user avatar
1 vote
1 answer
1k views

I have a very simple code on an Arduino I am trying to make work on my STM32f446 Nucleo board. This is the very early stages of the project because I am simply trying to send a hex value/array to a &...
Hunter Marlette's user avatar
0 votes
1 answer
333 views

Since the stm32 vscode extension was updated to 2.0, we have been developing stm32 using vscode. It wasn't difficult to add a library that you created yourself through CMakeListes.txt. The function I ...
황인규's user avatar
1 vote
1 answer
177 views

I have code that initializes UART2 on the STM32F4 (and some other peripherals). When the MCU completes initialization, it enters the USART2_IRQHandler and executes the Timer_Timeout_Enable function, ...
RUMBUFDSI's user avatar
  • 115
0 votes
0 answers
63 views

Using the example code from this site (and all other examples appear to be similar): https://mcuoneclipse.com/2017/01/30/cycle-counting-on-arm-cortex-m-with-dwt/ The DWT counter on the STM32F411 ...
Christopher Theriault's user avatar
0 votes
1 answer
753 views

I'm trying to build an LED blinker with FreeRTOS, but there are some errors in the project: undefined symbol vApplicationIdleHook referenced by symbol prvIdleTask (section .text.prvIdleTask in file ...
RUMBUFDSI's user avatar
  • 115
0 votes
1 answer
239 views

I recently got an stm32 board, and right now I am just trying to establish communication with it by turning on the LD2 light, using platformio. Right now when I try to upload the code the board seems ...
plz_answer's user avatar
0 votes
0 answers
379 views

I'm looking to use an STM32F407I for EtherNet/IP protocol communication with some industrial motors and sensors. I cannot seem to find a library that would help me do that for my STM32F4. I found this,...
B.Adlane's user avatar

1
2 3 4 5
12