Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHaving trouble with the alt_spi_is_ready() function
Hi, I've been trying to control a simple SPI LED driver IC using the SPIM0 unit in my cyclone V HPS. The problem is that the alt_spi_is_ready() function doesn't do what I expect it to do. ...
Altera_Forum
Honored Contributor
11 years agoHi Aldridge,
I'm confused by your question. We don’t have an alt_spi_is_ready() API - can you please double check the API you are having trouble with? Also, we have a known limitation with SPI in mode 0. The example we provide uses SPI mode 3, and it works. What mode are you using, and what mode does the SPI LED driver IC support? If the LED driver IC supports mode 3, please give that a try. Let me know how it goes. Regards, Sue