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

Stm32F0 TIM16 PWM not continuous

Pwm is not continuous My clock freq 20mhz Where am i doing wrong ? void PWMparamc(uint32_t PWM_freq, uint8_t duty){   PWMparam.period = (SystemCoreClock / PWM_freq) - 1;   //PWMparam.prescaler = (SystemCoreClock / TimerTickFreq )  ;   temp_duty = ((...

0693W00000Y90r4QAB.png
hdemi.1 by Associate III
  • 654 Views
  • 3 replies
  • 0 kudos

Help with a simple SMBus Read Word().

I need to preform a simple SMBus read command but I'm not understanding how to set it up. I can do a I2C read() but I can't find any examples of how to do a simple SMBus read word(). Are there any simple examples?Thanks,Richard

Resolved! HAL_UART_Transmit_IT?? STM32F072

I have the following block of code. I am averaging 6 A/D inputs. Stream holds these 6 average values and looks fine. One at a time the loop converts each sample to ascii and appends '\n' and '\r' and then transmits them over the UART. If I use UA...

SWenn.1 by Senior III
  • 1353 Views
  • 5 replies
  • 0 kudos

STM32L476 Timer question?

I am using one timer to trigger a second one and produce pwm outputs on the second timer. I would like to know if I disable this pwm timer (using CEN) and then re-enable it, will the PWMs re-start or wait until the next trigger event to re-start?If t...

SWenn.1 by Senior III
  • 477 Views
  • 1 replies
  • 0 kudos

Resolved! dirent.h and unistd.h not found

I used stm32f469i-disco and lvgl to work with the lcd. but when i am using lvgl 8.30, error appear and says "dirent.h" and "unistd.h" not found. where i can found the library? pls help

BAl K.1 by Associate III
  • 2150 Views
  • 4 replies
  • 0 kudos