STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

TIM6 Interrupt and Compiler Optimization

I have a project (for STM32L0) that use TIM6 to generate an Interrupt every 5ms and everything works perfectly both in release and debug when built wih no optimization.Then I built the same project with -Os(optimize for Size) -ffunction-section -fdat...

MVill.6 by Associate II
  • 3176 Views
  • 10 replies
  • 0 kudos

Can I measure PWM duty cycle using DMA?

I am on STM32F401 and I want to measure PWM duty cycle (PWM input) with timer 3 and a DMA channel. I'd like to have the DMA to do several measurements and then calculate the average over it. My configuration is like this:My DMA config is like this:My...

0693W00000QKukTQAT.png 0693W00000QKukdQAD.png 0693W00000QKukiQAD.png
HStee.1 by Associate II
  • 2463 Views
  • 3 replies
  • 0 kudos

STM32 MODBUS

Im using nucleo stm32f103. Does a modbus library exist or how would one go on with using modbus? Could not find any tutorials online.

rtek by Associate II
  • 26776 Views
  • 7 replies
  • 0 kudos

NUCLEO-L073RZ, ADC reading problem on PA2 and PA3 pins We removed SB13 and SB14 resistors on NUCLEO-L073RZ board and configured PA2 and PA3 as ADC channels (in CubeMX), but AP2 and PA3 don't read any analogy inputs.

We also configured the other PAx pins, such as PA0, PA1, PA4, PA5, ect as ADC channels. these pins work properly.Removing SB13 and SB14 is based on the suggestion of NUCLEO-L073RZ manual (UM1724 Rev 14), in order to use PA2/3 pins.Please let us know ...

Texram by Associate III
  • 596 Views
  • 4 replies
  • 0 kudos