Altera_Forum
Honored Contributor
12 years agoAssembly or C program that produce an output tone on speaker NIOS II.
All i want to do is produce and output tone to the speaker.
My university has a sample code http://www-ug.eecg.toronto.edu/msl/nios_devices/dev_audio.html However for some reason the code is broken and outputs a scrambled noise from the speaker. I attempted to modify this code to output a single however it obviously doesn't work, same scrambled noise.Can someone explain why this code is broken so I can fix tone output code, or explain how to output a tone to the speaker?