Forum Discussion
Altera_Forum
Honored Contributor
18 years agoC Programming with Audio IP Cores
I am trying to take an inputted Audio file and trying to save it to the SDRAM (ie recording a word said into a microphone to the memory). My system uses a DE2 board with a Nios II Processor and...
Altera_Forum
Honored Contributor
18 years agoWhat kind of trouble are you in, recording or playback?
One thing, if you are using NiosII/f with data cache, you can not get correct value of Switch because of data caching, I think. To bypass data cache, you have to define # define Switch ((volatile char *) (0x01001020 | 0x80000000)) or read through IORD macro IORD(Switch,0) instead of (*Switch)