Hello.
Maybe you must first shiftout write command and after that shiftout value.
Regards,
Damir
Hello.
Maybe you must first shiftout write command and after that shiftout value.
Regards,
Damir
I thought I orginally tried that way and it didn't work however it does now so I can only assume I had something missed. Anyways though, what I want to do is to daisy chain three of these together. According to the data sheets when a command comes in a NOP is sent out the serial output line which loads the 2nd chip with all 0's. Now if I issue this command now and add a NOP after it should it not push it into the 2nd chip?
Last edited by CocaColaKid; - 31st August 2005 at 18:19.
I figured out the source to all my problems. I originally had the SPI lines on porte which didn't work so I moved them over to portb and then everything worked fine. The reason I had so my problems is because I forgot to sent porte to digital instead of analog, oops.
Bookmarks