Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

audio

Altera_Forum
Honored Contributor II
1,074 Views

Hello all, 

 

I want to get a sine out of the de2 board using only vhdl code. I only really don't know where to start. I already read some of the datasheet of the audio codec but obviously there isn't anything in there about vhdl. So how can I write VHDL code for a sine?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
309 Views

Hello, 

 

if you don't want to use the NIOS II to control the audio chip, you will 

have to control the chip via your own I2S interface. 

 

So I would write an I2S Interface for the chip, a ROM containing the 

sinus data and some control logic to get some configuration data and 

the sinus data via I2S to the audio controller.
0 Kudos
Altera_Forum
Honored Contributor II
309 Views

so far I've done what's in the attachment. I've found some code on this site and used, but I'm getting a lot of static. Can someone tell me why I've a lot of static?

0 Kudos
Reply