sobota, 16 marca 2013

First steps

As I wrote in recent post in this post I would like to describe progress in my activities.
So, let's start.
During the recent week I have worked  on following periferials:
- Digital to analog converter
- USART to communication with PC
- Timer_3 to generating PWM
- Timer_1 to triggering DAC.

Now, I can generate sine or PWM signal by using PC. I have wrote short program in order to set sine frequency or pulse and frequency of PWM.

Below I add picture which show results of my work.


As you see I have to improve quality of sine signal. This signal is obtained directly on on output of processor. I must design analog filter to mitigate edge of generated signal.
Maximum frequency which I obtained  is up to 75 kHz when I sampling this signal with frequency 0.5 MHz.  In this case by using DAC on processor frequency more than 75 kHz is impossible.

Plan for next week:
Firstly I will design analog filter.
I will try start design PCB for this project (maybe only schematics)
I will add more signals ( i.e. triangular)

piątek, 8 marca 2013

Introduction

Theme of this blog will be signal generator, which will work based on STM32F100RB. This theme is realized for pass seminary project of Advanced Microcontrollers. Once in week I will attempt to describe progres in my project. Each problem will be solved in other article. If problem is complex I will allocate more articles, which explain yours  doubts.
So, it is high time to started!