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.
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)
Hi :) Have you achieved any progress? I am very curious how signals look like now :) Best regards!
OdpowiedzUsuńHi :) I have break in my work :) If I continue my work, I will write post here.
OdpowiedzUsuńWaiting!
witam
OdpowiedzUsuńCzy mozesz zrobic coś podobnego na zamówienie ?
korted(at)rogers.com