Hi! Anybody fmiliar with SPI Op-Amp MCP6S91
Lee Sadeli
Posts: 29
Hi,
Anyone familiar on how to use microchip SPI OpAmp· MCP6S91
using the Shiftin / shiftout command.
Thanks
Anyone familiar on how to use microchip SPI OpAmp· MCP6S91
using the Shiftin / shiftout command.
Thanks
Comments
SHIFTOUT dpin,sclk,msbfirst,[noparse][[/noparse]command\16]
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.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Thanks for your input. Will try and let you know the outcome.