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

Duty cycle on Timers

I was reading in "Mastering STM32" and in the intro of PWM pulses (pg355 hard copy) said that "The square waves generated until now have all one common characteristic: they have a Ton period equal to the Toff one. For this reason they are also said t...

hello, im using stm32f446re nucleo board for practice and i have configure the board for SPI communication. i did the program for the 8bit and 16bit DFF. Now i using HMC767 PLL as a salve device whos register size is different from that of nucleo board.

i dont know how to send variable size data evrytime. The HMC Mode protocol for the serial port is designed for a 4 wire interface with a fixed protocol featuringa. 1 Read/Write bitb. 6 Address bitsc. 24 data bitsplease need yout help on how to send >...

0693W000000V52JQAS.png

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 II
  • 1221 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
  • 781 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
  • 703 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
  • 2078 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
  • 1859 Views
  • 5 replies
  • 0 kudos