Ihave one of these
Which i want to configure as spi to talk to shields.
Thing is i cannot work out how to.
Anyone have a simple app that can configur it please.
Ihave one of these
Which i want to configure as spi to talk to shields.
Thing is i cannot work out how to.
Anyone have a simple app that can configur it please.
I can understand using it to talk to an Arduino but I don't see how it could talk to a shield that isn't connected to an Arduino.
Which end of the software do you not understand - the PC stuff or the Arduino stuff? There are lots of examples about using SPI with an Arduino.
And there are software examples in the FTDI datasheet that you linked to.
...R
for instance the rfid readers/shields/breakout often have spi interfaces.
yes its the pc stuff I don't understand.
link I gave says
This application note gives an example on how to configure the FTDI C232HM Hi-Speed USB 2.0 cable as a USB to Serial Peripheral Interface (SPI). All source code required is also included.
but
then proceeds with examples etc on how to programme the board attached to the other end of the lead .
I just want to configure the lead.
I do not have a c compiler on pc anyway except arduino.
Boardburner2:
I just want to configure the lead.
I do not have a c compiler on pc anyway except arduino.
I don't understand what you mean be "configure the lead" - what configuration is needed?
It would probably help if you describe what you want to use the lead for.
As far as I know it is easy to get a free C compiler for PC (but I use Linux so I could be wrong).
...R
I have a pc app for programming tokens.
I used the addafruit shield in spi mode as the read writer using an ftdi lead.
Lead has been "borrowed".
The lead described is multi functional was jast used in jtag mode and needs resetting to spi I think.
it certainly does not work.
Sorry, but your description is much too brief for me to get a good idea of the problem.
Does the datasheet deal with different modes for the lead? What page?
...R
The whole datasheet supposedly deals with spi only.
http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_C232HM_MPSSE_CABLE.PDF
this is a datasheet higher up the tree.
other sheets cover each possible mode
I spent a lot of time a couple of years ago struggling to understand FTDI documentation - I think in the end I had downloaded about 15 of their documents before I had a good grasp of what I needed to know. They tend to assume the reader already knows stuff.
Unfortunately it was not about the product you have problems with.
And I'm sorry, but I'm too lazy to do it all again on your behalf. All I can suggest is read, repeat .....
I wonder could you achieve what you want in a more roundabout way by connecting an Arduino to a PC in the normal way and using the Arduino as the SPI interface.
...R
Thanks Robin.
Weekends gone now so ill probably just buy a new spi lead when the shops open tomorrow.
Not worth the time and effort just to get a "bit of wire" to work.
I was just hoping someone might have done it before.