AVDAC is a 12-pin Pmod™ compatible module with a 16-bit stereo audio DAC and a 5-bit video DAC.
This repo contains schematics, pinouts and example gateware.
The demo plays a loop of 5 seconds of 48KHz 16-bit (LE) signed PCM stereo audio from flash memory.
An example of video output will be added soon, in the meantime please see the resources section below.
Building the example requires Yosys, nextpnr-ice40 and IceStorm.
Assuming they are installed, you can simply type make
to build the gateware, which will be written to output/avdac.bin. This example targets the Schoko and Riegel FPGA boards but can be easily adapted to other FPGA boards with a 12-pin PMOD connector.
Signal | Pin |
---|---|
AUD_DIN | 1 |
AUD_WS | 2 |
AUD_BCK | 3 |
VID_D0 | 4 |
GND | 5 |
3V3 | 6 |
VID_D1 | 7 |
VID_D2 | 8 |
VID_D3 | 9 |
VID_D4 | 10 |
GND | 11 |
3V3 | 12 |
Signal | Pin |
---|---|
Left Audio | T |
Right Audio | R1 |
Ground | R2 |
Video | S |