BS2: shiftin instruction clock speed query
Archiver
Posts: 46,084
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.
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
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...