John Oyler wrote:
Can anyone summarize what needs to be done next to talk to an SPI chip
on the other side? I need to set its registers (I have a detailed
description of how to do this from an SPI standpoint), and read back
I'm picking through the documentation as best I can, but nothing is
really jumping out at me as what I need to do next.
You need to look at AN108, "command processor for MPSSE". Everything is a
packet of sorts. Maybe my timing was overly aggressive, but I had to add
functions to resynchronize (done by sending known-bad commands 0xAA and
0xAB, and waiting for *proper* replies, possibly retrying) occasionally.
Not everything about MPSSE is clearly documented, but the SPI aspect should
be straightforward if you're careful to build it up block by block.