Forum Discussion
Altera_Forum
Honored Contributor
21 years agoSPI Example?
Hello Everyone, I'm working on a project that utilizes the SPI interface of the SOPC builder. I'm having some trouble getting it to work though, mostly because I'm not sure if I'...
Altera_Forum
Honored Contributor
20 years ago<div class='quotetop'>QUOTE </div>
--- Quote Start --- The benefit of this routine over HAL's "alt_avalon_spi_command" is that it supports a 16-bit data word.[/b] --- Quote End --- alt_avalon_spi_command support only 8 bit data. but a simple change will make it work for 16 bit data just change the alt_u8 to alt_u16 every where in the code and you have a method that read and write 16 bit