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

Where can i find source code/examples for STWBC uC?

I've searched through the internet but i'm not able to find any firmware or source for coding the STWBC, atleast a few examples on how to do it. STM provides a binary as firmware to download and use it directly on the evaluation board. But i want to ...

SShow.1 by Associate II
  • 605 Views
  • 1 replies
  • 0 kudos

Problems with timers and LEDS in NUCLEO G031K8

I'm having a problem where I'm controlling 9 LEDs with timers. Whenever I enter stand-by mode, the LEDs turn on/stay on. I want them to turn off. I can shut them down before stand-by mode but as I enter, they turn on. I've tried switching timers in...

0693W000001cZusQAE.png 0693W000001cZunQAE.png
varo1111 by Associate II
  • 441 Views
  • 1 replies
  • 0 kudos

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
  • 624 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
  • 717 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
  • 792 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
  • 556 Views
  • 1 replies
  • 0 kudos