STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Usage of Comparators with PWM Generation

I am trying to design a digital SMPS with an STM32G0.ST has lots of literature stating that the comparators can be used to control the duty cycle of the PWM from a timer.I understand the use of a comparator to detect a fault and output to the BKIN in...

AdinAck by Associate
  • 583 Views
  • 0 replies
  • 0 kudos

Resolved! STM32G431C6 fails to power up sometimes.

I designed a board that uses the STM32G431C6 and is intended to connect in a chain with other similar boards, but I am having problems when powering them up. They turn on and work fine sometimes, but sometimes boards won't turn on. Each board I desig...

IvanOrot by Associate II
  • 1081 Views
  • 5 replies
  • 3 kudos

9 bit SPI for TFT

Hi, I have a TFT screen that is using 3-wire 9-bit SPI (DC bit as 9th bit) has anyone got and experience or examples of this with HAL? I think I have it explained below, the problem is when I test on the oscilloscope the SPI data is reversed as MSB i...

PLee.3 by Associate III
  • 1663 Views
  • 7 replies
  • 4 kudos

Resolved! GPIO pins won't RESET low (always high)

I took the default STM32F101VFTx, enabled PB8 & PB9 as GPIO Output, and then tried to pull the pins low.  I am having an issue that caused me to create this isolated test.   Configurations, code, and scope on the pins below.  Repo for this test case ...

HunterR_2-1707243776809.png HunterR_0-1707243659343.png HunterR_1-1707243732555.png
HunterR by Associate II
  • 1538 Views
  • 3 replies
  • 2 kudos

Resolved! 4 DACs, 4 audio rate sawtooth waves with SMT32G4

Hello,I am looking to develop with the STM32 microcontrollers for the first time and was hoping to get some help. I need to create a device capable of outputting 3 separate sawtooth waves that are individually controllable to synthesize audio based o...

STM32F303RE: PWMs utilizing Timers with Phase Shift

Hello,I am assisting with the firmware development of a dual-active bridge converter and I am trying to create a phase-shifted PWM signal that will control the switches. Creating the phase shift is proving challenging, but I had an idea that I believ...

KMew_0-1706889515705.png KMew_1-1706889584526.png KMew_2-1706889611420.png KMew_3-1706889628508.png
KMew by Senior III
  • 2552 Views
  • 12 replies
  • 1 kudos

How do I synchronize received UART data ?

I am trying to receive a frame containing 10 bytes of serial data, each frame is transmitted at a 100ms rate.However, as the UART can start receiving the 10 byte frame at any point in time, the received data is becoming out of sync. How do I sync the...

johngj_0-1706805151387.png johngj_1-1706805208495.png johngj_2-1706805851655.png johngj_3-1706805879295.png
johngj by Senior
  • 5528 Views
  • 23 replies
  • 11 kudos

Resolved! using several ADC

Hello,I wonder if it is or it is not possible to use more than one ADC independet of each other. My problem is as follows: I want to use ADC1 and ADC2  in independent scan conversion nothing works anymore. My code work for ADC1 alone   or ADC2 alone,...

kkhli.1 by Associate III
  • 2076 Views
  • 11 replies
  • 6 kudos

Resolved! Flash via I2C bootloader problem for STM32G0B1KBU6

Hello,We encountered a problem with the internal Bootloader of the STM32G0B1KBU6 MCU.ConditionsFirst, the option bytes are set with an STLINK-V3 programming adapter (SWD interface) and CubeProgrammer (2.15.0) according to Pattern 11 of AN2606:nBoot_S...

IE by Associate II
  • 2855 Views
  • 13 replies
  • 0 kudos