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

Cannot Configure TIM3 , Timer count values are drifting ?

I'm using an STM32F401CCU6 microcontroller and am trying to generate a timer interrupt of 10 us with TIMER3.The timer is a update event timer. The formula I'm using is:Update_event = TIx_CLK/((PSC + 1)*(ARR + 1))Below, I've given my clock configurati...

0693W00000Npy4qQAB.png
Oahme.1 by Associate III
  • 2246 Views
  • 12 replies
  • 0 kudos

Make a OR logic gate

I have a STM32F4 microcontroller and want to combine two analog signals into one "combined digital output signal", which have sum of the 2 signals.if i have two analog outputs PE11 and PE13 that will be my inputs of or gate:HOW CAN I MAKE PE12 + PE1...

LFerr.7 by Associate II
  • 1270 Views
  • 4 replies
  • 0 kudos

STM32L151CBT6A MCU, Enter stop mode have biggest power consumption - above 960uA, but datasheet is ~2..10uA ? And MCU not wake up from STOP by RTC WKUP

Code of main cycle:// Some "works"... ipf("Works 5 sec\n\r"); HAL_Delay(5000);   // Prepare... ipf("Power save STOP mode 5 sec\n\r"); double CounterVal = 5000 * 2.3125; if (HAL_RTCEx_SetWakeUpTimer_IT(&hrtc, (uint32_t)CounterVal, RTC_WAKEUPCLOCK_RTCC...

AlexandrX by Associate III
  • 2135 Views
  • 15 replies
  • 0 kudos

Have: STM32L151C8xxA Get VREFINT trouble (VREFINT voltage drifts depended on external power supply), how to get REAL input voltage?

Code for prepare MCU ADhadc.Instance = ADC1; hadc.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV2; hadc.Init.Resolution = ADC_RESOLUTION_12B; hadc.Init.DataAlign = ADC_DATAALIGN_RIGHT; hadc.Init.ScanConvMode = ADC_SCAN_DISABLE; hadc.Init.EOCSele...

AlexandrX by Associate III
  • 1142 Views
  • 7 replies
  • 1 kudos

Have you ever met a problem with HAL_MMC_ReadBlocks?

Hi,I'm working on SDMMC on STM32U5 nucleo board.Everything works fine for 1 and 4 bit mode.But, in 8 bit mode I can write data with HAL_MMC_WriteBlocks but when I try to read back with HAL_MMC_ReadBlocks, it always gets SDMMC_FLAG_DCRCFAIL.Have you e...

j.kouadio by Associate III
  • 623 Views
  • 1 replies
  • 2 kudos

SD_FindSCR Function!?

My problem just like https://community.st.com/s/question/0D50X00009XkdhZ/sdfindscr-function-problem​In ​the SD_init function ,I use HAL_SD_ConfigWideBusOperation to change bus wide.​but sometime it will dead in SD_FindSCR => while(!__HAL_SD_GET_FLAG(...

wu ryan by Associate II
  • 840 Views
  • 2 replies
  • 0 kudos

Resolved! STM32L433 LPTIM External Clock Max Freqency?

What is the max frequency when driving the LPTIM from an external clock?I would like to drive the LPTIM1 from a STM32L433 to control a Boost switch regulator. Since we can clock LPTIM1 from 80MHz PLL internal. Is this limit safe for external as well?...

JWieb by Associate III
  • 892 Views
  • 2 replies
  • 2 kudos

DFU bootloader issues

I am trying to use the built-in bootloader in DFU mode on STM32H743IIT.1. I built my application and created a *.dfu file2. The bootloader starts fine and my device enumerates properly as "STM Device in DFU Mode"3. DfuSe Demo (v3.0.6) detects my devi...

BKlus.1 by Associate III
  • 1067 Views
  • 3 replies
  • 0 kudos