==== SPI Master on FX2 ====

This firmware implements a SPI Master.

The following pins on IOA are used :

SCLK	BIT0
SDO	BIT1
SDI	BIT3
SS_N	BIT7

There is only one slave select available (all other pins of IOA are being used
by used by bulk transfer control lines, and the other IOx aren't routed to the
fpga)

By default, those lines are not enabled.

Control of the SPI master is done through vendor commands. Those include:
- Output enable		VEN_SPI_EN	0x96
- Output disable	VEN_SPI_DIS	0x97
- Read			VEN_SPI_RD	0x98
- Write			VEN_SPI_WR	0x99

spi specific code is in spi.c

==== C code examples ====
To be done



--- 2008, Matthias P. Braendli
