DSPRelated.com

Tim Howe (@timbly5000)

Communications engineer: 35 years experience in RF and baseband processing (software and FPGA).

Re: Generate 2KHz damped sine wave using DAC

Reply posted 2 months ago (05/21/2024)
Further observations by me:You dont say which STM32L4 and how much RAM (or even FLASH) you have.64 x oversampling is excessive and is challenging your implementation...

Re: Generate 2KHz damped sine wave using DAC

Reply posted 2 months ago (05/17/2024)
Hi. What is your sample rate and how big will the total 1s signal be? If you can fit this into a RAM buffer then simply pre-compute the whole waveform ahead of time,...
Hi,I've not done this for a while but what I would try is a Lagrange polynomial interpolator. You will need a fractional accumulator updating at the input sample...
There are variations on the integer IQ magnitude approximation (still with compute-friendly coefficient values) that give a lower error that that posted above and...

Use this form to contact timbly5000

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address