Author Topic: AVR ISP MkII circuit  (Read 2283 times)

0 Members and 1 Guest are viewing this topic.

Offline mstachoTopic starter

  • Supreme Robot
  • *****
  • Posts: 376
  • Helpful? 10
AVR ISP MkII circuit
« 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
Current project: tactile sensing systems for multifingered robot hands

Offline joe61

  • Supreme Robot
  • *****
  • Posts: 417
  • Helpful? 16
Re: AVR ISP MkII circuit
« Reply #1 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

Offline mstachoTopic starter

  • Supreme Robot
  • *****
  • Posts: 376
  • Helpful? 10
Re: AVR ISP MkII circuit
« Reply #2 on: February 01, 2012, 01:10:37 PM »
Ah, awesome.  Thanks a lot.

MIKE
Current project: tactile sensing systems for multifingered robot hands

 

SMF spam blocked by CleanTalk