Forum: µC & Digital Electronics MOSI MISO or RX, TX, on Atmega328

Author: John (Guest)
Posted on:

Rate this post
0 useful
not useful
I was programming my Atmega328 via USB FTDI using TX and Rx till it 
spopped working. Traced the error down to the cable.
Only now I ask myself: What are  MOSI and MISO pins for?
When do I use TX RX, and when should I use MOSI and MISO?
Appreciate any help


Author: Andreas Schwarz (andreas) (Admin) Flattr this
Posted on:

Rate this post
0 useful
not useful
RX/TX belongs to the UART, which is used for general purpose serial 
communications. To use it for programming, your AVR apparently has a 
bootloader installed, which is a small piece of software that receives 
the program and writes it to the Flash ROM. But in general, the AVR 
programming interface uses MOSI/MISO/SCK/RST.


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.