Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

Avalon SPI Interface: Bus width?

Altera_Forum
Honored Contributor II
954 Views

when using the SPI avalon interface function "alt_avalon_spi_command", it supports only 8bit bus width. Is there another way (function) to send also 16bit

 

Thanks!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
216 Views

Hi Hugo, 

 

You could write your own version of the spi_read / spi_write functions using IORD and IOWR directly. The Embedded Peripherals IP User Guide is a good reference on how to do that manually 

 

Cheers, 

Thiago
0 Kudos
Reply