shiftout and shiftin


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373

    Question shiftout and shiftin

    Morning,
    I am playing with a transceiver chip from Chipcon. It uses SPI and shifts out status info when a command is shifted in. Is there any way to read this using shiftout? I'm thinking that perhaps there is a dummy variable that can be polled after a shiftout operation.
    Yes, I know I can use hardware MSSP, or write my own routine, but I would like to be lazy and not have to use specific port pins. Any ideas?

    Thanks,
    Ron

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I think it's one of those to be test on a board. Can you give us exactly which Tranceiver you use?

    Maybe Shiftin may work... but in some case, you have to build your own... ARRRGH! Bah once it's done... it's a lifetime routine on wich you can add some specific device. Using Macros it's just a real pleasure.

    Well that's what i do now for my specific routine like LCD, GLCD and, and, and...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. 16f877A and shiftin shiftout
    By ghdsfier8 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd February 2008, 13:47
  2. Shiftin question
    By ronjodu in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th November 2007, 19:09
  3. large program oddity
    By lsteensl in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 16th April 2007, 06:28
  4. sample code for M25P32
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th January 2007, 02:37
  5. PIC18F458 Shiftin / Out
    By pberhin in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th May 2006, 20:36

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts