STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Advice on translation for Servo motor control

I'm working on a project involving a 5V servo motor with a 3V3 MCU, and I wanted to get some advice on how best to translate the PWM output from the 3V3 MCU to the 5V servo motor. I made the mistake of initially just using a MOSFET that was controlle...

ESpra.1 by Senior
  • 1252 Views
  • 7 replies
  • 0 kudos

Generating SPWM - code optimization

Hi,I'm working on a project to generate a 3phase sinusoidal pwm.F_fundemnetal = 0.1 - 100 HzF_sw = 1-100 kHz.I would like to calculate the PWM values on the fly if possible instead of a lookup table. I am generating an ISR every time TIM1 overflows a...

glenn0010 by Associate III
  • 6758 Views
  • 9 replies
  • 0 kudos

How to count the number of times Timer6 auto-reload.

I have a sine wave DAC code using tim6 trigerout with 128 sampling points, I want to measure the sine wave frequency I know the formula to measure the frequency but I don't know how can I determine the number of times the Timer autoreload at 128thTha...

Stark by Associate II
  • 633 Views
  • 2 replies
  • 0 kudos

Resolved! Do several UART transmissions at the same time

I am trying to transmit (65535 bytes) 3 buffers through UART I just want to transmit all of them. the main buffer is separated into 3 DATA buffers when I tried to transmit all of them I will be able transmit only DATA1.**/* USER CODE BEGIN PD */ #def...

AElta.1 by Associate II
  • 567 Views
  • 1 replies
  • 0 kudos

Incorrect order of SPI datas?

I use my STM32F469I-DISCO board as slave to communicate with Arduino Mega. The communication is OK. I got the correct values in my array (uint8_t buff_read[10]). But the order is not correct! It shifted with some index but not a fixed number. If i ru...

SNEM.1 by Associate II
  • 761 Views
  • 3 replies
  • 0 kudos

Custom panel on stm32157C-DK2 probe problems

We have custom board design based on stm32157C-DK2. We just ise other LCD panel. We have updated device tree and probe function of panel is called. But in method: ltdc_load it fails to find any panel.bridge when calling: drm_of_find_panel_or_bridge (...

MBeli.1 by Associate III
  • 471 Views
  • 1 replies
  • 0 kudos

CAN Bus Flow Control on STM32H7

I will use STM32H753 to design the CAN bus circuit. I saw the CAN TX and RX but couldn't find out the flow control pin.Some chips call it nSTB or S.Could you tell me which gpio I can use?PS: the transeciver I will use is SN65HVD1050-EP

CKuo.2 by Associate
  • 851 Views
  • 2 replies
  • 0 kudos