STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F407VG TImer PWM

Posted on December 12, 2015 at 11:04 Hi all, i use KIT stm32f407 to dev PWM for motor. I use timer1 with channel 1 (Port A Pin 8 ) to output PWM. I use HAL library with Keil C 5. My code build success (no error). And i load to hardware O...

32 sum with saturation

Posted on January 08, 2016 at 18:25hello forumI am using a Cortex M0+ and I am looking for suggestions about handling saturation with 32 bit addition.I found this code in the web uint32_t sadd32(uint32_t a, uint32_t b){ return (a > (1<<32-1) - b) ? ...

stanzanim by Associate III
  • 880 Views
  • 2 replies
  • 0 kudos

F407VG's USB CDC And Getting Data To The PC

Posted on January 06, 2016 at 07:15 Getting a working CDC VCP on the STM32F4DISCOVERY is almost there. Device enumeration, SET/GET_LINE_CODING, SET_CONTROL_LINE_STATE and VCP PC -> STM32 data delivery are in place. Workalot is stuck on ge...

Workalot by Associate III
  • 651 Views
  • 1 replies
  • 0 kudos

STM32F4(407) DISCO CAN bus problem

Posted on January 12, 2016 at 07:30The original post was too long to process during our migration. Please click on the attachment to read the original post.

togsin by Associate III
  • 415 Views
  • 0 replies
  • 0 kudos

Bidirectional pins/databus?

Posted on January 11, 2016 at 17:39My display has bidirectional or databus pins. It has also LCD_WR and LCD_RS pins to tell how it should work. Is there an IO port or pins which could directly drive those. I know it is possible to change direction o...

LMI2 by Lead
  • 734 Views
  • 3 replies
  • 0 kudos

How to generate PWM on TIM3 - CH3 on STM32F103 device

Posted on January 10, 2016 at 14:32 Hello all, i have some mouses around my house and need a pwm driver for a mouse trap but i have some dificulties generating a pwm signal on PB0 ( Timer 3 channel 3 output) RCC_APB2PeriphClockCmd...

Bogdan by Senior
  • 2103 Views
  • 5 replies
  • 0 kudos

STM32f103 and measuring of LSI frequency

Posted on January 10, 2016 at 02:45Hello, I'm trying to use LSI for RTC, but can't calculate correct prescaler value for RTC. And for each time I got different results(~+/-15sec. for each 2minutes), when test it. I found note in Reference manual (7....