STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Excessive MCU heat after debugging

I have a design that uses two HRTIM outputs from an STM32G474 MCU to provide a PWM signal to two external half-bridge gate drivers to drive two DSMPS, a buck converter and an inverting buck-boost converter.  After several debugging sessions, the MCU ...

DavidNaviaux_1-1700295853836.png

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
  • 113 Views
  • 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
  • 870 Views
  • 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
  • 173 Views
  • 6 replies
  • 0 kudos