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

Resolved! Cycle count of 32x32 multiplication on STM32F072?

The technical docs state that multipleication (MULS instruction) can take either 1 cycle or 32 cycles. This is defined when the board is produced. Does anyone know which of the two configurations the STM32F072RB uses?

MParu.1 by Associate
  • 1223 Views
  • 2 replies
  • 0 kudos

i would like to know, how to use ADC1 in stm32f103c8t6 - blue pill - in scan multichannel continous mode conversion mode without interrupt..

 that's it.. say i have 4 channels (PA0 , pA1 , PA2 , pA3)..what i need is : in the while(1) loop i put 4 variables, and keep reading the data registers , and because it's in continous mode, so the 4 variables keep updating in the backgroud, how can ...

Iwael.1 by Associate
  • 1631 Views
  • 2 replies
  • 0 kudos

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
  • 488 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
  • 2078 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
  • 929 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
  • 1516 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
  • 2243 Views
  • 5 replies
  • 0 kudos