Hi, 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 John
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.