STM32F42X - TIMER + DAC + DMA: SINE WAVE
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-19 11:43 AM
Posted on March 19, 2014 at 19:43
Dear All,
I would like to create a 1.5 MHz Sine Wave using TIMER + DAC + DMA.I have started from the DAC_SignalsGeneration example for Discovery board and then I have modified the TIM_TimeBaseStructure.TIM_Period from 0xFF to 1.I have done the measurement with the oscilloscope and in the first case (Period = 0xFF) the sine wave has a frequency of 11kHz and in the second case (Period = 1) the sine wave has a frequency of 350kHz. Sincerly I thought to obtain an higher frequency because the period is 255 times lower. Could anyone explain this behaviour? Then I would like to know if it is possible to create a 1.5 MHz Sine Wave with Timer + DAC + DMA or if it is better to use a different solution.Let me know!Best regards
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-29 10:53 AM
Posted on March 29, 2014 at 18:53
Dear All,
does anyone have an idea or an advice about it?How could I create a 1.5MHz Sine Wave using the STM32F429?Let me know!Best regardsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-29 11:18 AM
Posted on March 29, 2014 at 19:18
Are there some other design goals? Or an ability to use some other part to generate this signal?
What's the issue with using ahttp://www.tek.com/blog/tutorial-digital-analog-conversion-%E2%80%93-r-2r-dac
, attached to 6 or 8 GPIO pins, with 32 samples clocked at 48 MHz using TIM/DMA?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..

- « Previous
-
- 1
- 2
- Next »