STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Stm32F411 Output Compare Mode Does not Work as Expected

I implemented a code of output compare mode for TIM3. However, it does not work as I expected.ky017ledmodule_config.h#ifndef KY017LEDMODULE_CONFIG_H_ #define KY017LEDMODULE_CONFIG_H_   #include <stddef.h> #include "stm32f4xx_hal.h"   #define RED_LED ...

Put function in RAM

Hi,how can I tell to the compiler that I want a function to be executed in RAM ?

DGo.1 by Associate II
  • 4709 Views
  • 9 replies
  • 1 kudos

Nucleo-U575ZI-Q running the ADC_SingleConversion_TriggerSW_IT shows wrong ADC results as soon I activate oversampling ?!

Init-Sequnece: hadc1.Instance = ADC1; hadc1.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV4; hadc1.Init.Resolution = ADC_RESOLUTION_12B; hadc1.Init.GainCompensation = 0; hadc1.Init.ScanConvMode = ADC_SCAN_DISABLE; hadc1.Init.EOCSelection = ADC_EOC_SINGLE...

Where is the STM32F103 start code?

Hi,As far as I understand, for the STM32F103, after a reset or power on without the use of the bootloader, the first task that happens is load SP with the content of address 0x00 (alias of 0x8000000) , followed by the load of the content of address 0...

carlossp by Associate II
  • 2574 Views
  • 5 replies
  • 0 kudos

Timer Input capture auto restart

Hi, I'm making a simple firmware to measure the frequency of some clocks, I'm using a timer IC + DMA, like this:HAL_TIM_IC_Start_DMA(&htim1, TIM_CHANNEL_1, CH1_captures, 2);Then in the callback I do this:void HAL_TIM_IC_CaptureCallback(TIM_HandleType...

Timer triggered DMA doesn't work

I want to sample GPIO state twice per millisecond with DMA.I used TIM16 as basic counter - setting TIM16 CR1 register to 1, ARR to 32000 (half milisecond) and TIM16 DIER register to enable DMA on update (bit 8).Timer is checked to work fine. DMA doe...

WojtekP1 by Associate III
  • 1032 Views
  • 5 replies
  • 0 kudos