STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Timer count of 1 ms

HelloI want to configure timer which increment count by every millisecondwhat are value of prescaller or other parameter should configure in it ?i am attaching you my clock configuration with this RCC->APB1ENR |= (1<<1); // Enable clock for TIM3 TIM3...

Resolved! STM32F103C8T6 PWM Generation

How to generate PWM so that the LED lights up for 5 seconds? Now, my LED is just blinking. I watched a lot of tutorials, but I don't know where I'm wrong. I need help...My code: #include "stm32f10x.h" #include "stm32f10x_gpio.h" #include "stm32f10x_r...

Resolved! HOW to set resolution in ADC for STM32F103VBTx

I am working on STM32F103VBTx ADC. I am using HAL drivers. I dont find the setting where I can set the resolution. In old HAL drivers we had "hadc1.Init.Resolution = ADC_RESOLUTION_12B;" this field to set resolution. But in new drivers I dont find th...

sne_123 by Associate III
  • 1619 Views
  • 3 replies
  • 0 kudos

Resolved! How to divide word variable into 2x halfword?

Hi? I set my ADC1&2 in simultanous mode. I write these 2 data halfword to 1 - 32 bit variable word.​How can I divi​de this 32 bit variable into 2 separate variables? To get values of ADC1 and ADC2 separate?​ADC is 12 bit.​Thank You :)

oeliks by Senior
  • 1409 Views
  • 13 replies
  • 0 kudos

Why stm32 usb msc not work with freertos?

I use STM32746G-Discovery to learn usb msc.I copied STM32Cube_FW_F7_V1.15.0\Projects\STM32746G-Discovery\Applications\USB_Device\MSC_Standalone and it works fine.but when i use Freertos to drive msc, the PC popup a dialog that the device can't be re...