Forum: µC & Digital Electronics Atmega 644 mit FTDI 221X über SPI

von Johannes Walcher (Guest)

Rate this post
0 useful
not useful
Hey Guys,

I am trying to connect a FTDI 221X [1][2] (in 1-Bit mode) with an 
Atmmega 644. The Documentation tells me it is "some kind of spi", but I 
am unable to get it running.

My Circuit looks something like that:
|-------|     |---------------|
| _644_ |     | FT221X        |
| CLK   |-----| CLK           | 
| MOSI  |-----| IO0 (MIOSIO0) |
| MISO  |-----| ???           | 
|-------|     |---------------|

I have no clue, where to put MISO from Atmega, so I left it unconnected 
(because the "MISO" of FT221X is some kind of state flag)

With this configuration I could send data from 644 over FT221X to USB 
without any problems, but I cannot find circuit and code where I can 
read data from the FT221. I have tested all data Lines with my Oszi and 
tried to see any kind of useful signal - nothing.

If i can help you helping me by providing code or more information - 
just say a word.



[1] http://www.ftdichip.com/Products/ICs/FT221X.html


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.