STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Unable to program STM32G031

Hello, I am not able to program STM32G031. I have Nucleo kit F401RE and STM32G031 connected to SWD. I have connected SWDIO, SWCLK, 3V3, GND and nRST.STM32CubeProgrammer can connect only in Hot Plug mode, but writting or errasing gives me: Error: Mass...

StastnyPetr_0-1722124632908.png

STM32H733 with HUB USB2514

Hi everyone,for my project I develop a board with MCU STM32H733VGT6. This project must to be have 4 USB peripheral ports.The MCU is configures as USB HOST, so i connected the USB pins (pin PA11 and PA12) as upstream.This nets goes to a usb HUB USB251...

PaoloAnterri_0-1722016116937.png

what is the cause of this hardfault ?

I execute my program on unmodified nucleo-u5a5zj-q , it reliably reach the "Default_Handler" from the default startup_STM32U5A5ZJTXQ.s.My understanding from the screenshot:It goes here because a hardfault occurs:SHCSR_S.HARDFAULTACT = 1HFSR_S.FORCED ...

Screenshot from 2024-07-27 22-54-07.png
acapola by Associate II
  • 427 Views
  • 2 replies
  • 0 kudos

PWM generation error

I tried generating PWM on my stm32g070rb but when I connected my PA7 and GND to my oscilloscope, the output I got does not look like a pwm signal in any way, I have verified my connections and now I think the error is from my code. 

WhatsApp Image 2024-07-27 at 01.19.34_3d2da966.jpg

Resolved! STM32F3 USART1 in LIN mode, is it possible to use a DMA for outgoing messages, but RXNE interrupt/reading data register for incoming messages?

I acquired some code for an STM32F3 that performs LIN communication over USART1.  Previously the code used DMA channels for both memory-to-peripheral and peripheral-to-memory transfers to/from USART1, but it had some problems that required restructur...

Dazai by Associate III
  • 520 Views
  • 1 replies
  • 0 kudos

Resolved! STM32L082KZ ADC load resistance

I am trying to create a voltage divider to read a battery voltage of 2.5 - 3.8 V using a STM32L082KZ with a Vref of 1.8V. While calculating the required division to measure the range i wanted to include the influence the ADC measurement/loading has o...

JWeij.1 by Associate II
  • 447 Views
  • 2 replies
  • 1 kudos