Shop OBEX P1 Docs P2 Docs Learn Events
BS2: shiftin instruction clock speed query — Parallax Forums

BS2: shiftin instruction clock speed query

ArchiverArchiver Posts: 46,084
edited 2002-07-11 20:32 in General Discussion
Hi,

I am trying to interface a PIC16C74B based device with the basic
stamp 2 using spi. I am not sure about the maximum clock at which i
can clock in data into basic stamp using the shiftin instruction. Can
anyone tell me the clock speed? also if its too fast for the stamp to
pick up data can u suggest ways of doing the same.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-07-11 20:32
    Sounds like you're expecting to provide clock from the PIC--SHIFTIN
    won't work that way. SHIFTIN will provide the clock, and you'll have
    to bit-bash data transmission from the PIC. The manual provides all
    the gory details of SHIFTIN's timing.


    Regards,

    Steve

    techshek wrote:

    > I am trying to interface a PIC16C74B based device with the basic
    > stamp 2 using spi. I am not sure about the maximum clock at which i
    > can clock in data into basic stamp using the shiftin instruction...
Sign In or Register to comment.