Others: STM32 MCUs related

Find out more about STM32 implementations with external components, discuss use cases, and discover how to use new tools and ST components.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hi, I am trying to generate sine modulated PWM on STM32F401-Disco board using MATLAB. The desired freq of a sine wave is 50Hz and of the carrier wave is 20kHz. But I am not getting 50Hz freq. Please suggest a solution.

I need sine modulated PWM during +ve half cycle of sine wave and zero output during -ve cycle of sine wave. Desired samples of sine are 200. I have attached the MATLAB simulation circuit snapshot. Problem is that I am getting 5Hz freq.

0690X000009jHLCQA2.png
VSira by Associate II
  • 882 Views
  • 3 replies
  • 0 kudos

Resolved! strange debugging behaviour

Hi,Im using the System Workbench and a strange behaviour occured to me.When a certain halting point is reached, Im not able to step to the next one. Pressing Resume brings me back to the very same halting point, stepping over aswell. And stepping int...

Anon767 by Associate II
  • 1028 Views
  • 3 replies
  • 0 kudos

STM32072 configure error with Simulink

Dear all,I am trying to program STM32f072 microcontroller with simulink and i use Matlab R2013b and MAT Target 5.1.0 when i have used stm_config block to configure hardware target i got a problem that i can not set the block parameters.I herewith att...

KM.4 by Associate
  • 964 Views
  • 2 replies
  • 0 kudos