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! STM32F7 USB CDC Device Descriptor Request failing

I am struggling to get USB CDC working. I am very far down a rabbit hole and I'm completely stuck.I am using HAL libraries for USB_OTG_HS on the STM32F746ZGT6, with a 16MHz HSE.I am running in bus powered mode, VBUS detect disabled, and I have hardwi...

lejanz by Associate II
  • 1835 Views
  • 5 replies
  • 2 kudos

Resolved! PWM problems

Hello! Recently I got into STM programming for my internship and I cannot figure out register level programming yet, I have this piece of code ```RCC->AHB1ENR |= RCC_AHB1ENR_GPIOAEN | RCC_APB1ENR_TIM2EN;GPIOA->MODER |=GPIO_MODER_MODE5_1 | GPIO_MODER_...

Petrarka by Associate II
  • 1744 Views
  • 5 replies
  • 0 kudos

Resolved! STM32 ADC DMA low raw/Voltage readings

Hello,I am experiencing the following problem. When I setup an ADC with DMA for 5 channels, occasionally I get lower readings than the expected ones. It also happens in some of our hardware of our production, but others perform ok. We have inspected ...

KoSt_0-1711711015173.png KoSt_1-1711711038152.png KoSt_2-1711711052740.png KoSt_3-1711711167318.png
KoSt by Associate III
  • 8207 Views
  • 24 replies
  • 2 kudos

STM32U575 Independent watchdog timer

Hi, I am using stm32u575 uc trying to use independent watchdog for time 1.2 sec for custom board. The clock configuration is as follows: static void SystemClock_Config(void){RCC_OscInitTypeDef RCC_OscInitStruct = {0};RCC_ClkInitTypeDef RCC_ClkInitStr...

Kajol by Associate
  • 660 Views
  • 1 replies
  • 0 kudos

Master Slave sync queston

I have two nucleo boards communicating over SPI.  No Interrupts; No DMA ;   Using HAL TransmitReceive(..)   Chip Select set by software.  Simple  8 char ASCII Transfer.  Everything Works....almost.  I am using a logic analyzer to monitor the interact...

Greybeard by Associate II
  • 3362 Views
  • 7 replies
  • 0 kudos

Resolved! Cortex-M0 Thumb alignment

Hi everybody,I am using STM32F042G6 MCU for an automotive project and since It doesn't have mush FLASH (32kB) I am trying to reduce code size as much as possible.Lookign at the linker file generated by STM32CubeMX, I see that instructions are aligned...

Resolved! G431 - reset counter and prescaler on input capture

Is there a way to reset the counter and the prescaler via a hard event or something when an input capture happens?I use timer 1 to have a hall interface and to drive timer 8. But there are some fluctuations, because the interrupt (where i reset count...

Tobe by Senior III
  • 764 Views
  • 2 replies
  • 0 kudos