STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 512 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
  • 434 Views
  • 2 replies
  • 1 kudos

VDD33USB on STM32H743

The datasheet says that power must be supplied on this pin if USB is to be used. It must also be the last power supply to be energized and the first to be removed.If my design does *not* use USB. Can I tie this pin to VSS and call it a day?I want to ...

Resolved! RTC Time Drifts Even Though LSCO looks good

Hi Everyone, I have a project utilizing a STM32G030F6P6 with a 32.768kHz crystal and the LSE to source the RTC clock. It is exhibiting 2% clock error (which is huge!) over a 10 minute period despite using a 20ppm crystal. I am measuring this error by...

kile by Associate II
  • 1331 Views
  • 11 replies
  • 4 kudos

SPI Communication is not initilizing

Hii,  I am trying to interface ADC module cs5532 using SPI communication with STM32H563ZIT6 on NucleoH563zi board. I have also completed pin configuration on .ioc file and successfully generated a code. But SPI communication is not initializing.  I h...

digambar by Associate II
  • 1462 Views
  • 12 replies
  • 2 kudos