STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

Changing PWM during runtime using timers

Went through examples of Nucleo -L073RZ eval board for PWM outputIt generates four PWM waves using Timer 2 channel 1 ,channel2 ,channel 3,channel 4at 50%,25%,12.5.37.5% duty cycle . So the pwm duty cycle is fixed.but i have a fan pwm connected to T...

SA.17 by Associate III
  • 552 Views
  • 3 replies
  • 0 kudos

Currently im working on STM32F103R8 and im trying to create delay using TIM3 ,the following is my code but i didnt get perfect output.Please someone kindly help me to overcome from this.

#include "stm32f10x.h"void init();void Timer_delay();void main(){ init(); Timer_delay(); while(1) {  while(TIM3->SR & 0x0001)/*Check the TIM3 update interrupt occurs or not*/  TIM3->SR = 0x0000;/*Remove TIMx update interrupt flag */   GPIOA->BSRR^=0X...

Sm.16 by Associate II
  • 689 Views
  • 7 replies
  • 0 kudos

Receiving data from USART

I am trying to use asynchronous USART on stm32L4R5ZI nucleo board for sending and receiving data. Following is related part of code.while (1) { HAL_GPIO_TogglePin(LD2_GPIO_Port,LD2_Pin); //Toggle LED HAL_Delay(1000); //Delay 1 Seconds for(...

PToma.14 by Associate II
  • 680 Views
  • 5 replies
  • 0 kudos

USART_SendBreak not available on STM32F373

Hi,I have to configure a STM32F373 as a LIN Master. The problem is that the function USART_SendBreak is not available.The reference manual says that I have to set the SBKRQ bit to send the break frame, but this bit is only available for a break reque...

mllona by Associate II
  • 275 Views
  • 0 replies
  • 0 kudos

OSPI readonly in memory mapped mode

I use the STM32L4R9I-EVAL Board and try to configure the ospi on nor-flash for readonly in memory mapped mode. there is an example projekt in Hal-Lib L4 V1.14.0. If i skip the erase and write steps, it read out wrong values (with out hal error)!Do an...

Leo_Panda by Associate III
  • 773 Views
  • 1 replies
  • 0 kudos

SPI interface between STM32L151QD and External Flash

Hi AllCan anyone suggest the example code for Spi interfacing between STM32L151QD and External flash memory.,Through my STM32L151QD I want to read and write from External flash memory , The both STM32 and Flash memory is connected with SPI interface

kTaba by Associate
  • 284 Views
  • 0 replies
  • 0 kudos

DMA can`t work in stm32h7

I saw the web https://community.st.com/s/article/FAQ-DMA-is-not-working-on-STM32H7-devices,and I change the ram address.uart can transmit with DMA but can`t receive.and the spi can`t transmit with dma.

gcaif by Associate II
  • 335 Views
  • 2 replies
  • 0 kudos