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

What's the source address when using DMA PER_2_MEM Mode?

Hi Folks,i'm working with the STM32H750 controller. At the moment i'm trying to get the ADC working with the DMA in a Peripheral to Memory Mode. Since i've no idea how to do this, i've started to checking the HAL functions and found the HAL_DMA_Start...

TBaue.1 by Associate
  • 1033 Views
  • 1 replies
  • 0 kudos

LPTIM as a pulse counter

Hi, bom dia.I need to use LPTIM as a pulse counter in stm32L431. I created a project using stm32cubeIDE and start only the necessary to test the LPTIM, but when i call HAL_LPTIM_Counter_Start() or HAL_LPTIM_Counter_Start_IT() never return HAL_OK. I h...

GFont.1 by Associate III
  • 684 Views
  • 1 replies
  • 0 kudos

Resolved! STM32L452 QSPI no output

HiI am using a STM32L452 MCU with a quadspi flash from Micron.I configured the board using CubeMX and have tried making a test code based on the example in: STM32Cube_FW_L4_V1.15.1\Projects\STM32L476G-EVAL\Examples\QSPI\QSPI_ReadWrite_DMAI'm trying t...

0693W000000V9CwQAK.png

STM32G4 USART strange output

Hi I am trying to write a echo program and the USART1 configuration code is shown below. RCC->AHB2ENR |= RCC_AHB2ENR_GPIOAEN; //Enable GPIOA Clock RCC->APB2ENR |= RCC_APB2ENR_USART1EN; //Enable USART1 Clock   GPIOA->AFR[1] |= (0b0111 << GPIO_AFRH_A...

LLOLO.1 by Associate II
  • 634 Views
  • 2 replies
  • 0 kudos

STM32L051 Stop Mode and LPTIM interrupt

I use HAL to go to STOP mode with interrupt (WFI), but the microcontroller immediately exits stop mode.I have LPTIM setup with HAL_LPTIM_Counter_Start_IT() to give interrupt after a few seconds, but even without setting up LPTIM I can't get the micro...

0693W000000Uh88QAC.png

STM32F429: Can Flash Sector "write protection" be set and temporarily cleared during operation (to erase or write some data)?

Hi AllI have been experimenting with the Flash write protection most of the day and was hoping to be able to set it by just writing the setting in the FLASH_OPTCR register, however the value that is written doesn't seem to affect anything unless comm...

hpipon957 by Associate III
  • 1826 Views
  • 5 replies
  • 0 kudos

Timers, How to set the timer ? In STM32 Please explain me. Watch my video I am explaining Timer multi tasking concept https://www.youtube.com/watch?v=EYXbNmaPBWo My Timer explanation in PIC 8 bit https://www.youtube.com/watch?v=dP1S4p7a1js

In Stm32 has too many parameters, So please some explain me how to use this ?. please watch my timer videos. because I know how to use the timer in PIC, but in stm32 which is prescalar and how to calculate for generating pulse(in expected frequency)

STM32 debugging issues.

I have been using STM32L010K8T6 with a J link debugger. It has been working good for past month or so. But now whenever I use a breakpoint the system does not stop at that particular break point or sometimes does not reach the break point at all. I t...

ARai by Associate II
  • 1655 Views
  • 5 replies
  • 0 kudos

STM32F4 - How do I switch a pin from ADC to normal GPIO mode?

Greetings all,I'm using the HAL libs to set a couple of pins for ADC use (one-shot).Later on during fw execution, i need to flip some of these pins back to normal GPIO mode.How do I do this?I've been looking over the programming manual, and HAL/LL li...

mwp by Senior
  • 1276 Views
  • 2 replies
  • 0 kudos