STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How can I configure 2 DMA for 2 i2s modules? [Solved]

Hi, I am trying to use a 4 I2s microphone. And I am using cubemx.I made work both of them with a sinple DMA transfer.I used I2s half duplex reciever 16of32bits sample rate 48Khz and DMA for 48*2 samples with uint16_t format. For that I used DMA1 str...

tcg by Associate III
  • 1632 Views
  • 6 replies
  • 0 kudos

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
  • 4994 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
  • 2769 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...