STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

issue in one pulse mode in stm32f030c8t6.

Currently i am working with one pulse mode in stm32f030c8t6. TIM15, slave mode = Trigger mode,Trigger source=TI2FP2, and channel = PWM channel CH1 ,Input and output frequency 50Hz. My problem is whenever i connect the trigger input pulse,(From extern...

VVL.1 by Associate II
  • 429 Views
  • 5 replies
  • 0 kudos

multi ADC by IT

Hi I'm using 2ch in ADC1 of STM32H735VGT.I set PIN15 to timer 5 and the waveform appears weird.  What's the problem? My ADC1_Init :static void MX_ADC1_Init(void){/* USER CODE BEGIN ADC1_Init 0 *//* USER CODE END ADC1_Init 0 */ADC_MultiModeTypeDef mul...

giwonKIM by Associate III
  • 198 Views
  • 1 replies
  • 0 kudos

Delay to Multi ADCs

 HI. I'm using 3ch in ADC3 of STM32H735VGT. They are running in Continuous conversion mode without delay. Do I have to give a delay after one conversion? If so, how long should I delay? Thank you.  static void MX_ADC1_Init(void){/* USER CODE BEGIN AD...

giwonKIM by Associate III
  • 248 Views
  • 3 replies
  • 0 kudos

dac+timer

void HAL_DAC_ConvCpltCallbackCh1(DAC_HandleTypeDef *hdac){ HAL_GPIO_TogglePin(START_OF_FRAME_GPIO_Port , START_OF_FRAME_Pin);}   uint32_t val[] = { 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400};   HAL_DAC_Start_DMA(&hdac1, DAC_CHANNEL_1, val...

msg-1001059758846-54432.jpg
nimaltd by Senior
  • 270 Views
  • 3 replies
  • 0 kudos

Resolved! DAC-DMA and Timer

I am using timer 2 for trigger DAC and GPIO to generate analog and digital values.own timer 2 started with DMA to change ARR by an array.My GPIO array works well and starting to change from index 0 . but my DAC array start from Index 1. as you can se...

msg89464043-592494.jpg
nimaltd by Senior
  • 331 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeIDE 1.15 Bug (switching from SysTick to TIM16)

I'm using the Nucleo-C031C6 board, and I chose this (NUCLEO-C031C6) from the board selector when starting the IDE. (STM32CubeIDE v1.15). I tried switching Timebase Source (in SYS menu) from SysTick to TIM16, then when I compiled, I got this error:../...

JLoh by Associate
  • 928 Views
  • 3 replies
  • 2 kudos

Resolved! documentation on STM32 PWM fast mode

Posted on February 08, 2017 at 12:00Hiin cubeMX for any TIM PWM IO I can enable / disable 'fast mode'.What is fast mode?In which pdf document  would I find the description of fast mode, and register address? I am trying to find my way in all the dif...

F407 CubeMX 1.13.1FW, timer based tick error

Posted on October 31, 2016 at 04:19I use CubeMX 4.17, F4xx firmware 1.13.1, created an automatically generated timer based hal tick funtion. I tested timer 6 and timer 10. BOTH results in tick running at 2000Hz(0.5ms per tick), but I think the corre...

kiilii by Associate
  • 447 Views
  • 4 replies
  • 1 kudos