Forum Discussion
Altera_Forum
Honored Contributor
11 years agoSPI problem
Hi, I prepare design with NiosII and SPI bus with 4 slaves. All slaves have different SPI standard (I mean clock polarity and clock phase to data). Is there a possibility to change SPI setup by the s...
Altera_Forum
Honored Contributor
11 years agoNo. On opencores you usually find the bare-metal core and you need to integrate it into your system.
In general you need: 1. build a HDL wrapper to interface to Avalon bus; most of opencores devices are based on wishbone bone which can be interfaced to Avalon in a quite straightforward way 2. create the Qsys custom component 3. write the HAL driver: this can be as simple as raw IOWRs/IORDs at device base address + reg