<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>this is how my mssp registers are set.. 
</FONT></DIV>
<DIV><FONT face=Arial size=2>the other hardware does work..  i've got an 
lcd hooked up</FONT></DIV>
<DIV><FONT face=Arial size=2>to it as well..   </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>    movlw 
 b'01000000'  <BR>    movwf 
 SSPSTAT </FONT></DIV>
<DIV><FONT face=Arial size=2>    movlw 
 b'00100001' <BR>    movwf  SSPCON1 </FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=jays@aracnet.com href="mailto:jays@aracnet.com">Jay 
  Schwichtenberg</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=synth-diy@dropmix.xs4all.nl 
  href="mailto:synth-diy@dropmix.xs4all.nl">synth-diy@dropmix.xs4all.nl</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, March 14, 2005 10:40 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [sdiy] SPI Digital 
  Potentiomters and PIC 18.. not working.. help!</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=404423715-14032005>Not 
  a lot of info here Bill.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=404423715-14032005></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=404423715-14032005>Do 
  you have any indication that any of the program that you put in the unit is 
  working (ie does the hardware work)?</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=404423715-14032005></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=404423715-14032005>Did 
  you program the MSSP and clocks correctly for SPI?</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=404423715-14032005></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=404423715-14032005>You 
  have to get the MSSP port programmed correctly before anything will 
  happen.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=404423715-14032005></SPAN></FONT> </DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=404423715-14032005>Good 
  luck!</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=404423715-14032005>Jay 
  S.</SPAN></FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> 
    owner-synth-diy@dropmix.xs4all.nl 
    [mailto:owner-synth-diy@dropmix.xs4all.nl]<B>On Behalf Of </B>Bill 
    Berzinskas<BR><B>Sent:</B> Monday, March 14, 2005 6:50 AM<BR><B>To:</B> 
    synth-diy@dropmix.xs4all.nl<BR><B>Subject:</B> [sdiy] SPI Digital 
    Potentiomters and PIC 18.. not working.. help! <BR><BR></FONT></DIV>
    <DIV><FONT face=Arial size=2>I'm using a microhip spi digital 
    potentiometer..  i'm sending data as follows</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>CS high > low</FONT></DIV>
    <DIV><FONT face=Arial size=2>write command byte (00010001)</FONT></DIV>
    <DIV><FONT face=Arial size=2>write data byte</FONT></DIV>
    <DIV><FONT face=Arial size=2>cd low > high</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>and nothing is working..   what am i 
    missing?    i'm sending the data from a pic18f</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>please 
help</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>