Atmega 644 mit FTDI 221X über SPI

Guest #3777274
Rate this post
• ▲ 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:
1
 
2
|-------|     |---------------|
3
| _644_ |     | FT221X        |
4
| CLK   |-----| CLK           | 
5
| MOSI  |-----| IO0 (MIOSIO0) |
6
| MISO  |-----| ???           | 
7
|-------|     |---------------|

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.

Greetings,

Johannes

[1] http://www.ftdichip.com/Products/ICs/FT221X.html
[2] 
http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT221X.pdf

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.