STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Implement Cordic of Arctan2 through ADC and DMA

I need to calculate angle value with input of sin/cos from ADC1/ADC2 channel by DMA way. As using the cordic of atan2 function,I think that two parameters of Y and X need to be written to pInBuff as like the key code below, is it correct? sCordicConf...

CWang.9 by Associate
  • 577 Views
  • 0 replies
  • 0 kudos

I'm trying to use HRTIM to generate non-overlaping PWM pulses on 2 outputs, and be able to change which output is first in time. I've tried various methods and find when I change the output order, it corrupts the pulse lengths and they overlap.

Nulceo 64- F334R8. Using Timer A on HRTIM1 to generate non-overlaping PWM pulses on 2 separate outputs. I use 4 CMP registers, defining the start and end time of each pulse (CMP1 = pulse 1 start, CMP2 = pulse 1 end, CMP3 = pulse 2 start, CMP4 = puls...

ORidl.1 by Associate
  • 708 Views
  • 2 replies
  • 0 kudos