PDA

View Full Version : "Serial Peripheral Interface"?



robertmark68
- 3rd October 2006, 20:33
I have been using PICBAsic to talk to I2C digipots.....

Can PBP talk to "Serial Peripheral Interface" devices?

I am still learning...so go easy on me.....

Robert

amindzo
- 3rd October 2006, 20:50
Hi,
yes it can do it.
you can use i2cread and i2cwrite instructions to read and write on i2c devices.

Darrel Taylor
- 3rd October 2006, 21:23
Yes,

But, SPI is either a 3 or 4-wire interface, that you would use SHIFTIN and SHIFTOUT with.

Or you can use the hardware "Master Sychronous Serial Port", if your chip has one.
<br>