Tagged: tim6

Square wave 10kHz 28

Library 36- DAC Signal generator for STM32F4

For FFT project purpose, I needed simple, really simple signal generator. I don’t have separate device at home, so I made one with STM32F4. DAC Signal library uses timer for output generation and DMA for¬†transferring data from memory to DAC peripheral. So this library does not use processor for controlling. Everything is behind the scenes. You can use 4 different signal waves: Square Sawtooth Triangle Sinus They are simple, predefined signals. You can adjust signal frequency for specific wave. I...

PWM graph 136

STM32F4 PWM tutorial with TIMERs

In this tutorial, I will show you, how to implement PWM outputs on STM32F4xx devices. This is for a lot of people pretty hard work, but believe me, it’s quite quick and easy. I will go step by step on how to make a PWM output on specific timer. Update: I made a library for PWM, available here. STM32F4¬†timers They have up to 14 timers inside. Table below shows their description. You have to know, that let’s say F401 doesn’t...