libftdi Archives

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

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 28 Jun 2011 15:06:50 +0200
>>>>> "Alex" == Alex Stefan <alexandru.stefan@xxxxxxxxxxx> writes:

    Alex> Hello, I am working on implementing a SPI protocol using
    Alex> bit-banging on the CBUS interface of a FT232H chip. The purpose
    Alex> would be to program another chip's flash memory via USB.

    Alex> The one I can't figure out is how to correctly time the SPI
    Alex> operations.  I mean, how can I output a precise clk signal on SCK
    Alex> using bit-banging.

Why do you want do bitbang with the FT232H?  MPSSE mode is much easier to
use.

Bye 
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

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

Current Thread