Git Product home page Git Product logo

Comments (7)

kcl93 avatar kcl93 commented on August 22, 2024

I have tested it with another FTDI chip that I just bought as well as via a linux VM. All results in the same behaviour.

from csr-spi-ftdi.

kcl93 avatar kcl93 commented on August 22, 2024

I have found a FT2232HL which should definitively be a genuine part and it shows nearly exactly the same behaviour as above. Just with fixed 25kHz output clock instead of 77kHz,

from csr-spi-ftdi.

darkautism avatar darkautism commented on August 22, 2024

https://www.eevblog.com/forum/microcontrollers/ftdi-gate-2-0/msg859741/#msg859741
Does it related to this?

from csr-spi-ftdi.

kcl93 avatar kcl93 commented on August 22, 2024

https://www.eevblog.com/forum/microcontrollers/ftdi-gate-2-0/msg859741/#msg859741
Does it related to this?

Sadly not so much. The signals I get look fine but the number of clock cycles is odd. I am not sure whether some at the beginning or end are missing or whether more clocks are output than should be.
At the moment I am trying to setup an Eclipse project to compile this code myself as the hints in the readme do not seem to work anymore (or I am not competent enough to get them to work ;) )

from csr-spi-ftdi.

jeff-dagenais avatar jeff-dagenais commented on August 22, 2024

Any updates?

from csr-spi-ftdi.

jeff-dagenais avatar jeff-dagenais commented on August 22, 2024

I also measure the clock frequency at 80KHz, even if the output says 20kHz

"C:\Program Files (x86)\CSR\BlueSuite 2.5.0\BlueFlashCmd.exe" -trans "SPIMAXCLOCK=20" -identify
blueflashcmd, version 2.5.0.93 Release
Copyright (C) 2002-2012, Cambridge Silicon Radio Ltd.

16:56:03.855674: all:spi.c:558:spi_init: csr-spi-ftdi 0.5.3, git rev 80b2ad0
16:56:04.386665: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
16:56:04.402157: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
16:56:04.417761: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
16:56:04.433389: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
16:56:04.433389: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
16:56:04.496811: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
16:56:04.543453: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
16:56:04.558411: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
16:56:04.574012: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
==============================================================================
ERROR: Error detecting chip type (Unable to start read (invalid control data))
==============================================================================
*** FTDI Statistics ********************************************************
csr-spi-ftdi version: 0.5.3 (git rev 80b2ad0)
Time open: 0.54 s
Time in xfer: 0.00 s (0.00% of open time)
Reads: 9 (18 bytes, 2.00 bytes avg read size)
Writes: 9 (27 bytes, 3.00 bytes avg write size)
Xfer data rate: 1.#R KB/s (45 bytes in 0.00 s)
IOPS: 1.#R IO/s (18 IOs in 0.00 s)
FTDI chip: FT232R (3), buffer size: 384 bytes
FTDI stats: 1.#R xfers/s (1.#R short reads/s,
            26 xfers/6 short reads in 0.00 s,
            1.00 xfers/IO, 59.00 bytes/xfer)
SPI max clock: 20 kHz, min clock: 20 kHz, slowdowns: 0
****************************************************************************
Failed

from csr-spi-ftdi.

kcl93 avatar kcl93 commented on August 22, 2024

Any updates?

Nothing from my side. I sadly never got it working...

from csr-spi-ftdi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.