FTDI2232D & SPI
- From: "Bill Davy" <Bill@xxxxxxxxxxxxxxx>
- Date: Fri, 30 May 2008 09:40:17 +0100
I've been trying to get this working so far without success. I'm just
wondering if anyone else has. Our particular requirement is for the 2232 to
act as a master to a SiLab MCU acting as a slave. All transactions are
bytes. I've not got so far as worrying about CLKPOL or CLKPHA - right now,
when I ask the 2232 to send data, SCK waggles like a good 'un, with small
gaps at byte boundaries, but the bytes I send do not appear on DO (or DI)
which may make a transition at byte boundaries (but never during the byte as
I'd like).
I am confident we are in MPSSE mode because when I send 0xAA, I do get 0xFA
0xAA back.
I have checked each output bit individually to make sure they can be high
and low.
We are not using CS as this is a hard-wired point-to-point connection.
We are actually using the 2232 in a DLP-2232M-G for prototyping.
Programmed in C++, it is pretty simple code and (frankly, but I would say
this), I do not think this is where the problem is. I've listed what I am
sending and it all looks good. But is there something I may have missed?
Is there any set-up I could have missed (I do FT_ResetDevice() and then
SetBitMode(2) to get it into MPSSE mode and as I say above, I am confident
this has been successful).
TIA,
Bill Davy
PS Ignore www.SynectixLtd.com
.
- Follow-Ups:
- Re: FTDI2232D & SPI
- From: The Real Andy
- Re: FTDI2232D & SPI
- Prev by Date: Re: gcc-toolchain for freescale's MC9S12X (68HCS12) ??
- Next by Date: Re: gcc-toolchain for freescale's MC9S12X (68HCS12) ??
- Previous by thread: free computer studies
- Next by thread: Re: FTDI2232D & SPI
- Index(es):
Relevant Pages
|