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 Alrdridge,
I looked at the MAX6966AE data sheet and it expects Mode 0. The issue is that the slave select signal is toggled between frames when SCPH=0 (see figure 19-7 in the CV data book). This behavior can cause a problem with some peripherals. Try mode 3 with your device. Regards, Sue