Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
41 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
108 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
0 votes
0 answers
103 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
1 answer
83 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
4 votes
1 answer
147 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
0 answers
92 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
1 answer
104 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
0 votes
1 answer
143 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
0 answers
57 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
382 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
50 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
-4 votes
2 answers
125 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
0 answers
113 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 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
0 votes
1 answer
430 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
0 votes
0 answers
83 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
0 answers
93 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
3 votes
3 answers
544 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
1 answer
400 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
1 answer
602 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
874 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
0 answers
126 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
0 votes
1 answer
321 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
0 votes
0 answers
59 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
230 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

1
2 3 4 5
12