Forum Discussion
Altera_Forum
Honored Contributor
13 years agoSPI with NIOS2 in qsys
Hi, I want to implement SPI in Qsys with one side NIOS 2. Well in SPI core of altera there is a function " int alt_avalon_spi_command(alt_u32 base, alt_u32 slave,alt_u32 write_length,c...
Altera_Forum
Honored Contributor
13 years agoHi,
There is one thing I do not understand still. Where does it write or read from, I mean which address. With that code I can write or read two bytes okay but where does it go in the memory(which address) that I am trying to write. And the code is running on NIOS right? Also it the function is "area" default? One other thing is that I imagined NIOS-SPI-RAM kind a system but should the other part the part that is not NIOS be intelligent as well? Looks like there is more than one thing after all :) Thanks Ugur