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

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
  • 1176 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
  • 1975 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
  • 1056 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
  • 591 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
  • 788 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
  • 792 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
  • 891 Views
  • 3 replies
  • 0 kudos

make[1]: *** [Drivers/STM32F1xx_HAL_Driver/Src/subdir.mk:58: Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.o] Error 1

I've trying to implement a code for distance sensor AFBR-S50MV85G-EK, but instead of STM32F401RE wich is the mcu recomended by the programing guide I'm using STM32F103C8T6. Now I'm getting the following on console:make -j4 all arm-none-eabi-gcc "../D...

GOrne.1 by Associate
  • 1350 Views
  • 0 replies
  • 0 kudos