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

STM32F303C8 with using ADC1, ADC2

hey guys,​i'm programming a two motor control system, and must take each of motor current information. (my MCU's ADC setting : DMA, TRGO.)​when i get ADC's value using hal libraries, how can i get each of ADC1, ADC2 value???​In simple terms : I want...

HLee.6 by Associate
  • 905 Views
  • 3 replies
  • 0 kudos

How can I count external PWM pulses with STM32F072?

Hello, I'm developing a custom board based on STM32F072B-DISCOVERY board.I have an external PWM source with variable frequency (from 200Hz to 10Khz), i need to count how many pulses it generates. How can it be done? PS. I've tried with Imput Compare ...

Hi , I am working on STM32f103zf , trying to get UART2 and UART3 to work with no success, UART1 is working ok. When I try to init UART2 I see that the the CR1 register is not being written although driver is trying to write to it and enable the UART.

The CR1 register stays 0 (as well as CR2, it looks like all UART2 registers are 0). My first thought was that the Bus is not enabled - as UART1 is on APB2 and UART 2 and 3 are on APB1 , but I enable UART2 bus - this is the enable code :   /* Enable G...

ASega by Associate II
  • 1060 Views
  • 2 replies
  • 0 kudos

Using interrupts (too quickly) prevents PWM from working?

I fixed my mistakes from my last iteration of code (reduced 6MHz interrupt rate (which is impossible) to around 35KHz,) and reduced the amount of code in the interrupt. PWM on any timer still refuses to work even though I've enabled them. Is it possi...

JShel.1 by Associate II
  • 776 Views
  • 1 replies
  • 0 kudos

STM32H7 IWDG is not disabled after software reset.

My application requires to be started without watchdog enabled (don't ask why). But it seems that once enabled, after a software reset the IWDG continues to run, and if not treated in time causes to another reset. Note that the "Hardware watchdog�? ...

mmari.14 by Associate
  • 550 Views
  • 0 replies
  • 0 kudos

STM32 ADC power supply

Customer asks me to use STM32 powered from 3.3V with ADC reference 3.3V too (different source). So there is two possibel topologies:Connect VDD and VDDA, use precision source for VREFConnect VDDA and VREF to precision source, VDD connect to standard ...

LSind.1 by Associate
  • 1049 Views
  • 1 replies
  • 0 kudos

How to use 1 channel encoder on STM32F103?

Hello, I'm using STM32F103 on CUBE MX, when I used an encoder which has only 1 channel, nothing was added to encoder register. I get data from this function: __HAL_TIM_GET_COUNTER(&htim3). So does it has any different when we config encoder mode with...