Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

AN248

Title:
Interfacing MCP6S2X PGAs to PICmicro® Microcontroller
Name:
AN248
Date:
09/26/2005
Author:
Ezana Haile
Description:

The MCP6S21/2/6/8 family of one, two, six or eight channel Programmable Gain Amplifiers (PGA) communicate using a standard 3-wire Serial Peripheral Interface (SPI?) protocol. This application note shows how to program the six channel MCP6S26 PGA gains, channels and shutdown registers using the PIC16C505 microcontroller.

The PIC16C505 microcontroller does not have a hardware SPI module, therefore, a firmware SPI (Bit Bang) method is used to program the PGA. The MCP6S2X Evaluation Board was used to develop this application note firmware. For additional information, refer to the MCP6S2X Evaluation Board User?s Guide (DS51327), MCP6S21/2/6/8 PGA data sheet (DS21117) and PIC16C505 data sheet (DS40192).

Keywords:
SPI, PGA, pic
 
Application Notes & Source Code
 Last Updated
Size
 
  AN248
  09/26/2005
  265KB
  AN248 Source Code
  02/25/2005
  1KB
Silicon Products