SHIFTIN problem


Results 1 to 3 of 3

Thread: SHIFTIN problem

Threaded View

  1. #1
    Join Date
    Nov 2006
    Posts
    32

    Default SHIFTIN problem

    hi all. More rookie problems to deal with. I am using the SHIFTIN command to shift in 16 bits of data from a counter. My problem is with initiating the counter's shift register. The following link will lead you to the data sheet for the decoder/counter that I am using.

    http://www.genapta.com/WORD%20DOCS/GEN-2122-5.pdf

    On the 5th page under "Shift Register" you will read that in order to latch the data to the shift register I have to hold PLsr high for one rising edge of the shift register Clock, CLKsr. My problem with that is the SHIFTIN command is what generates the pulses for CLKsr, and I am forced to manually drive CLKsr high while PLsr is high in order to latch the data. As a result, I always miss the first bit. Not good. I need a way to latch the data as the SHIFTIN command begins. Does anyone know a trick I could use to do this? Thanks.
    Last edited by champion; - 26th January 2007 at 19:25. Reason: Forgot the link

Similar Threads

  1. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  2. Microcode Studio 18f2455 problem?????
    By volkan in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 21st May 2007, 21:04
  3. PIC18F458 Shiftin / Out
    By pberhin in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th May 2006, 20:36
  4. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59
  5. weird 12F629/675 problem
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th October 2004, 01:08

Members who have read this thread : 0

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