Hi,
I would like to build an application with the FTDI FT2232 Chip which should communicate over SPI with an external device.
I am using Labview and have implemented predefined VIs from the FTDI Webpage.
I
think, i have configured all important parameters, but my problem is,
that I can't see a clock signal on the scope at the CLK-Pin during a
read/write operation.
I am not sure, if I have done all
the configuration which are necessary for SPI communication, perhaps I
have forgotten somethink or have made a mistake in the
configuration and somebody has an idea what went wrong:
1)
Set the chip into MPSSE mode to activate SPI functionality (Clock, Data
Out & CS are defined as OUTPUT, Data In is defined as INPUT)
2) SPI Open
3) SPI Set Clock
4) SPI Init
5) SPI Write
I can execute all these Subfunctions successfully, but the clock doesn't work!
In
the SPI_Write subfunction I can change the Idle Level of the CLOCK,
DATA OUT and CS Pins. When I play with these parameters, and change
them from high to low for example,
I can see these levels on the scope.
Does anybody know, if there is something missing in the configuration?
Regards,
Markus