05-27-2005, 07:00 PM
Anyone familiar on how to use microchip SPI OpAmpĚ MCP6S91
using the Shiftin / shiftout command.
05-28-2005, 01:57 AM
I haven't used that particular part, but the interface as described in the data sheet looks quite easy for the Stamp.
The command word consists of two parts, and the data sheet describes the purpose of each bit. Bits 13, 14 and 15 are the actual command, mostly reserved for future expansion, bit 8 selects the register that will store bits 0 to 7 when the command is a "write". That is either the gain register or the channel select register. The SHIFTOUT command has to be framed by chip select.
05-28-2005, 01:17 PM
Thanks for your input. Will try and let you know the outcome.