Forum Discussion
Altera_Forum
Honored Contributor
7 years ago --- Quote Start --- It looks like this project uses a PIO component in SOPC builder for NIOS II to communicate to a module this author wrote specifically for the audio codec he uses. I did not check if this audio codec uses the I2S protocol. If so, I guess you can reuse his code; and of course performance cannot be guaranteed (NIOS II accessing hardware modules through PIO is typically slow). --- Quote End --- Thanks, benc. That makes sense. I have gathered a few things since last posting, and new examples, Terasic suggests i can take parts from two demo examples to achieve this, extracting what i need from the designs. They are advanced designs +often have custom IP. Great way to learn though and i'm looking forward to mastering the most complex examples. So as of today it looks like i need to find about four lines of code to implement in main.c, and two IP cores to configure - one for SPI data and one for I2C control registers. Please let me know if i'm on the wrong track.. :cool: Pointers, comments and suggestions welcome. Thanks,