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

STM32 LOw power mode

Hi,I am trying to put my STM32 part in sleep mode.I have attached the code here.As per my understanding to go into sleep mode HAL_PWR_EnterSLEEPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);API is provided.even though I used below lines, my board...

Bs.1 by Associate II
  • 349 Views
  • 0 replies
  • 0 kudos

Does the STM32F401RB's I2S port drive current?

The STM32F401's VDD is 3.3V.The I2S Codec's VDD is 1.8V.We will add the Level chip(TXB0104) on The device driving the data I/Os of the TXB0104 device must have drive strength of at least ±2 mA.Does the STM32F401RB's I2S port drive current more than 2...

Hello, i try to use the SPI interface on STM32f3 DISCOVERYBOARD. My problem is that my clock toggles, even though the data transfer is complete. The busy flag is not yet reset either. What can that be? Ther is an Osziplot wich shows the Problem

This is my source code for the SPI configuration:static void SPI1_init(){   //GPIOs konfigurieren   //PA4 Chip select   //PA5 clk   //PA6 MISO   //PA7 MOSI   uint8_t ch;   while(SPI1->SR & SPI_SR_FTLVL); // Wait until no more data to transmit   while...

BKopp.1 by Associate II
  • 1598 Views
  • 4 replies
  • 0 kudos

Resolved! If i want to change pulse width on ONE timer pwm channel, do i have to rewrite ALL active channels every time i change one?

I am using one timer (timer2) as pwm generator and i am using 3 channels on it. I wish to set each channel pulse width independently (they are controlling LEDs) from 1 to 100. But from the generated stcubeIDE function, it looks like that the channels...

KSkor.1 by Associate III
  • 663 Views
  • 2 replies
  • 0 kudos

Resolved! Encoder code acting strangely on

So I've got some very basic code for a STM32 to read an encoder using timer 1 in encoder mode.This first routine works fine counting up and down as expected, printing CW (Clockwise) while counting up and CCW (Counter Clockwise) while counting down......

Omiks3 by Associate
  • 1153 Views
  • 3 replies
  • 0 kudos

STM32 MCU stucks after power cut-off

Here is my process :I supply my board with an USB cable.Then I flash my stm32L4 with a segger / st-link.My firmware goes in shutdown mode.I unplug the USB cable. Thus the power is suddently off.After that, I wire a battery to my device. Thus the MCU ...

SimonF by Senior
  • 1661 Views
  • 5 replies
  • 0 kudos

Regarding modbus to write negative values.

Hi, i am new to stm32 i need to write negative values (signed integers or float) in my modbus and transmit it to my PC. But i am not able to write negative values it shows some other values if i transmit negative values . can anyone help me w...

Lchal.1 by Associate III
  • 1694 Views
  • 5 replies
  • 0 kudos
龙承.1 by Associate
  • 378 Views
  • 0 replies
  • 0 kudos

PWM using Timer with STM32F4

Dear ST,I am coming back to you to configure a PWM peripheral with STM32F429.I am familiar with TI DSP and I have to implement it with ST this time.Could you help me to configure TIMER1 for symmetrical PWM and trigger an interrupt to trig ADC. I ma u...