Re: LFSR flat frequency

From: Ian Stirling (root_at_mauve.demon.co.uk)
Date: 11/23/04


Date: 23 Nov 2004 15:17:01 GMT

Rich Grise <rich@example.net> wrote:
<snip>
> I'm wondering how you get from the LFSR output into the frequency
> domain - just take the bit stream and act like it's an analog signal?
> Maybe LPF it? What would happen if, each clock cycle, you latched the
> register value into a DAC? What kind of difference might that make? Take
> the DAC output for your signal, of course.
>
> I've "listened" to a bit stream, and it definitely isn't pink
> noise! :-) It's kinda scraxxy, and (this was only about 16 bits)
> clearly periodic. I don't remember if I tried it with a DAC,
> but if I did, it must not have sounded much different or I'd have
> remembered that I had and it did. ;-)

You need to use a longer register.

16 bits (at 44Khz) repeats after a second or so, and is audibly periodic.
Add maybe 3 or 4 more bits, and you don't hear the periodicity.
Add another 16, and it repeats about once a day.
It eases the filtering a lot if you go to a 64 bit register, clocked at a
few Mhz, and just stick a R/C filter on the output.



Relevant Pages

  • Sending SPI-style serial data to DAC on register change
    ... I've designed a custom circuit board with a Cyclone II FPGA, and I am now writing Verilog code to send a control word to a 16-bit DAC. ... The DAC is a Texas Instruments/Burr-Brown part which communicates via an SPI-style interface with the chip-select line active high. ... The idea is for the user to use the I2C bus to load the msb_data register and the lsb_data register with the MSB and LSB of the control word. ...
    (comp.lang.verilog)
  • Re: Wieviele Bits netto aus ATMega PWM DAC?
    ... Hab' ich ehrlich gesagt nie probiert, ich finde die Programmierung des PWM ziemlich unerfreulich und wenn du gute DC Performance brauchst erscheint mir ein externer DAC immer besser geeignet. ... Ok, wenn SPI schon drin ist geht das ohne viel Bit-Banging Aufwand, aber beim PWM ist nur ein Register zu beschreiben. ...
    (de.sci.electronics)
  • Re: Delphi 2006 and MySql 5
    ... If you'd like to test the dbx drivers please let me know and i can register you for a full version;) ... I've used the 1.9.8-Version without a problem but have to move to MyDAC because the performance of DAC for MySQL 2.x was so bad. ...
    (borland.public.delphi.non-technical)
  • VHDL-200x update?
    ... Nothing after DAC ... I tried to register here: ... as a non-member a while ago, but no response! ...
    (comp.lang.vhdl)

Quantcast