libftdi Archives

Subject: Re: [libftdi 0.18] SPI with CBUS Bit-banging FT232H

From: Alex Stefan <alexandru.stefan@xxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 28 Jun 2011 12:36:56 +0300
On Tue, 2011-06-28 at 17:19 +0800, Xiaofan Chen wrote:
> On Tue, Jun 28, 2011 at 5:02 PM, Alex Stefan
> <alexandru.stefan@xxxxxxxxxxx> wrote:
> > Hello,
> >
> > I am working on implementing a SPI protocol using bit-banging on the
> > CBUS interface of a FT232H chip. The purpose would be to program another
> > chip's flash memory via USB.
> >
> > The one I can't figure out is how to correctly time the SPI operations.
> > I mean, how can I output a precise clk signal on SCK using bit-banging.
> 
> Why do you need precise clock? And it depends on your definition
> of "precise".
> 
> reference:
> http://libftdi.141977.n3.nabble.com/Re-libftdi-developer-intra2net-com-is-a-subscribers-only-list-td2682909.html
> 
> 

Thank you for your reply. From reading the programming guide of the chip
I was living under the impression that it required some very rigid
timing in order to program it by SPI. I was wrong as it seems the only
timing that matters is the one between the edges of SCK and the data
lines.

Alex


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

Current Thread