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

STM32F103C8 What is CNT_INIT in General Purpose Timers?

HiFigure 120 in the reference manual RM0008 shows the control circuit in normal mode. It shows an update event using the Update Generation bit (UG). See attached figure.I am curious about the CNT_INIT bit, which is a pulse one clock cycle after the U...

0693W000006GD5oQAG.png
AAnth.1 by Senior
  • 660 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F415RG missing bytes on UART RX

Hi,I have a board containing an STM32F415RG and another board containing an MCU from another manufacturer. Both boards are supposed to communicate with each other using RS-232 transceivers. The communication is running at 9600 baud and working well f...

TSchm.1 by Associate II
  • 3408 Views
  • 6 replies
  • 0 kudos

PWM formula timer5 not work

I'm using STM32l152 and use TIM5_Ch2 for generate pwm .My target frquency pwm is 2.85 KHz .I using these parameter:clock frequency = 32MHz htim5.Init.Prescaler = 6;  htim5.Init.Period = 100; I measured pwm on oscilloscope and I measure 2.85KHz with 5...

bfran.1 by Associate II
  • 669 Views
  • 3 replies
  • 0 kudos

STM32H745 and SPI + DMA

Hi to all,I need to send on every TIM interrupt a packet stream to SPI1. I can't use the HAL_SPI_Transmit(...) because it is blocking....so I need to use the DMA but not in circular mode.I can not use the synchronization of DMA with lptim using DMAMU...

DMast.1 by Associate II
  • 511 Views
  • 0 replies
  • 0 kudos

How to import Stmcube Mcu package examples code in atollic true studio? I want to run I2C communication between two nucleo STM32103RBx Boards How can I import it or I have to do it with STMCubeMx?

I have Run blinky code USART code with STMCUBEMx and atollic studio now I want to implement I2C communication between Nucleo boards. I searched And download stmcube MCU Package for STM32F1 series I have put it in the same workspace (same worksp...

DJosh.0 by Associate II
  • 421 Views
  • 0 replies
  • 0 kudos

sleep when pressing a button on keypad

My target is :my device when the main run is OFF = SLEEPThen its right this code ?When i pressed for a time > 300 mses button (OFF/on ) my device must wakeup , my button il connected to pin wakeup this is my code Which timer and i must use for t...

0693W000006G6VfQAK.png 0693W000006G6VaQAK.png
bfran.1 by Associate II
  • 406 Views
  • 0 replies
  • 0 kudos