STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32L562 Using TIM1 to trigger ADC1 Ch1 sampling at 5 kHz with DMA1 storing to a circular buffer. Stores 12 samples, then no further samples stored. What can stop this chain from functioning?

Here is the setup (Using timer 1 - 16 Mhz clock, counter = 3200) using OC channel to produce scope signal on output pin):void MX_TIM1_Init(void) {   /* USER CODE BEGIN TIM1_Init 0 */   /* USER CODE END TIM1_Init 0 */   TIM_ClockConfigTypeDef sC...

Grizz by Associate II
  • 2 replies
  • 0 kudos

Adc in stm32f446re

Analog source is potentiometerMcu board is nucleo f 446reI am verifying adc code in debug mode with above hardware .as i rotate potentiometer  change in adc value can be observed.but when I don't rotate also, I am able to see the variation in 12bit v...

Resolved! I2C_WaitOnFlagUntilTimeout return HAL_ERROR

Hi,​I am using STM32F303RETb (NUCLEO-F303) to try I2C for another device. But always return HAL_ERROR into HAL_I2C_Slave_Receive(). By the way of I2C_WaitOnFlagUntilTimeout.What are the possible problems with this error?​this part is setting code in ...

K.4 by Associate
  • 10 replies
  • 1 kudos

stm32U575 GPDMA PWM

STM32CubMx 版本 6.9.1GPDMAPWM配置法典/* TIM4 初始化函数 */void MX_TIM4_Init(void){/* 用户代码以 4 开头TIM0_Init *//* 用户代码结束 TIM4_Init 0 */TIM_ClockConfigTypeDef sClockSourceConfig = {0};TIM_MasterConfigTypeDef sMasterConfig = {0};TIM_OC_InitTypeDef sConfigOC = {0};/* ...

微信图片_20231123181456.png 微信图片_20231123181511.png 微信图片_20231123181515.png caiChangKun_0-1700734818455.png

STM32F4 discovery timer and dma sampling

Good evening to everyone,I'm trying to sample various signals, both low frequency and high frequency. For the low frequency, I'm using a timer, while for the high frequency, I'm using DMA. I would like to perform read scans with the ADC, selecting th...

davidec by Associate III
  • 6 replies
  • 0 kudos

Resolved! Minimum Frequency for Bypass mode

Hello Community, I am working on a use case where I have 4 remote MCUs that ideally should be synced with a host MCU. I however have no way to even install an external precision Clock source on these remote MCU's (due to various environmental & budge...

Chubs_0-1700790279590.png Chubs_2-1700790872059.png Chubs_0-1700791087921.png
Chubs by Associate III
  • 4 replies
  • 4 kudos

Resolved! Multiple value for VECT_TAB_OFFSET on STM32H7

Hi all, we've been developing some applications using STM32H743BG since 2020 and only now we realized that value of VECT_TAB_OFFSET has been changed according the package used in STM32Cube. So, these are the differences between different Cube version...

TFBorth by Associate II
  • 4 replies
  • 6 kudos