libftdi Archives

Subject: Re: Could anyone spare a clue?

From: John Oyler <john.oyler@xxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 23 Aug 2010 13:24:27 -0500
On Aug 23, 2010, at 10:34 AM, Michael Plante wrote:

> John Oyler wrote:
>>> Something's screwy. When I look at the chip on the board, it definitely
>>> says FT2232D. However according to AN108, this chip only has the
> inteface/channel A.
> 
> Well, MPSSE only works on interface A.  You'll find that in a footnote on
> the datasheet's pin definitions table.  But interface B can be used for
> other things simultaneously (such as a UART).
> 

The schematic has two LEDs hooked up to B on BDBUS6 & 7. Would it be difficult 
to make those blink?

BDBUS0 & 1 are apparently IRQs, those are probably more important to me. 

A few other things are hooked up as well, though if I read the SX1211 data 
sheet correctly, those don't really interest me at all.


So far, I have this: http://pastebin.com/FsRsDaXB

It compiles without error. It runs without segfaulting. But the value I read 
back from the register does not seem to be the value I put into it. In fact, 
reading it twice, I get back a different value each time, usually 0x00, 0xfa 
and 0x8a.

That's better than I was doing yesterday though.

John O.


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread