In the standard SPI peripheral supplied by Altera, the shift direction and clock polarity/phase are fixed when you run SOPC builder. You would need a different SPI peripheral to do what you are looking for.
--- Quote Start ---
originally posted by agdepus@Nov 12 2006, 03:34 PM
hi,
i have a bunch of different spi slaves on my bus.
each of these have a different set of likings.
i have yet to find any way to control the following at run time:
-- shift direction
-- data polarity
and so on.
any of you guys know if this is possible, or is it hardcoded when the cpu is generated?
thanks,
agdepus
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19393)
--- quote end ---
--- Quote End ---