[sdiy] SPI Digital Potentiomters and PIC 18.. not working.. help!
Bill Berzinskas
wberzinskas at nc.rr.com
Mon Mar 14 17:42:14 CET 2005
this is how my mssp registers are set..
the other hardware does work.. i've got an lcd hooked up
to it as well..
movlw b'01000000'
movwf SSPSTAT
movlw b'00100001'
movwf SSPCON1
----- Original Message -----
From: Jay Schwichtenberg
To: synth-diy at dropmix.xs4all.nl
Sent: Monday, March 14, 2005 10:40 AM
Subject: RE: [sdiy] SPI Digital Potentiomters and PIC 18.. not working.. help!
Not a lot of info here Bill.
Do you have any indication that any of the program that you put in the unit is working (ie does the hardware work)?
Did you program the MSSP and clocks correctly for SPI?
You have to get the MSSP port programmed correctly before anything will happen.
Good luck!
Jay S.
-----Original Message-----
From: owner-synth-diy at dropmix.xs4all.nl [mailto:owner-synth-diy at dropmix.xs4all.nl]On Behalf Of Bill Berzinskas
Sent: Monday, March 14, 2005 6:50 AM
To: synth-diy at dropmix.xs4all.nl
Subject: [sdiy] SPI Digital Potentiomters and PIC 18.. not working.. help!
I'm using a microhip spi digital potentiometer.. i'm sending data as follows
CS high > low
write command byte (00010001)
write data byte
cd low > high
and nothing is working.. what am i missing? i'm sending the data from a pic18f
please help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20050314/e5c288d7/attachment.htm>
More information about the Synth-diy
mailing list