Close

I2S Audio Output

A project log for 32MHz spectrum + SDR + FT8 in an FPGA

A 0 - 32MHz FPGA based Software Defined Radio (AM SSB FT8) by ready modules->cheap and easy Last add: Oct 6th FT8 VHDL GFSK modulator

guidoGuido 12/10/2022 at 19:020 Comments

As I told before, I'm in the mood to tune any HF radio station and therefore I need to get some audio out the Zynq-7000. 

To get some audio out of the Zynq I examined a few options:

  1. send the audio stream to the PS (via DMA or Data Capture) and then:
    1. from PS to a Python client (the same I'm using to display the wide spectrum) via a web socket stream
    2. or from PS to a DAC via I2S 
  2. get audio as a digital stream from the PL (via I2S standard) to a DAC (PCM5102 or similar)
  3. get audio as a PWM from the PL (as Raspberry does)

In the future I'd love to avoid the use of an external PC, so I discarded 1a 

I discarded 3 because the audio quality is not excellent and you can hear some "clicks" 

I discarded 1b because I'm not very fond of linux drivers and it is not very clever to move audio from PL to PS and then back to PL

Therefore the winner is: get audio as a digital stream from the PL (via I2S standard) to a DAC (PCM5102 or similar)

Discussions