Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: mstacho on February 01, 2012, 11:53:07 AM

Title: AVR ISP MkII circuit
Post by: mstacho on February 01, 2012, 11:53:07 AM
howdy,

I have an AVR ISP MKII (hardware programmer) that I'm going to be using in my own uC circuits.  This may be a silly question, but the user's guide has an explanation of the target interface.  Does MOSI on the programmer go to MISO on the chip, or is MOSI attached to MOSI, MISO to MISO?

MIKE
Title: Re: AVR ISP MkII circuit
Post by: joe61 on February 01, 2012, 12:32:26 PM
Mike,

MISO is "Master In Slave Out", MOSI is "Master Out Slave In", so they match up one-for-one. It's not like async where the output of the chip needs to go to the input of the serial cable, etc.

If you're using an Atmel chip, there's a section in the data sheet called (something like) "Serial Programming Pin Mapping" which also gives that to you. The section "Memory Programing" pretty much gives you what you need.

Joe
Title: Re: AVR ISP MkII circuit
Post by: mstacho on February 01, 2012, 01:10:37 PM
Ah, awesome.  Thanks a lot.

MIKE