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

STM32F4 SPI Slave problems (wrong transmission)

Hello,I'm struggling to get the SPI Slave on my STM32F4 running. I send 9 Byte from the master every 1ms with soft NSS: HAL_GPIO_WritePin( MCU_CS_GPIO_Port, MCU_CS_Pin, GPIO_PIN_RESET ); SPISlaveTXdata[0] = frameCounter++; SPISlaveTXdata[1] = sys_g...

0693W000001cYd2QAE.png 0693W000001cYeAQAU.png
KR51K by Associate III
  • 631 Views
  • 2 replies
  • 0 kudos

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
  • 719 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
  • 795 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
  • 560 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
  • 346 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
  • 843 Views
  • 1 replies
  • 0 kudos