<HTML><BODY>
<div>Programming pins on a 128 are rx0 and tx0 instead of mosi and miso, so maybe no prob?<SPAN contentEditable=false style="DISPLAY: inline-block"></SPAN></div>


<div>&nbsp;</div>
&nbsp;<br>
-----Original Message-----<br>
From: sl@ecpower.dk<br>
Sent: Mon, 12 Mar 2007 9:14 AM<br>
Subject: [Icc-avr] SPI master and slave<br>
<br>

<STYLE>
.AOLPlainTextBody {
    margin: 0px;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 12px; 
    color: #000; 
    background-color: #fff; 
}

.AOLPlainTextBody pre {
    font-size: 9pt;
}

.AOLInlineAttachment {
    margin: 10px;
}

.AOLAttachmentHeader {
    font: 11px arial;
    border: 1px solid #7DA8D4;
    background: #F9F9F9;
}

.AOLAttachmentHeader .Title {
    font: 11px arial;
    background: #B5DDFA;
    padding: 3px 3px 3px 3px;
}

.AOLAttachmentHeader .FieldLabel {
    font: 11px arial; 
    color: #000000;
    padding: 1px 10px 1px 9px;
    background: #F9F9F9;
}

.AOLAttachmentHeader .FieldValue {
    font: 11px arial; 
    color: #000000;
    background: #F9F9F9;
}

.AOLAttachmentHeader a, .AOLImage a {
    color: #2864B4;
    text-decoration: none;
}

.AOLAttachmentHeader a:hover, .AOLImage a:hover {
    color: #2864B4;
    text-decoration: underline;
}

.AOLWebSuiteCompose .AOLPicturesFullSizeLink,
.AOLWebSuite .AOLPicturesFullSizeLink {
    height: 1px;
    width: 1px;
    overflow: hidden;
}

body {
    background-color: white;
    font-family: "Verdana";
    font-size: 10pt;
    border: 0px;
}

.AOLWebSuiteCompose p {
    margin: 0px;
    padding: 0px;
}

img.managedImg {
    width: 0px;
    height: 0px;
}

img.placeholder {
    width: 275px;
    height: 206px;
    background: #F4F4F4 center center no-repeat;
    border: 1px solid #DADAD6 !important;  
}

</STYLE>


<div id=AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6>
<STYLE>#AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6 <!--  p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";}#AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6 a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}#AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6 a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;}#AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6 p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";}#AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6 p {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:12.0pt; font-family:"Times New Roman";}#AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6 span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;}@#AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6 page Section1 {size:595.3pt 841.9pt; margin:3.0cm 2.0cm 3.0cm 2.0cm;}#AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6 div.Section1 {page:Section1;}--></STYLE>


<div class=Section1>

<div class=MsoNormal><A name=""><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi.</SPAN></FONT></A></div>


<div class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></div>


<div class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In a new design, I want a Master (atmega 128) to talk to a Slave (atmega8).</SPAN></FONT></div>


<div class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">But do I run into problems during programming with the ISP?</SPAN></FONT></div>


<div class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">For example if I want to program the Slave and the master is talking on the SPI port, I probably run into trouble.</SPAN></FONT></div>


<div class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Do I need resistors on the wires? How big?</SPAN></FONT></div>


<div class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I would expect Atmel to have some application notes on this, but did not find any.</SPAN></FONT></div>


<div class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></div>


<div><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Med venlig hilsen / Best regards / mit freundlichen Grüßen</SPAN></FONT></div>


<div><B><FONT face="Times New Roman" color=navy size=3><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: navy">EC POWER A/S</SPAN></FONT></B></div>


<div><B><FONT face="Times New Roman" color=navy size=3><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: navy">Steven Lose</SPAN></FONT></B></div>


<div><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Software Ingeniør</SPAN></FONT></div>


<div><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Tlf.: +45 87434100</SPAN></FONT></div>


<div><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Direkte tlf. +45 58286608</SPAN></FONT></div>


<div><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Email: <A>sl@ecpower.dk</A></SPAN></FONT></div>


<div><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><A href="http://www.ecpower.dk/" target=_blank>www.ecpower.dk</A></SPAN></FONT></div>


<div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></div>
</div>
</div>
<!-- end of AOLMsgPart_3_321f4f79-8b90-47c3-880f-05537038f3c6 -->

<div class=AOLPlainTextBody id=AOLMsgPart_4_321f4f79-8b90-47c3-880f-05537038f3c6><PRE><TT>_______________________________________________
Icc-avr mailing list
<A href='javascript:parent.ComposeTo("Icc-avr%40imagecraft.com", "");'>Icc-avr@imagecraft.com</A>
<A href="http://dragonsgate.net/mailman/listinfo/icc-avr" target=_blank>http://dragonsgate.net/mailman/listinfo/icc-avr</A>
</TT></PRE></div>
<!-- end of AOLMsgPart_4_321f4f79-8b90-47c3-880f-05537038f3c6 -->
<div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
AOL now offers free email to everyone.  Find out more about what's free from AOL at <a href="http://pr.atwola.com/promoclk/1615326657x4311227241x4298082137/aol?redir=http://www.aol.com" target="_blank"><b>AOL.com</b></a>.<br />
</div>

</BODY></HTML>