Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHelp! my program can't work with nios ii on DE1 board
Hi,there! I built a nios project with the audio IP from university program IPs(version 10.1),and program as follow: int main(void) { alt_up_audio_dev *audio_dev; unsigned int r_...
Altera_Forum
Honored Contributor
14 years agoDo you see "Opened audio device" in the console?
I've ever used this component so I don't know if the code is right. I think you should use multiple word buffers instead of just unsigned ints. If your data size is 16 bits, what you are sending is a succession of 0 and 1000 values. This is a signal at a rather high frequency (half the sampling rate) and a rather low amplitude (about 1/32 of the maximum). So if it works it must be hard to hear. What word size and sampling frequency did you use?